C
Craig Armitage
Hi,
I have 2 tables.. one called procedures and one called appointments.
The appointments has the following fields
AppDate
AppStartTime (Declared as date/time with a short time format)
AppEndTime (Declared as date/time with a short time format)
AppDuration (Declared as date/time with a short time format)
AppNotes
and the Procedures table has..
PrcName
PrcDuration (same as above)
I also have a Form for Appointments with a dropdown combo box that lets me
choose a pre-defined procedure from the list.
What i would like is for the AppDuration to be automatically populated when
I choose a procedure from the combo box. And also for it to calculate the
EndTime (using Starttime + Duration) in the Endtime Field.
I havent a clue how i would do this and would love some help
Thanks!
I have 2 tables.. one called procedures and one called appointments.
The appointments has the following fields
AppDate
AppStartTime (Declared as date/time with a short time format)
AppEndTime (Declared as date/time with a short time format)
AppDuration (Declared as date/time with a short time format)
AppNotes
and the Procedures table has..
PrcName
PrcDuration (same as above)
I also have a Form for Appointments with a dropdown combo box that lets me
choose a pre-defined procedure from the list.
What i would like is for the AppDuration to be automatically populated when
I choose a procedure from the combo box. And also for it to calculate the
EndTime (using Starttime + Duration) in the Endtime Field.
I havent a clue how i would do this and would love some help
Thanks!