Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6408 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

  • 2 months later...
Posted

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.

Posted

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

This topic is 6408 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.