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

Make a summary field, running count.

The difficulty with a summary field is that depending upon the sort order, the summary field cannot may give a different number to a player as players are added.

The solution is not hard to implement, but is a little complex. Create a "Player No." field in the Player file. A field "Team No." is also needed. Create a self relationship with Team No. matching Team No. The players already entered will have to be numbered manually. Create a new script to add a player which has the user enter the team number into a global number field (gTeam No.) BEFORE the new player record is created. Then the script looks like:

Allow User Abort (off)

Set Error Capture (on)

If (IsEmpty(gTeam No.))

Show Message (You must enter a team number!)

Exit Script

End If

New Record/Request/Page

SetField(Team No., gTeam No.)

SetField(Player No., Max(Self by Team No.::Player No.) + 1)

This script uses a relationship by Team No. to find the highest Player No. for a given team and set the new player number to one more than the highest number.

Sorry for the complexity, not every question has a simple answer! -bd

  • Author

Sorry, I thought they only need a numbered list of names. The summary field will of course change with found set etc.

  • Newbies

A simple problem. I have a roster of soccer players and would like to have a number to the left of the name so that the first player was #1, the second player was #2, etc to the last player. The number of players will change with each team. This list of players is in a portal.

TIA

------------------

Not to difficult. Create calculated display name field. I'm assuming here that you have a player number field?

If so, the calc would look something like this: ="#" & Player number field & " " & Player name

HTH

  • Newbies

The player number field is what I am trying to create. It should be a field that progressivly counts up 1 per player. I have tried puting the Count Calulation there but it counts the total number of players on the team.

------------------

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.