limit and offset are not available in x++ when querying AX.
In my opinion you have 2 options to acheive the same goal.
Order your result set by recId, store the recId, and the use where recId > yourRecId for your offset. You would also need to count the records manually using something like while select.
Use x++ to query the SQL database directly, in which case you should be able to use any SQL supported by the server