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

Hi there.

I have a table that (amongst other fields) has two repeating fields of 20 repetitions. This layout is used as a timesheet function where the two fields record a date and a duration respectively.

I am trying to setup a button and script that inserts the date into the date field. I have setup a monitoring variable of get(calculationrepetitionnumber) that shows which repeating field I am in and then place the date into that field with that repetition number, but the number always reads 1 regardless of which field repetition number I'm in.

Anybody suggest how I can achieve this please?

Greg

  • Author

Hi Daniele,

Thankyou very much for your response. This will work perfectly. :(

As a newbiw I have a question though - there is reference to a $$rep in the script. I understand this to be a global variable. Please advise where it is set - I cannot see how to set these variables.

Thanks,

Greg

PS: And your English fine. :B

Hi Greg

that was the tricky part :B

The $$rep is setted by tooltip of the repeating field

  • Author

Excellent. Thankyou so much. Works well.

I didnt know you could set variables with tooltips - I thought they were inforamtive balloons only, but it goes to show that there's lots I dont know about FmPro.

Cheers,

Greg

Another happy customer.

This will work perfectly.

I am afraid not. You should not put your data in repeating fields, because then you won't be able to find it, or summarize it. Use a related table, where each entry will be a separate record, and enter your data into a portal.

BTW, selecting a repetition via tool tip does not work well under OS X, because of the delay in calculation.

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.