J
Jean-Paul De Winter
Hi
following code runs perfectly
X = 18
AANTAL = 17 + aantalvangetuigther
If aantalvangetuigther > 11 Then AANTAL = AANTAL + 20
For X = 18 To AANTAL Step 1
If X = 28 Then X = 48
Y = X + 10
z = X + 20
Forms!rekening(X) = tb3!DATUM
Forms!rekening(Y) = tb3!CODE
Forms!rekening(z) = tb3!GETUIGTHER
tb3.MoveNext
Next
tb3!datum is a date that looks like: 01/01/2006
I want is to be in following format: dd/mm/yy so I wrote
Forms!rekening(X) = Format(tb3!DATUM, "dd/mm/yy")
this doesn't seem to work...
Any idea?
Thanks
following code runs perfectly
X = 18
AANTAL = 17 + aantalvangetuigther
If aantalvangetuigther > 11 Then AANTAL = AANTAL + 20
For X = 18 To AANTAL Step 1
If X = 28 Then X = 48
Y = X + 10
z = X + 20
Forms!rekening(X) = tb3!DATUM
Forms!rekening(Y) = tb3!CODE
Forms!rekening(z) = tb3!GETUIGTHER
tb3.MoveNext
Next
tb3!datum is a date that looks like: 01/01/2006
I want is to be in following format: dd/mm/yy so I wrote
Forms!rekening(X) = Format(tb3!DATUM, "dd/mm/yy")
this doesn't seem to work...
Any idea?
Thanks