D
DJ
On my form, I'm trying to locate at the first record record > or = to
today's date.
Testing at today's date 8th June (08/06/08 UK time), record keeps locating
at one with date = 6th August (06/08/08 UK time). I guess this must be where
problem lies. Any idea how to get around this? code follows:
Dim theDate As Date
theDate = Date
Dim rst As DAO.Recordset
Set rst = Me.RecordsetClone
rst.FindFirst "(fulldate >= #" & theDate & "#)"
Me.Bookmark = rst.Bookmark
today's date.
Testing at today's date 8th June (08/06/08 UK time), record keeps locating
at one with date = 6th August (06/08/08 UK time). I guess this must be where
problem lies. Any idea how to get around this? code follows:
Dim theDate As Date
theDate = Date
Dim rst As DAO.Recordset
Set rst = Me.RecordsetClone
rst.FindFirst "(fulldate >= #" & theDate & "#)"
Me.Bookmark = rst.Bookmark