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

Going to a field with a script variable


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

Recommended Posts

Posted

I have a DB script that is doing some data manipulation. In my script, the db leaves the current layout to do some manipulation in another table. It's triggered by the value that is in a field of the original layout. When it comes back to the original layout, I would like the script to start at the field that it left off at.

I am having trouble geting the script to go to the next field. When I come back to the layout, it starts at the first field. I tried putting in a temp Global variable but the Goto Field step does not allow for variables. Any help would be appriciated.

Thanks.

Posted

Hello Jim,

Up to and including version 7.0v3, there is no direct programatic method for dynamically selecting or setting a field. So you'll have to build your own method.

For example a scripted sequence along the lines of the following may be worth considering:

Loop

Go to Next Field

Exit Loop If ["Status(CurrentFieldName) = gTempText"]

End Loop

...where gTempText is a global text field into which your scripts have previously stored the name of the field to which you wish the script to return.

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