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.

Sequential Number generator

Featured Replies

I need help with creating a calculation that can number 100 created records from 1-100 sequentially without having to go into define fields and set the first number to 1 before creating them.

Thanks

JG

If you create a self-join relationship with the database, then

Count(self_relationship::databasefieldname)

And assign your serial number to that, it would work but there are some pitfalls like what if a record in the middle is deleted. You may want to use something like

Max(self_relationship::databasefieldname) +1

Create a one record database. Add a number field: "Record No".

From your database control the creation of records with passwords, and via a scripted button. Then every time you create a new record. Set the field in this file via a relationship. To itself plus one. Then set the field in the local file to the new number. With a little work this system works fine even in multiuser environments. You need to add some additional scripts steps to prevent duplicates but it is possible.

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.