Jump to content
Sign in to follow this  
Guru Salem

Get Record Position in Found Records

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.

Share this post


Link to post
Share on other sites

Have a look at the Get (RecordNumber) function. Or just type the record number symbol on the layout.

Share this post


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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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