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.

Featured Replies

  • Newbies

I would like to create a script that would allow me to make many duplicate records. I want to be able to select the number of duplicates. At the same time I want each duplicate record to have a file number that increases by 1 with each duplicate.

1. Make a global number field, gCount

2. Make a number field, FileNumber

3. Make a script:

Loop

. Duplicate Record

. Set Field [FileNumber, FileNumber +1]

. Set Field [gCount, gCount - 1]

. Exit Loop If [gCount = 0]

End Loop

Just fill in your starting FileNumber, and the number of duplicates you want in the gCount field, and away you go.

  • Author
  • Newbies

When I tried to create the calculations:

Set Field [FileNumber, FileNumber +1]

Set Field [gCount, gCount - 1]

I get an error message that says, "There are too many separators in this functions."

What am I doing wrong?

These aren't calculations, they are script steps. This is how they look (more or less) when listed in scriptmaker.

Set Field [FileNumber, FileNumber +1]

In the square brackets, the first "FileNumber" refers to the specified field, the "FileNumber +1" refers to the calculation.

  • Author
  • Newbies

Thanks! It's working perfectly now.

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.