Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Finding missing (sequential) Numbers

Tracey Webb

Recommended Posts

I have a file that has memberships which are numbered sequentially.


As they expire the membership numbers are deleted


Is there any way to find the missing numbers.

Link to comment
Share on other sites



If this is going to be an on going concern, an option you may want to consider is a seperate file that holds deleted membership numbers.


This file would just need a couple of fields, the main one being membership number


When you delete a membership (which must be called from a button, not the delete menu under records) it runs a script that creates a new record in the new database and transfers the membership number.


Now, as to finding missing membership numbers.


hmmmm, well, you could write a script that loops through the database, setting a counter field ( global, number) and as it goes from record to record, if the number of that record does not match the counter, transfer the missing number(s) to a holding field. Then, when the counter matches the number on that record continue onwards until you reach the end.


Alternatively, sort the list by the number field and view in table mode. Then just scroll through and write them down.



Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use