Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
When I search my Master table by Last Name, I'd like it to SORT by First Name.(I'm using the built-in search box.)Is this an EVENT modification? If so, what do I enter in order to modify the results?
Hi, you can use following code in List page: Before SQL query:
if (isset($_GET["field1"]) && ($_GET["field1"]=="LastName")){$strOrderBy = "ORDER BY FirstName DESC";}
where LastName and FirstName are the actual field names in your table.
That didn't seem to do it. I'll save a copy in DEMO.