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

Not sure if this is the right area to post this.

I need to be able to create a number of records based on 2 numbers I enter. This will be something like : 0123-0001 to 0123-0035. I would like a new record for each number i.e., 0001, 0002, 0003 etc.

How would I do this, or are there any examples anywhere?

Thanks in advance for your help.

 

 

 

 

Not sure what exactly your difficulty is. Assuming you have entered the start and end values into global fields, you could have your script do:

Loop
  Set Variable [ $value; Value:SerialIncrement ( YourTable::gStartValue ; $i ) ]
  New Record/Request
  Set Field [ YourTable::Value; $value ]
  Exit Loop If [ $value = YourTable::gEndValue ]
  Set Variable [ $i; Value:$i + 1 ]
End Loop
Commit Records/Requests 

Note that this does not test that the end value is a serial increment of the start value; if it is not, the loop will continue forever.
Nor does it test if the values already exist as records.

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.