Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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.

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?

  • Author

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

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.

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.