G
Guest
i want to be able to ask is it a monday and is it before 12 noon i am
currently using the following code to tell the user how many patients they
can book in for each day
If Weekday(Appointmentdate, vbMonday) = vbMonday Then
intMaxPatients = DLookup("[Monday]", "[days]")
MsgBox "You can only take " & (intMaxPatients) & " patients"
i was hoping to add to this to be able to say X ammount of patients in the
morning and Y ammount of patients in the afternoon.
is it possible to do this? any help would be greatly recieved
yours david
currently using the following code to tell the user how many patients they
can book in for each day
If Weekday(Appointmentdate, vbMonday) = vbMonday Then
intMaxPatients = DLookup("[Monday]", "[days]")
MsgBox "You can only take " & (intMaxPatients) & " patients"
i was hoping to add to this to be able to say X ammount of patients in the
morning and Y ammount of patients in the afternoon.
is it possible to do this? any help would be greatly recieved
yours david