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

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

Recommended Posts

Posted

Just a quick one I think...

Is there any quicker/slicker way of setting all repetitions of a global field (to a single value) other than by a script that loops through the repeitions uses set field to set the repeition to the required value?

eg

set variable $c; 1

Loop

Exit Loop if $c = 10

set field globalfield[$c] = "default value"

set variable $c; $c+1

End Loop

Many thanks

Posted

One would wonder why you need this?

Posted

Hi John

Purpose is to handle graphics - (long explanation)

I have 10 interface files (separated) from 1 data file

I have 10 buttons (graphics) across the top of most of my windows as a main nav tool

Each button runs a script that "goes" to a separate interface file (one for contacts, tasks, projects, products, timesheets etc). Each file has a colour associated with it.

If a user is in a selected file the button outline changes from grey to the specified colour

So that I don't have to (hard code and recode this) - all of the graphic objects are repeating global fields - referenced using a number for each file that relates to the repetition

Hence when you change between files you need to reset the global button outlines back to grey so that you can reset the button of the destination file to the correct colour

All I was wondering is if there was a quicker/more clever way to reset all repeitions to a single value than my experience allows

thanks

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