ansentry
Access amateur
- Local time
- Today, 18:55
- Joined
- Jun 1, 2003
- Messages
- 995
I am using Access 97 for this database (I also have Access 2000)
I have attached a small database sample that I am having a problem with.
When you open the database you will see a form called Vehicles with a subform attached.
The purpose of the database is for vehicle use, the vehicle has an outdate driver and indate.
What I want to happen is a message box to appear with a message etc (this I can do) if the user tries to book out a vehicle that does not have a datein in the previous record.
What I want to know how to do is code it so that it checks the "previous" indate to see if it is empty or null.
In other words the vehicle cannot be booked out if it has not returned.
Thank you in advance.
I have attached a small database sample that I am having a problem with.
When you open the database you will see a form called Vehicles with a subform attached.
The purpose of the database is for vehicle use, the vehicle has an outdate driver and indate.
What I want to happen is a message box to appear with a message etc (this I can do) if the user tries to book out a vehicle that does not have a datein in the previous record.
What I want to know how to do is code it so that it checks the "previous" indate to see if it is empty or null.
In other words the vehicle cannot be booked out if it has not returned.
Thank you in advance.