D
David
This is an example of what I am trying to do
Sub Client_LostFocus()
Dim formname As Variant
formname = Fuel_Ticket
MsgBox Forms(the).Controls("Client")
End Sub
I cannot seem to figure out what should go in the place of Variant here.
It doesn't work if formname is a string. What should it be?
Thanks
David
Sub Client_LostFocus()
Dim formname As Variant
formname = Fuel_Ticket
MsgBox Forms(the).Controls("Client")
End Sub
I cannot seem to figure out what should go in the place of Variant here.
It doesn't work if formname is a string. What should it be?
Thanks
David