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.

Calculation to determine the last record

Featured Replies

Hello,

I would like to create a field that will 'know' if it is the last record. I have been posting with regard to using a database to generate HTML output for this application I need to know if a record is the last one so I cen generate the appropriate closing HTML tag.

Thanks,

Robert

FileMaker Version: 7

Platform: Mac OS X Panther

Create a calculation field equal to Status(CurrentRecordNumber) = Status(CurrentFoundCount). This will return a 1 if it's the last record, otherwise zero.

Oh, and make sure it is unstored, otherwise the status functions will not update.

  • Author

Ahh thank you. I actually found a way to do it but it was more complicated than it had to be. I like this way better.

I was using a Summary field called Record_Number that took a running count of field Item_Name. Then I created a Calculation field Record_Number_Calc that was equal to Record_Number so as to make it available for use in another Summary field called Last_Record and defined as Maximum of Record_Number_Calc.

At least I can find back doors for doing things (most of the time, (lolol)

Robert

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.