Hi,
I have a textbox on a form, control source is
"=DLookUp("[qry_ActionEmployee]![Name]","[qry_ActionEmployee]"," qry_ActionEmployee]![Payroll No]= [A_Employee_ID] ")".
When I run some VB code related to the form but not the textbox it returns a value of null? in the textbox.
Before the code is run the value is ok. I have tried using ".Requery" of the textbox in the code but has not worked.
Any help would be much appreciated
Gezza