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.

how do I show the finishing position for each Team

Featured Replies

  • Newbies

I have a database that calculates team scores in a cross country running event.

Main fields: Name, Team Name, Place, Points (calc), Points Total (summary).

I can get a report that lists the team names and their Points Totals in order from highest to lowest (sorting by Team Name and Points Total).

My problem... simple as it sounds.. how do I show the finishing position for each Team in the summary?

eg

1 Team C 1234

2 Team A 1123

3 Team C 1012

ie how do I get the 1, 2, 3 etc to list?

Create a number field called "Place"

Sort the records by points as you already have worked out.

Run this script:

Go To Record/Request/Page [First]

Loop

. Set Field [Place, Status(CurrentRecordNumber)]

. Go To Record/Request/Page [Next][Exit After Last]

End Loop

If you want to be able to deal with tied placings, then its a bit more complicated. You will need to create some extra global fields where you store the points from the previous record and compare them to the current record. If they are the same - set the place as the same place as the previous record.

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.