G
Guest
I have a table named "tblJobManagerRevisions" which looks like this
Revision Date
1.1.0 1/3/2006
1.0.5 1/2/2006
1.0.0 23/06/2005
I need to Dlookup the most recent entry, which would be by date. Im
currently using
CurrentRevision = DLookup("[Revision]", "tblDatabaseInformation") which
works fine but i need to guarentee the dlookup function will return the
latest row.
Is this the best way to do this? the date field is sorted by accending or
decending, cant remember but it works. I dont know if it would be better to
create a qry so that it returns only 1 row of data which is the most recent.
Any help would be appreciated
Revision Date
1.1.0 1/3/2006
1.0.5 1/2/2006
1.0.0 23/06/2005
I need to Dlookup the most recent entry, which would be by date. Im
currently using
CurrentRevision = DLookup("[Revision]", "tblDatabaseInformation") which
works fine but i need to guarentee the dlookup function will return the
latest row.
Is this the best way to do this? the date field is sorted by accending or
decending, cant remember but it works. I dont know if it would be better to
create a qry so that it returns only 1 row of data which is the most recent.
Any help would be appreciated