Skip 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.

Lasso and FMP's internal record id's

Featured Replies

We're using lasso to create records in an FMP 4.1 database from our website. When a website user (customer) places an order on our website, our lasso code creates a new order record in our database. The problem we're having is that periodically (almost randomly) the FMP database starts using rediculously high record id's when it creates new records. I'm referring to FMP's internally stored record ids. For example, the database's last record id might be 20,253. Then someone places an order on the website and the next record id FMP generates is like 14,299,382!! Why is ity doing this? Is this a lasso bug?

That is from FM. The intarnal are like that. You can use yor own series of numbers with autoenter

as above..........use the autoenter serial no and start from whatever you want. RecordID must not be used as a way to reference records permanently. If you were to close the database restart FMPro open the database again you may find the ID's have changed! although no record will have the same one (thats why it's required for updating, deleting etc..) it can change.

Use a "key" indexed field with an autoenter serial number

  • Author

Thank you. That's always what I've wanted to do but for some reason our web developer has been under some illusion that we have to use FM's internally stored record id in order for the lasso driven shopping cart on our website to work. We're discussing it now. I think he just had some bad information.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.