MrMcFestoe
Technical User
Need help with VB, i have a unbound field on my main form and have only just found out that its not updating my table. Now i need to change it to a bound box and have tried to put the following in as the control source
=DMax("[Date of Visit]","[Service History]","ID = " & [Forms]![Customers]![ID] & " and [Reason For Visit] = 'Service'"
This works for a unbound box but not for a bound box, i think it needs to be changed in to VB but iam struggling, any ideas.
thanks
=DMax("[Date of Visit]","[Service History]","ID = " & [Forms]![Customers]![ID] & " and [Reason For Visit] = 'Service'"
This works for a unbound box but not for a bound box, i think it needs to be changed in to VB but iam struggling, any ideas.
thanks