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.

Finding the last record in a recordset.

Featured Replies

  • Newbies

Greetings,

I was just wondering if there is a "Find Last Record" script in Filemaker 7? I need to be able to copy information from the last record in one table to a new record in another table?

Thank you so much!

[color:"red"] A.

Use status(CurrentRecordCount) or /(foundcount), depending on what you want to load, to set a global in the file in question. Then, you can access that number in a script and, within scriptmaker, you can use the 'Go to Record/Request/Page' command to go to that record by number, or field value.

How about Go to Record [ Last ]? Be on a layout for that table.

How are you "setting" the data into the other table.

That'd work! grin.gif

If you used my , er, 'um "approach," you could at least maintain a variable that would be accessible via a relationship.

If you want this to work via web browser I used a calculated field.

I also could not get count(field) to work and update.

lastrec.zip

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.