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.

defining _ID's and Numbers ?

Featured Replies

From my first use of FM, I always defined an autoentered serial n

It coud be because your using number fields somewhere along the way. Or some number-only function that strips text, like Max() or Sum()....

  • Author

Yes Eric I do now use Max and others.

That is why I ask if there is a rule to use numbers or text fields. But if I use a text field, how would the invoices be sorted...

Is it the common rule to add text into the serial N

Instead of using the formula:

Max(selfjoin::SerialNumber)+1

... you can generate new serial numbers with:

"VEND"&(Max(selfjoin::SerialNumber)+1)

to make sure that the prefix remains.

  • Author

There was a solution obviously. Thank you muchy.

Nope ! Doesn't work for me frown.gif

I might be missing something, but it seems to me that this would cause a sorting problem (as you expressed concern over), when you go from 9999 to 10000 for example. To avoid this, I'd start the serial number at a higher number like 1000000 (assuming you never expect to have more than 9 million 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.