Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ordering question
Message
From
14/06/2002 21:51:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00665785
Message ID:
00668841
Views:
28
>Try this,
>
>SELECT AT( CustType, 'QWER' ) as OrderField from tablename order by OrderField

Great! I'll have to keep this handy. It's about an order-of-magnitude less code than what I used before: nested IIFs, or a UDF with DO CASE.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform