Jump to content

Re-serializing - after deletion.


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

Recommended Posts

Hi,

In my serialized database, I have created a delete script that will delete a record only if it is the last record in the database, using Status(CurrentRecordCount). That is all fine and dandy.

My problem crops up when I add a new record after deleting the last one. The serial field in new record is now not continuous. i.e. there is a gap for the deleted record.

eg:

I have 48 records. I now add a new record (#49). I then decide that I don't want to add a new record and delete it. So, I still have 48 records. At a later stage I add a new record. But now the number of the new record is #50 while I still have only 49 records.

I tried to incorporate the replace field function, with update serial option in my delete script, but it doesn't seem to work.

Is there any other way to do this??

Many Thanks

Indy

Link to comment
Share on other sites

This topic is 7821 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.