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.

auto number script for existing records?

Featured Replies

  • Newbies

I need to add an auto number for each existing record in an existing database, (for some reason it doesn't have any identifying ID #) to deal with exporting. I need some kind of script to add a unique number to each existing record.

I know how to do this for all new records, but this doesn't help me. Do you know a simple script (perhaps with a loop) to do this?

Thanks.

Im afraid that it's way easier than you think.

If you have a field, called index for instance, simply click in it, select "Replace" from the Mode menu and select the serial number option. (This works on the found set so be sure to have found all records first)

  • Author
  • Newbies

Thanks,

This may be a really stupid question but where do I find the mode menu?

In FMP 5 Replace is on the Records menu when you're in browse mode.

Chuck

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.