M
Maarkr
My db is sorted by date desc, but the db is getting bigger and the date range
is increasing from 2005-2011, so when the form (single form) is opened, I get
records from 2011, and have to scroll thru many records to view some recent
records. I can code the form to find 'today', but there may be a couple of
weeks between some records, so the find record will fail looking for 'today'
in many cases. So I was curious if anyone used a 'find recordset' sub to
open the form to a date that is CLOSE to today (without looping thru date-1,
date-2 etc).
I thought finding 'this month', but you may still have to scroll thru many
records to get to the end of the month. I may add a couple of dropdowns to
jump quickly to a specific mo & yr. I just want the form to open to a date
nearest to today.
is increasing from 2005-2011, so when the form (single form) is opened, I get
records from 2011, and have to scroll thru many records to view some recent
records. I can code the form to find 'today', but there may be a couple of
weeks between some records, so the find record will fail looking for 'today'
in many cases. So I was curious if anyone used a 'find recordset' sub to
open the form to a date that is CLOSE to today (without looping thru date-1,
date-2 etc).
I thought finding 'this month', but you may still have to scroll thru many
records to get to the end of the month. I may add a couple of dropdowns to
jump quickly to a specific mo & yr. I just want the form to open to a date
nearest to today.