Subject line reassigned from "Quick question"

On 2007 Sep 20, at 12:27, Peter Payne wrote:

One more question for you or anyone who might know. I am making a portal an am trying to see how I might get control of how the sort goes. Is there no way to drag portal records up or down or move them up or down through some mechanism, that anyone knows of?

Yes. You can sort them pretty much any way you want by specifying the sort order in either of 2 places:
  (1) the relationship definition
  (2) the portal preferences
If you have both set, the portal preferences override the ones in the relationship definition for that particular portal. Either one allows you to specify multiple fields as the basis of sorting and to have any of those fields sorted in ascending order, descending order, or list-value order, so you have a lot of control over a FIXED sort order.

VARIABLE sort orders are more complicated. It used to be that, if you wanted to change the sort order on the fly, you had to create a global field that would contain options like "Up" and "Down", and use that as 1 of the factors in the calculated field on which the sort order was based. The drawback to this was that global fields prevent the calculated sort-order field from being stored and indexed, so it could slow things down.

With the advent of tabbed panels, you have a nifty work-around for this drawback. Simply create as many tabbed panels as you want for the various sorting options you have in mind and place a portal on each one that has its sort order set to the particular flavor indicated by its tab. Thus you could have tabs for "Alpha", "Model No.", "Cost", "Color", or "Cupholder Count" if you wished, and each one would display the identical data in a different sequence.

Reply via email to