May 6, 200718 yr Hi there I can limit the amount of records displayed by group size ="10 (for only displaying 10 records at a time) but how then do I display the next group of records ? I would need a button that does something like "Display next set of 10 records from previous search query" Anyone know of how such a button would work ? Glorifindal
July 17, 200718 yr I would just return all of the results and do a for loop to display them and limit it to 10 iterations. the returned results from FX.php have a pointer called NextRecord or something that allows you to just loop through each record and display it, then when you want the next 10, just pickup where you left off. This could also be done with indexing because the results are just a big associative array.
July 17, 200718 yr just remembered, there is also the ->FMSkipRecords() attribute if you want to run another whole query you can just have the php script keep track of how many records you have skipped (ie what page you're on) and skip that many records
Create an account or sign in to comment