Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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();

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