AndyCompanyZ
Registered User.
- Local time
- Today, 20:20
- Joined
- Mar 24, 2011
- Messages
- 223
Hi all
I have a form allows a user to an select an event and then schedule trainees onto that event. I need a way of checking if the trainee hasn't already been scheduled onto an event on the same date. I want to do this in VBA so that I can bring a messagebox up alerting the user to this fact. I can't seem to find anything about comparing 2 specific dates. I'm wodering if a query would work and then a DoCmd to run it but I already have a number of functions already running from the same routine so it could get messy. can anyone point me in the direction so I can try and work it out myself.
Thanks
I have a form allows a user to an select an event and then schedule trainees onto that event. I need a way of checking if the trainee hasn't already been scheduled onto an event on the same date. I want to do this in VBA so that I can bring a messagebox up alerting the user to this fact. I can't seem to find anything about comparing 2 specific dates. I'm wodering if a query would work and then a DoCmd to run it but I already have a number of functions already running from the same routine so it could get messy. can anyone point me in the direction so I can try and work it out myself.
Thanks