Gasman
Enthusiastic Amateur
- Local time
- Today, 16:16
- Joined
- Sep 21, 2011
- Messages
- 15,707
Firstly you do not put it in as an expresssion in AfterUpdate, you put it in as an Event Procedure
The reason the code fails is Access is telling the truth (it rarely lies).
Your control is called Bus# :-( so Access cannot find Bus?
Your uploaded DB does not work as half of the data is missing.
Put the code from #39 into the AfterUpdate EVENT of the bus control. Rename the control to be bus.
Then try it.
The reason the code fails is Access is telling the truth (it rarely lies).
Your control is called Bus# :-( so Access cannot find Bus?
Your uploaded DB does not work as half of the data is missing.
Put the code from #39 into the AfterUpdate EVENT of the bus control. Rename the control to be bus.
Then try it.
Last edited: