Jump to content

Get Record Position in Found Records


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

Recommended Posts

Hi,

I need a field should always display the record's position number.

Example:

Job No. Job Type Position Number

101 School 1

102 College 2

103 office 3

104 Hospital 4

If I sort the above list by "Job Type" then the following will be the result

Job No. Job Type Position Number

102 College 2

104 Hospital 4

103 office 3

101 School 1

But I need , the Position Number should be remain same and just to display the record's position number like the following

Job No. Job Type Position Number

102 College 1

104 Hospital 2

103 office 3

101 School 4

I can achieve it, with any loop or Replace field content script steps , but it will slow down the process when the records count increase. So, Please let me know, is there any method available like Get (Record No) to find the record position number.

Thanks in advance.

Link to comment
Share on other sites

To clarify what comment is describing with putting the record number symbol on the layout, you can put "@@" in a text object on a FileMaker layout, and it will render as the record number within the found set when you switch back to browse mode. Use "@@" in FileMaker versions 11 and earlier. Use "{{RecordNumber}}" in FileMaker 12. Personally, I prefer this method over adding a field to the database schema just for display purposes; but if you have to export the record number, too, then you gotta do what you gotta do.

Link to comment
Share on other sites

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