Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How to show current record #?


This topic is 7012 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I browsed forums, googled web and news groups, but found no answer :

I have a layout for browsing, and I would like to have a current record number/total number shown.

Like "172nd of total 211 records" or just 172/211

How I do that?

Thank you!

.ez.

Posted (edited)

Link

this is a link the the filemaker website...it has a knowledge base where alot of the simple stuff and even alot of the hard stuff is already answered..this should be exactly what you're looking for...the only thing i will add is that you may have to adjust your page number calculation by dividing by 2 "= INT (((SUM (Total Count, Total Count) - 1) / 9) + 1)/2)"

...sometimes it doesn't come out right but if you play with the last operation on the end of the calc you should get it..but thats should work no problem

Edited by Guest
  • Newbies
Posted

thank you for your effort .. but I do not need page number on report .. I need record number in browse mode ..

thank you anyway

.ez.

Posted

follow the example but make your total record calc look like this

= INT ((SUM (Total Count, Total Count) - 1) / 1) + 1)

and some times when i use it i have to do an extra step and its

= INT (((SUM (Total Count, Total Count) - 1) / 1) + 1) / 2

Posted (edited)

Define a calculation field with the following calculation:

"Record " & Get ( RecordNumber ) & " of " & Get ( TotalRecordCount ) & " in total"

Change the text strings to whatever you prefer.

If you want to display the total of found records, use Get ( FoundCount ) instead or in addition to Get ( TotalRecordCount ).

Set the result of the calculation to text, and in Storage options check the "Do not store... " option.

In layout mode, place this field on the layout, preferably as a merge field.

Edited by Guest
typo
Posted

there are always easier ways that i don't know about...they way i have been doing it was how i did it from the start...oh well live and learn

  • Newbies
Posted

thank you .. I think that should work .. but what do you mean by "merge field"? :

regarding FM not your post,

I do not like that you have to make a field in table just to show number of record/total records ..

.ez.

Posted

1. See FM Help > Creating and managing layouts and reports > Adding fields to a layout > Placing merge fields on a layout.

2. You can show the record number alone by typing @@ directly onto a layout. There's no such shortcut for the total.

  • Newbies
Posted

2. You can show the record number alone by typing @@ directly onto a layout. There's no such shortcut for the total.

Marrie me! :worship:

P.S. Merge field = << >> great thing : thanks

This topic is 7012 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.