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.

Download only last record in table

Featured Replies

I am building a solution in which users can edit club information. For security purposes, the data is first copied into a holding table by a FileMaker script triggered by a newPerformScript command. The record just created is the last record, so that is the only one I want to download to the user's browser. I had hoped that making the script create the correct found set would do the job. It didn't.

There is not necessarily anything unique about the data in the desired record, so I can't figure out a way to create a php find request to get just that record.

--Doug

One of the things that I generally do "just because" is add a field to every table I created called UID. This is a Number field, Auto-Enter Serial, Unique. This way, whenever a record is created, there is always something unique about it.

If you use this, and you can capture the ID of the record you create, you can easily do a find for this record to make it the only one in your found set.

  • Author

Thanks for the hint, but I don't understand how the php script learns the uid to perform the search.

--Doug

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.