Forum Moderators: open
I have tried recordset.Movelast and it showed nothing
so i then tried .movelast then .moveprevious and that still showed nothing.
Only one that worked for me was a while loop going through them all, is this the only way to reach it?
Thanks
Try creating your recordset like this...
Set objRecordset = Server.CreateObject("ADODB.Recordset")
Set objRecordset.ActiveConnection = YourConnectionString
objRecordset.CursorLocation = 3 'adUseClient
objRecordset.CursorType = 2 'adOpenDynamic
objRecordset.CursorLocation = 3 'adUseClient
objRecordset.CursorType = 2 'adOpenDynamic
Do?
hard for me to understand if i dont understand the theory...i notice when some people open recordsets they use numbers as well after them, I dont get what that means either.
Ill add those lines in and see if they change anything
Thanks
So what does
objRecordset.CursorLocation = 3 'adUseClient
objRecordset.CursorType = 2 'adOpenDynamicDo?
Cursor Location [msdn.microsoft.com]
Cursor Type [msdn.microsoft.com]