At 03:24 PM 4/18/2000 -0500, Nancy Bloome wrote:
I have to create an object in designer that will sort by a particular order, not alphabetic order. Here’s a brief ex: I have an “Order Status Description” object that when the users put on a query gets sorted by alpha order. They want it sorted in “production line” order (the same as the order status code). How do I accomplish this? I have searched the knowledge base but haven’t found it yet.
I don’t want to have to put a custom sort on every query that is created, I want to force the sort through the designer.
Nancy, it sounds like “order status code” is an object you have (or could have) defined in the universe. Make “Order Status Description” a Detail object under order status code.
You didn’t say whether your users are using full-client BusinessObjects or WebIntelligence.
When a WebI user double-clicks (or drags) “Order Status Description” to the query panel, by default WebI will put its dimension object “order status code” onto the query panel first, and default sorting will be on order status code first. So you’d just have to train WebI users to click the plus-sign on the dimension object, and to only drag/click the detail object to get both, with the object to be sorted on (luckily) taking precedence. Unfortunately, however, the WebI user cannot “hide” the column on the report.
The full-client product works a little differently. If you double-click (or drag) the detail object, BusObj also drags over the dimension object, but it makes the dimension object the second of the two.
So for full-client BusinessObjects users, you’d have to train them to first drag in the “order status code”, and then the “Order Status Description” in order to get default sorting on order status code first.
The “plus” to the full-client tool is that you can teach your users to put an explicit sort on this column, and then “hide” it on the report. First apply the sort to that column. Then, for that table – from the menu, pick Tools - Table (or Crosstab if you’ve pivoted the data), and on the Pivot tab, in the “Used Variables” select the “code” object, and click the “Hide” button, and OK.
I hope this helps,
Anita Craig
Stanford University
Listserv Archives (BOB member since 2002-06-25)