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

This is surely possible...

We have a contacts database with each company having a company id which is a serial number.

Obviously when a record is deleted, there is a gap in the sequence of serial numbers like 0098, 0099, 0100, [deleted record], 0102, 0103... etc

Is there a way to return a list of the serial numbers that aren't present?

This topic has been discussed in the past many times (a search for "Serial", "Recycle Serial" or "Recycle Numbers", etc. should provide some heft reading). In short there are dangers in doing this and it should be avoided. After all, they are only numbers. However, to reuse one could come back to haut you in things like relationships.

HTH

Lee

smile.gif

  • Author

I guess it could cause problems, but the database in question has no relationships.

I think I've found a way to do this by looping through all the records so I'll give that a go first.

Thanks

The best bet is to prevent users from really deleting the records; instead, mark the record for recycling. The New Record process should first search for records to be recycled and return one of these, and only make a new record if no recycled records are found.

  • Author

Good idea!

Yeah that's what I'd like to do, so I'm going to get a list of the ids that aren't used, then create blank records for them and just recycle them as you say.

Thanks for your help.

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.