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

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

Recommended Posts

Posted

I am using FM 12 v 3  (even if v3 is buggy)

 

I have a main layout based on Members:

 

post-72145-0-18100800-1355557967_thumb.j

 

On the left is another Members TOC called Members Portal

 

Everything works great.... except that when I press the right (or left) 'next record' arrows, FM goes to the next Record ID and not to the next Member's Name.

 

Here is the  script I am using:  (pretty simple)

 

post-72145-0-94881800-1355558054_thumb.j

 

Question:  "How can I, regardless of recordID, advance to the next 'Member Name' and not next RecordID?

 

I am almost embarassed by what should be a pretty simple and common situation... but I am stumped.  Can someone give me a 'kick start'?

 

Thanks

Posted

Go to Record [ Next ] goes to the next record of the found set, according to the current sort order. You need to sort your records by Members Name.

 

BTW, committing a record immediately after loading it does nothing.

Posted

Also recognize that the found set may have nothing at all to do with the portal contents.

 

So you need to define what you actually want to do.

 

Do you really want to go to the next record?

 

Or do you want to navigate over the rows of the portal?

Posted

Go to Record [ Next ] goes to the next record of the found set, according to the current sort order. You need to sort your records by Members Name.

 

BTW, committing a record immediately after loading it does nothing.

 

The 'shown' portal records are the result of a portal filter.  But, the portal is filtered on LastMiddleFirstName.  As you can see in the following picture, Davis' record is record 1 of 54  but his name is not the first record.

 

So, I added to my startup script a sort by LastMiddleFirst name and that seemed to do it.  Thanks for the thought....

 

post-72145-0-71809400-1355600907_thumb.j

Posted

No, that really isn't an answer to the question.

 

The portal and the found set do not necessarily have any relation to each other.

 

For instance Davis might not be an active member; therefore he doesn't show up in the portal at all when Active members are selected.

Posted

So, I added to my startup script a sort by LastMiddleFirst name and that seemed to do it. 

 

Bruce has a point in that you should make your found set match the set shown in the portal. IOW, perform a find (or show all records) before sorting the records.

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