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.

Showing only certian items in a repeating field.

Featured Replies

I have a DB that adds start time and end time.The result is elapsed time for a bike race. There are 8 races in the series thus the fields repeat 8 times. I get my results by showing the info on a layout that finds the catagory, class, and sorts descending. If I wanted this script to only show the result of a certian race in the series how could I only get the result from a certain race in the series?

Repeating fields work much like arrays do. Which only helps if you are a programmer and know what an array is and how it works B)]

Anyway - if the 8 'slots' in the fields are consistent, like repetition 1 is for race 1, repetition 2 is for race two, and so on ...... You can use some fairly simple calculations and the GetRepetition function.

If you are scripting this and only want to display the info, this idea should work -

If you want to show only repetition 3, then set a field up in this way -

GetRepetition ( repeating field , 3 )

If you wanted to get somewhat fancy about, you could set up a global number field that would be used to temporarily hold the repetition number you want. Then, the calc would look like this -

GetRepetition ( repeating field , GlobalFieldName )

In 7, you can also use the repeatingfield[globalnumber] syntax.

  • Author

I will give it a try.

Thanks

I have a DB that adds start time and end time.The result is elapsed time for a bike race. There are 8 races in the series thus the fields repeat 8 times. I get my results by showing the info on a layout that finds the catagory, class, and sorts descending. If I wanted this script to only show the result of a certian race in the series how could I only get the result from a certain race in the series?
By redesigning to get rid of the repeats. This is exactly why you shouldn't be using them.

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.