Newbies biztrac Posted November 21, 2006 Newbies Posted November 21, 2006 Greetings All, I am looking for a modular script or custom function that I can use to sort records both ascending and descending. I'm NOT sorting records in a portal. I know the field labels in the table view will do exactly what I want, but I can't use that view. I need one that can do either text or numeric data. If that means two functions, that's cool too. I know I can do this by creating scripts for each field and for each sort direction using a variable to track the sort direction, but I am looking for something with much less overhead. A custom function would probably make the most sense. Just can't find one or figure it out. I've searched this and other forums and haven't found it. I tried to adapt something but I just couldn't wrap my brain around it. Thanks in advance for your help. George
Ender Posted November 21, 2006 Posted November 21, 2006 A custom function won't help here. One way or another you're going to have overhead. Either with multiple Sort[] steps or with a getfield() calc.
Søren Dyhr Posted November 21, 2006 Posted November 21, 2006 I wouldn't reject carthesian selfjoin portals though: http://www.filemakerpros.com/LessSort.zip --sd
Recommended Posts
This topic is 6578 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 accountSign in
Already have an account? Sign in here.
Sign In Now