Skip 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.

Serial Number Reset Script

Featured Replies

This is beyond my basic scripting skills.

I want a field with a serial number in it to reset each time a different field is changed from the previous record.

More specifically, I have a field that contains a drawing number. I have a button that inserts the data from the previous record into this field. The drawing number might be the same for 80 records or just 2. Each time it is changed to a new drawing number I want the serial number field to reset to 1.

Any ideas?

Thanks!

  • Author

I'm still stuck on this. I guess my problem is that I don't know how to script the first part.

"If Field A has changed from the previous entry",

Set next serial value [DB::Field2;1]

Is there a good glossary of "script language" anywhere?

Thanks

Yes... FileMaker Help.

Or search the FileMaker Knowledge base for the script reference. It's a pdf with all script steps listed and explained. There is a similar document for functions too.

I printed them both and had them comb bound back-to-back, that's my working reference while developing.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.