Access_Help
Registered User.
- Local time
- Yesterday, 20:26
- Joined
- Feb 12, 2005
- Messages
- 136
I have a calculated field in the form footer which adds up the number of boxes that have been ticked for the received field
=Sum(IIf([Recieved]=Yes,1,0))
If the ticks equal to 3 then I want to update the status field in another table to "Active".
I am trying this VBA code but it won't work.
I'm not good with VBA so hope someone can help!
Thanks
=Sum(IIf([Recieved]=Yes,1,0))
If the ticks equal to 3 then I want to update the status field in another table to "Active".
I am trying this VBA code but it won't work.
Code:
If Text9 = "3" And custNumber = tblCustomers.custNumber Then
tblCustomers.Status = "Active"
I'm not good with VBA so hope someone can help!
Thanks