Jump to content
Server Maintenance This Week. ×

Change a field with a serial number


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

Recommended Posts

Hello,

Is it possible to create a script to change a field in "define fields" with a serial number.

In ScriptMaker we can use the step "Open Define fields", but is it also possible to open a field in Define fields?

What I want is the posibility to reset the serial number.

Like to hear some ideas on this matter.

Greetings,

Jukkie

Edited by Guest
Link to comment
Share on other sites

Well I've changed my mind ... I had deleted my answer but:

Script Step Set Next Serial Value and calculation help of:

GetNextSerialValue ( fileName ; fieldName )

... if you want to know what the value WAS to use within your calculation. I didn't know what you want to set it TO. :^)

Replace Field Contents[] can increment a serial (and update field definitions) but you can't apply a calculated result AND update the incrementing field definition. And it would insist on changing an existing field value (because that is this script-steps purpose).

Link to comment
Share on other sites

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