Hi all,
Bit stuck with this one.
I have a table called appointments with the following fields
AppDate, AppTime, AppComments and these are also on my form called frmAppointments.
What I am trying to do is check how much time there is between the appointment that is currently open on my form and the next due appointment for that day. If there is no next due appointment then I'm trying to work out the difference in time between my currently selected appointment and the time 17:30:00.
Have tried the DateDiff function and have gotten it to work, however when there are no more scheduled appointments for that day I get completely lost.
Any help is greatly appreciated.
Thanks
Taff.
Bit stuck with this one.
I have a table called appointments with the following fields
AppDate, AppTime, AppComments and these are also on my form called frmAppointments.
What I am trying to do is check how much time there is between the appointment that is currently open on my form and the next due appointment for that day. If there is no next due appointment then I'm trying to work out the difference in time between my currently selected appointment and the time 17:30:00.
Have tried the DateDiff function and have gotten it to work, however when there are no more scheduled appointments for that day I get completely lost.
Any help is greatly appreciated.
Thanks
Taff.