Jump to content
Sign in to follow this  
John D Sebastian

Counter for Portal Rows, Please!

Recommended Posts

 

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

Share this post


Link to post
Share on other sites

Fantastic!  Two years of intensive study and I still have a gazillion things to discover.  Thanks, works great! 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    Kaiviti57 
×

Important Information

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