G
Guest
The record source for my Appointments Form is a query that sorts records by
AppointmentDate. When the form opens, I want the current record to be the
first record for today or the next record after today (if there are no
appointments for today).
I've tried VBA and a macro. I can get it to work if there is an appointment
for today with this macro:
GoToControl ApptDate
FindRecord =Date()
However, if there is no appointment today, the form just opens with the
earliest record in the database. I can't figure out how to position at the
first record after today.
AppointmentDate. When the form opens, I want the current record to be the
first record for today or the next record after today (if there are no
appointments for today).
I've tried VBA and a macro. I can get it to work if there is an appointment
for today with this macro:
GoToControl ApptDate
FindRecord =Date()
However, if there is no appointment today, the form just opens with the
earliest record in the database. I can't figure out how to position at the
first record after today.