Hi all,
Just wondering how i programmatically can scroll to the last row ( so not the first 24) but the last row , as if i would keep the pagedown mouse pressed down , but then in one shortcut.
Not sure if i made any sense :)
I must stay in query mode / retrieve as needed , but i need a shortcut for our users to jump to the last record...
TIA
John
tried it already , but dc.rowcount() is not giving me the last row because in query mode/ retrieve as needed only the first 24 or 40 records are loaded. i only can press the pagedown button which loads each time the next additional 24/40 records ... But i need a shortcut to jump to the last record...
tia
John
John
You're in a bit of a Catch-22 situation ...
1) You must get out of Query Mode in order to generate the appropriate Where clause.
2) Then you have to complete the Retrieve() command next
3) Then you need to set the DWO so that it retrieves the entire Result Set to get the last row.
DC.Modify ( "DataWindow.Retrieve.AsNeeded=No" )
Regards ... Chris