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.

Numbering records in a column

Featured Replies

I'm a Driver Ed teacher and I've been using FM for many years to keep track of and schedule my students. However, I'm a novice at FM. Every now and then I do something new to the database and usually it works, but this time I'm stumped. I want a report that has a column of the records numbered consecutively from 1 to n, no matter how many records are selected or how they are sorted. So it would be a page with a list of students (last name, first name) always consecutively numbered starting with 1. I'm assuming the number would have to be a calculation field, but the calculation would change depending on how many records are selected and how they are sorted. 1 Dick

2 Harry

3 Tom

or

1 Tom

2 Harry

3 Dick

or

1 Amy

2 Liz

3 Pam

4 Tammy

Am I correct in assuming that the number neeeds to be a calculation field? If so help me with a formula that would work.

Thanks,

Hi,

If you create a calculation field RecordNumber. Calc is Status(CurrentRecordNumber) options is do not store calculated results.

Then you can add this field to your list layout.

No matter the sort order, will always order 1 to x.

HTH

Or, in Layout mode, add a "@@" (that's Shift-2, done twice) -- this will automatically number each record shown.

Dan,

good call. missed that one.

nice to see they have improved the naming conventions for members. So your an old maid (um hand now!)

  • Author

I tried it and,of course, it worked perfectly. Sometimes I am amazed at the things I don't know. Thanks for your expertise.

  • Author

Dan,

I tried your method too and it's even simpler than Andy's. I appreciate you both helping me out.

Thanks

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.