G
Guest
I'm using ExecuteScalar with my SQL statement with an Order BY XXXXXX DESC to
get the last record. I wish there was a better way to retrieve it, like ADO
with movelast. Does anyone know of a better way?
Also, what if I just want the most recent 5 records, based on date field?
TOP won't yield me my desired results, will it?
Any ideas?
Thanx.
get the last record. I wish there was a better way to retrieve it, like ADO
with movelast. Does anyone know of a better way?
Also, what if I just want the most recent 5 records, based on date field?
TOP won't yield me my desired results, will it?
Any ideas?
Thanx.