Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max Value
Message
 
To
14/05/2002 12:28:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00656234
Message ID:
00656314
Views:
9
Hi, Steven!

One simple way is:
- Create a table with two fields: cRealName and sSortOrder.
- Fill in all possible combinations and related sortorders.
- Join this table to your original table and use the sortorder field!

The other idea is to create two functions:
- One function to calculate the next revision from an existing revision.
- Another function to convert the revision into a sorted manner for usage in SQL statements like "SELECT GetSortId( Revision ) AS SortField.
SeBaFlu
Previous
Reply
Map
View

Click here to load this message in the networking platform