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.

Reset Auto-Enter next value

Featured Replies

I have a lot of connected scripts that import an old system data schema into a new and "improved" schema. My problem is that every time I rerun the scripts, I have to go and reset the "next value" field back to the beginning. Is there a way via scripting that I can do this instead of having to resort to going to every file?

There is a "Set Next Serial Value" script step, in the Fields section. But one usually would be setting it to the last serial number in the imported data + 1, not "back to the beginning". Though it's up to you. There is also a GetNextSerialValue() function, in the Design functions section.

if you create a summary field = max( keyID) then set the next serial to the summary field+1

  • Author

Thanks for the responses. I used the set next serial and it does exactly what I wanted. I want to reset to say "EMP000001" because I'm testing and debugging the import scripts, so going to the next highest isn't as clean as I want.

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.