G
Guest
Agent is a Long number
Set rs = CurrentDb.OpenRecordset("Select * From [Agent Maintenance] where
[Agent] =" & [Agent], dbOpenDynaset)
If I type a value in the Agent field it works fine. But, if I tab through
the field, without entering a value, i get the error.
any ideas why this is happening?
Set rs = CurrentDb.OpenRecordset("Select * From [Agent Maintenance] where
[Agent] =" & [Agent], dbOpenDynaset)
If I type a value in the Agent field it works fine. But, if I tab through
the field, without entering a value, i get the error.
any ideas why this is happening?