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.

Repeating Field / Obtaining last value entered

Featured Replies

I am working on a database that tracks documents. The document will go through up to five offices. For a certain layout I have three repeating fields: Sent From, Sent To and Date Sent. These fields have 5 repetitions.

I want to have a field that contains the last value entered for the Sent to field, Which tells where the document is currently located. I have five new calculated fields (Rep1-5), each one captures the value of each repeating Sent To field. Then I made a last calculated field, with the following calculation:

If( TRep5 <> "", "This form is currently located at " & TRep5 & ".", If( TRep4 <> "", "This form is currently located at " & TRep4 & ".", If( TRep3 <> "", "This form is currently located at " & TRep3 & ".", If( TRep2 <> "", "This form is currently located at " & TRep2 & ".", If( TRep1 <> "", "This form is currently located at " & TRep1 & ".", "This form has not been tracked yet.")))))

This calculation works for when the last/fifth repetition is entered, but for all other cases, it acts as if there are no values entered (by taking the last value, "This form has not been tracked yet." from the calculation)

Does anyone know what I am doing wrong with my calculation, or if there is an easier way to capture the latest value of a repeating field?

thank you

  • Author

Thank you, will all of the functions available in the calculations I overlooked that one. Thank you for pointing it out.

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.