Jump to content
Server Maintenance This Week. ×

Conditionnal value list with field based sorting


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

Recommended Posts

This would be so cool, if FM could integrate this feature in the next version.

Simple as

CREATE VIEW vw_Distances AS

SELECT Distance

FROM lut_Distances

WHERE unit = "km"

ORDER BY viewOrder ASC

Most DBMS offer this possibility.

Link to comment
Share on other sites

So does filemaker, just pile up many instances of the same field, and let an event trigger deside which of the instances to go to, based on the circumstances. Each instance has obviously it's own popup sort order tied to it.

Admitted, would require some spit and polish from the developer.

--sd

Link to comment
Share on other sites

While thinking a bit further of what you wish is the quirky bit that only hardwired valuelist keeps the original sort order, as soon as you stuff something pilcrow delimited into a field via an event trigged script on which the value is suppose to build upon will the list be using the same behaviour as ValueListItems( which sorts alfabetical and omitting duplicates if necessary.

--sd

Link to comment
Share on other sites

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