I have a form (frmMain) with a continuous subform (frmReservations) that contains reservations with dates (CheckInDate) both past and future. FrmReservations (the subform) is sorted by date (which is needed), but when it is loaded, it always selectec and displays the reservation with the earliest date.
What can I do so that the record selected in the continuous subform is the one with a date closest to today's date (Date())?
I do not mean to hide, suppress or change the order of the records as I need to be able to view them all if needed; I only to have the record closest to today's date selected and displayed.
Any ideas?
mafhobb
What can I do so that the record selected in the continuous subform is the one with a date closest to today's date (Date())?
I do not mean to hide, suppress or change the order of the records as I need to be able to view them all if needed; I only to have the record closest to today's date selected and displayed.
Any ideas?
mafhobb