D
Dan
Does anyone know if you can use a Variable in the place of a field name. I
used the following code with no luck. The variable does have the correct
value according to the watch I had on it, but it does not place anything
within the textbox.
Dim FldNm, Box
Dim x As Integer
FldNm = "SL3Item"
Box = "Me!SL3ItemEdit"
x = 1
Do While x <= 3
'Box& x' = DLookup("['FldNm&x']", "[SL3]", "[ID]='" &
Me!WpnItemEdit1.Column(2) & "'")
x = x + 1
Loop
Thanks for any and all help,
used the following code with no luck. The variable does have the correct
value according to the watch I had on it, but it does not place anything
within the textbox.
Dim FldNm, Box
Dim x As Integer
FldNm = "SL3Item"
Box = "Me!SL3ItemEdit"
x = 1
Do While x <= 3
'Box& x' = DLookup("['FldNm&x']", "[SL3]", "[ID]='" &
Me!WpnItemEdit1.Column(2) & "'")
x = x + 1
Loop
Thanks for any and all help,