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

Aahhh ... crazy.gif what's going on in FM 7? I have a portal with a number of records, sorted by a sort number in a separate number field. When I deselect the portal, the sorting doesn't work anymore...

I use this portal for navigation, so the sorting must be accurate ...

Anyone any ideas?

It might help if you post an example. One thought is that you might have two different sorts specified for the portal. One specified for the relationship itself (in Define Relationships), and the other for the portal as defined on the layout. Just a guess.

-Terence

What version of 7 do you have? Your problem may have been corrected in 7.02 or 7.03.

  • Author

One thought is that you might have two different sorts specified for the portal. One specified for the relationship itself (in Define Relationships), and the other for the portal as defined on the layout. Just a guess.

-Terence

Terence, thanks for thinking along, but no, I tried multiple definitions too. Like a sort from only the relationship and only the one on the layout, AND both the same sort, but nothing did work out well...

  • Author

What version of 7 do you have? Your problem may have been corrected in 7.02 or 7.03.

I use(d) Filemaker Developer 7.0v3 for this case. But I decided to stay in FM 6 for this solution, because I experienced too much problems with valuelists and portal functions. Migration to FM 7 is sometimes not the best option.... Banghead.gif

But I do have another sorting question.... do you know a way for sorting a portal via a script? For ex.:) I have in a portal 3 fields; name, zip, city.

What I would like to do is sort the portal by one of these by a button on the layout where the portal is placed... Is this possible? (I do see the option 'Custom order based on value list, but how to do that?)

  • Author

Found it out allready smile.gif ... I used a global text field (_gSortGlobal) in the related database and a calculationfield (_cSort) like this:

Case(_gSortglobal = "name" ; Name ;

_gSortglobal = "zip" ; zip ;

_gSortglobal = "city" ; city ;

"")

I use the _cSort field to sort the records. Hope this could help anybody who had the same issue ...

You could also use GetField(_gSortglobal), if your field names match the value of _gSortglobal. It is case-insensitive, so both name and Name should work, etc.

So does your original sorting problem not happen in FP6?

-Terence

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.