Newbies headhouse Posted August 12, 2008 Newbies Posted August 12, 2008 How do you sort records based on a value list? I've read that you can but I can't find samples. I've tried the following but get error 108: Value List Missing. $SortString = "Saved, Pending, Exception, Canceled, Approved"; $CourseFind = $webDB->newFindAllCommand('web_LIB_Browse'); $CourseFind->setRange(0, 10); $CourseFind->addSortRule('rt_Status', 1, $SortString); $CourseFindResults = $CourseFind->execute();
Baloo Posted August 13, 2008 Posted August 13, 2008 $SortString needs to be the name of a Value List in the Filemaker Database you're searching in.
Newbies headhouse Posted August 13, 2008 Author Newbies Posted August 13, 2008 Duh. It was that simple. Thank you!
Recommended Posts
This topic is 6285 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