I have a form and a datagrid, in this form I am using a timer to do a search in mysql that fills the datasouce of the datagrid, so far everything is right. Now I need to limit the amount of search. For example:
Select <campos> from tabela limit 0,5
In this sql code, the result of the table will be zero by advancing 5 positions, now I need a loop that changes start to next, ie LIMIT 6,5 AFTER LIMIT 10,5 so up to 50 records