Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort a view dinamically?
Message
 
To
29/06/1999 08:46:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00235164
Message ID:
00235207
Views:
21
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.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform