Jump to content

Counter for Portal Rows, Please!


John D Sebastian

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

Recommended Posts

  • Newbies

 

Hi, you all.  I'm new to this community channel 
but excited to share, and initially, hopefully get some help! 
I've got what I think is a tricky question for ya all

My FileMaker app has an unfiltered portal with a field I have named "Counter"
(please see image)
 
I wish for this Counter field to somehow number all the rows in my portal 
and be flexible enough that if I insert a row (I hope to find a way to do that, too) then
all the portal row's "Counter" value will increase by one to make room for the newly inserted portal row,
and the opposite, of course, if a portal row is deleted, then all the subsequent numbers will decrease
by 1.
 
Thanks for your advice,
 
JD  Sebastian
Los Angeles

CounterQuestion.png

Link to comment
Share on other sites

The upside of the record number symbol is that you don't need to define a field.

The downside is that if you want to fit {{recordNumber}} into a skinny space; that is difficult. There are some stupid FileMaker pet tricks you can use to resize it but they break if you touch the field.

So I often use an unstored calc field, defined as get( recordNumber); and place that on the layout.

  • Like 1
Link to comment
Share on other sites

This topic is 2589 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.