Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Listing only goes to 500 records

Featured Replies

Hi, I'm doing a newFindAllCommand in a db with 5000 records.  I get no results unless I set my $myFind->setRange(0,500); , which only returns the first 500.  500 seems to be a cut-off point for some reason, Is this a thing?   Also, I want a varCount that doesn't refresh back to '1' when the next 500 records are displayed, i.e. the next record numbers should say 501, 502...

Thanks again!

Dear Randyinla,

I don't believe there is a preset limit (well, it defaults to 25 records, but you've set the range to obviate that) - but there certainly is a limit for how much data can be passed before there's a timeout.

You are better off paginating to only show say 50 records per page, and then use the skip etc to find the next / previous range.

http://www.databuzz.com.au/simple-pagination-with-the-filemaker-php-api/

I actually wrote a pretty nice pagination module, but the FWebSchool forum is dead, which is where my master copy was... Blah... See if I can dig up a version from an old website

  • 2 weeks later...
  • Author

I'd love to see your pagination version.

  • Author

I tried the pagination link of yours and It gave me errors, do you know if there's any bugs in it?  Any other links on pagination?  I'd love to see your module if you dug one up.

Thanks!

I'll see what I can find - it was a long time ago, as I spent a few years on straight FM  support so a lot of my web stuff isn't easily at hand...

I didn't check the databuzz code, but they're pretty decent programmers - might have a trawl through that as well...

Cheers


Webko

  • Author

Thanks for all your help Webko!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.