Hi,
I'm looking at modifying an existing database with a form that when opened finds the first record with todays date (or should do).
The problem is that it always shows tomorrows date instead of today, I've tried changing >= to just = but then it just shows the first record.
Anyone any ideas, is it the format of the date?
Cheers,
Phil
I'm looking at modifying an existing database with a form that when opened finds the first record with todays date (or should do).
Code:
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.MoveLast
rs.MoveFirst
rs.FindFirst "[dates] >= CDate('" & Now & "')"
The problem is that it always shows tomorrows date instead of today, I've tried changing >= to just = but then it just shows the first record.
Anyone any ideas, is it the format of the date?
Cheers,
Phil