Jump to content

Serial Number Resets Itself?


This topic is 8563 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have a related file that is supposed to give each new record a serial number, incremented by 1 from the previous record, whenever the record is created. I discovered that some records were being overwritten when new records were created. When I checked my field definition for the serial number I found the the serial number seemed to revert to a previous number. For examlpe, instead of reading "1200" as the next number, it read "680". This caused records to share the same serial number. My solution was to Check off the "prevent user modification" My question: Is there a bug in filemaker5 that may allow a serialized number to revert back to a previous number? I used this solution with FM4 and never had this problem.

Thanks

Link to comment
Share on other sites

Describe in detail how the serial number is being generated.

*All* of my serial number fields have "prevent modification od value" checked, no exceptions.

Link to comment
Share on other sites

You don't have to wonder any more, now you know how important it is. ;-)

But seriously, what could have been changing the serial numbers? Users... a script... ?

I've found a common source of errors like this (and I've done it myself) is performing a find, typing the number into the field and clicking on the find button... only to realise that I'm still in browse mode and that I've just typed over some important information in the current record.

The "Prohibit modification of value" option prevents these errors from happening. And in a relational database the integrity of the match fields is *really* important. As you've discovered.

[This message has been edited by Vaughan (edited December 13, 2000).]

Link to comment
Share on other sites

This topic is 8563 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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