How about creating 2 index tags on the view, one for each fields. Then just use SET ORDER to switch back and forth.
>How could I set a parameter for a view that allows me to determine which field to use in the ORDER BY clause?
>
>The scenario is:
>I have a view wich selects 2 fields and the user needs to sort it in one field or the other. Do I need 2 views?
>
>Thanx
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.