S
Stephen
I have a table as detailed below. I am wanting the user to to enter a date,
time and appoinment duration for a Sales Rep. Then once they have done this
I want the system to look up and make sure that this sales rep doesn't have
an appoinment already in this time period.
Table Details:
Table Name: Quotation
Quote_ID Appt_Date Appt_Time Appt_Duration Sales_Rep
(Mins)
123 15/04/04 09:30 90
Chris
124 15/04/04 08:30 45
Steve
125 15/04/04 10:00 30
Chris
126 15/04/04 08:30 45
Dave
127 15/04/04 09:00 45
Steve
Then I would like to say enter the following appt, which would not be
allowed as it is between the appt_time start and end times. This is done
with the DateAdd feature of Appt_Time and Appt_Duration in mins.
If anyone can help with this it would be appreciated.
TIA
Stephen
time and appoinment duration for a Sales Rep. Then once they have done this
I want the system to look up and make sure that this sales rep doesn't have
an appoinment already in this time period.
Table Details:
Table Name: Quotation
Quote_ID Appt_Date Appt_Time Appt_Duration Sales_Rep
(Mins)
123 15/04/04 09:30 90
Chris
124 15/04/04 08:30 45
Steve
125 15/04/04 10:00 30
Chris
126 15/04/04 08:30 45
Dave
127 15/04/04 09:00 45
Steve
Then I would like to say enter the following appt, which would not be
allowed as it is between the appt_time start and end times. This is done
with the DateAdd feature of Appt_Time and Appt_Duration in mins.
If anyone can help with this it would be appreciated.
TIA
Stephen