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.

GetRepetiton doesn't 'Get' anything !

Featured Replies

I have a strange problem. I have a repeating field in my master db called _mm_codeholder.

I have another repeating field in another db called _dr_codeholder. Both have 12 repeats and

I want to use them to hold a number of codes which will eventually refer to other records in

the db. Trouble is, I don't seem to be able to get a script to copy the 12 instances of _mm_codeholder over to _dr_codeholder. Only the first gets copied.

I am using Set Field, specifying the repetition to be set. That works OK when tested with

data from another test field. I am then using GetRepetiton(_mm_codeholder, n), where n is set in each of 12 script steps to be from 1 to 12.

It just doesn't seem to get those repetitons, just the first one....................

My script would be like:

Set Field [DatResourceKEYED:???_dr_codeholder -n, GetRepetiton(_mm_codeholder, n)]

Why no workee ?

What you could do is create a global field in the Master db.

Then have a subscript that stores Repetitions in this global g_codeholder

Set Field g_codeholder [GetRepetition (_dr_codeholder,n)

Then ???

Set Field [DatResourceKEYED::_dr_codeholder -n, g__codeholder

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.