Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing table
Message
 
 
To
08/05/2002 09:36:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00653959
Message ID:
00653961
Views:
18
>I have a field containing records like the following:
>
>AA,AA,AA,BB,BB,DD,EE,EE,EE,EE,EE,FF,FF,FF
>
>
>If I order them they come out as above.
>
>I need say the FF to come before the EE, and the rest to stay the same.
>
>Anyone any ideas how this could be done.

index on iif(myField='FF' or myField<'EE','0','1')+ myField tag myOwnSort
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform