can anyone explain me please the best way to make query in openedge progress (not using sql) to make pagination like. My idea is to make query with offset and fetch like normally I do when make a query in sql style... Like select * from table OFFSET 50 ROWS FETCH NEXT 10 Rows. Can anyone help me, please? Thanks in advance. CC
- I have not found anything to help me in Google searching so far...
There is no built in pagination in the ABL OPEN QUERY or FOR EACH statements. If you need pagination you need to iterate the query and handle it programmatically.
The ProDataset has pagination built in - I have posted a sample yesterday at https://community.progress.com/s/question/0D54Q0000A6Mg4QSQS/is-there-a-way-to-do-paged-loading-in-abl-