Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted (edited)

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
Posted

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).

Posted

Nope, thank you, Lee. :wink2:

The Set Next Serial Value was below in Miscellaneous in vs. 6. Everything else should remain the same.

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