Jump to content

reset serial field


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

Recommended Posts

The following script will do it:

code:


# Resets SerialNoField Serial numbers to 1

Show all records

New Record/Request

Omit Record

Show Omitted

# go to a layout that has the SerialNoField on it (with field entry enabled)

Go to Layout [serNoWorkingLayout]

Replace [serialNoField, Replace data: Serial numbers,

Custom Values, Initial Serial number value:0, Increment Value:1,

Update entry options][no dialog]

Delete Record/Request

Show all records

Go to Layout [Original Layout]


Warning, if you have other serial number fields in the same file, they will skip a number every time you run this script. You need a slightly more devious script in that case.

[ April 19, 2001: Message edited by: BobWeaver ]

Link to comment
Share on other sites

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