Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Setting all repetitions of a global field

Featured Replies

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

One would wonder why you need this?

  • Author

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

The only way to do this AFAIK is with a lookup.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.