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

Featured Replies

  • Newbies

I'm having a lot of trouble with calculations involving global containers.

For example:

If I set up 2 global container fields and paste small graphics into the first.

the script:

set field ("field2"-2,"GetRepitition(field1; 1)")

just returns blank despite the fact field 1 contains a number of graphics in successive repetitions.

It all works fine for "field2"-1. But i cant set anything beyond the first repetition of field 2.

I dont understand it.

I can't explain what's the reason

  • Author
  • Newbies

Yes, Basically the problem is the GetRepetition step. It returns null for everything except the first. This has to be a software bug.

Sadly I bought Dev6 months before they released 7 and payed full price. Is it fair to be forced to upgrade because the software doesn't do what it's supposed to!

In versions < 7, GetRepetition requires an addition for number, date, time, and text fields beyond the first repetition, i.e. GetRepetition( field, X ) & 0, GetRepetition( field, X ) & TextToDate( "" ), GetRepetition( field, X ) & TextToTime( "" ), and GetRepetition( field, X ) & "". There is no such workaround for container fields, however.

By the way, for the primary repetition, GetRepetition is not required. 'GetRepetition( field, 1 )' is the same as 'field'. Also, it's not needed for setting a field with the same repetition number, e.g. Set Field [field, -3, field2] sets field with the third repetition of field2. So GetRepetition is only needed when the repetition to be set is not the same number as the repetition being grabbed.

Unless you can tweak your file to match the repetitions, you'll probably have to resort to Copy/Paste, unfortunately.

Create an account or sign in to comment

Important Information

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

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.