Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting
Message
From
01/02/2000 08:29:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00325483
Message ID:
00325507
Views:
18
>Is there a way for me to sort my 'part' table using 2 fields without having to store the result in another new table as in:
>Eg. select part
> sort to temp on partname, colour

You mean change its natural (physical) order? Not without first copying to another table. If it is just temporary for display or processing purposes, you'll need to create an index on the desired sort order, and SET ORDER TO that index:

INDEX ON LName+FName TAG LFName
SET ORDER TO LFName

You need exclusive use of the table to create the index.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform