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.

Displaying a dynamic number of records in a portal

Featured Replies

I am having trouble finding an elegant solution to this problem.

I have a portal which displays 50 records on a layout. However the found set can contain from 1 to 500+ records. What I am not sure how to do is allow a button to be created if the count of records is greater than 50, so the user knows that there are more records found and can click on the button to show those records in the portal and so on for the next 50 etc. This is exactly like the forums here, where x number of records are shown on a page with buttons at the bottom to go to page 2, 3, 4 etc.

I can achieve this with multiple layouts and scripts, but I need one of each for each set of 50 records and I am sure there must be a more elegant and tidy way of doing it. I thought about the button in a portal technique but this gets a bit messy. Any advice appreciated.

I'm sure there is some reason why you can't use a scroll bar but I'll assume you need an alternative solution. Here is a tip file that demonstrates how to moce portal rows without multiple layouts.

http://www.filemakerpros.com/PORTMOVE.zip

To make a button appear and disappear when you could use the following technique.

http://www.filemakerpros.com/Visibility_Redux.zip

Use the Count function as the formula for the relationship.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.