If it must in a recordset object use GetRows and fabricate your own recordset
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?' Essex Steam UK for steam enthusiasts
Do a search on this forum for 'fabricated recordset' as this has been discussed a number of times. You will find:
thread222-726943
thread222-556040
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?' Essex Steam UK for steam enthusiasts
Would something like this help you out. It is not as fast as get rows but ............
lngRange = 11
lngEndRecord = 30
strSQL = "SELECT Top " & lngRange & " RecordID FROM Test WHERE RecordID IN (SELECT Top " & lngEndRecord & " RecordID FROM Test ORDER BY RecordID ASC) ORDER BY RecordID DESC"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.