Kevin Cheesman Posted August 24, 2009 Posted August 24, 2009 I'm using the Auto-enter serial number for most of my tables, but if I want to abandon an entry, how do I reset the number in code?
JesseSFR Posted August 24, 2009 Posted August 24, 2009 You can change your serial number to only increment on commit and that would get your id "back" because it's never assigned one in the first place. Otherwise you can use the set next serial value script step to set the fields serial number to something different but I wouldn't recommend that approach. What is your goal?
Vaughan Posted August 25, 2009 Posted August 25, 2009 If the increment on commit is selected, it's possible to get serial numbers out of order. Two users create new records; the second new record gets committed first so it gets the earlier serial number.
Recommended Posts
This topic is 5570 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 accountSign in
Already have an account? Sign in here.
Sign In Now