Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Ordering
Message
 
 
To
15/12/1997 13:58:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00065996
Message ID:
00066003
Views:
27
>I have a reference table which is a list of names. I need to create a combo box which use this table as a reference. However, there is a special requirement in the order of the list showing in the combo box. 3 of the names should always be shown on the top of the list while the others should be shown according to the alphabetical order. Since the table will be updated once in a while, placing the record order permanently is not viable. Can anyone help me in this issue? Thanks.
>
>Chu

Add another field to your reference table. Put something like '1', '2' or '3' in the new field for those records that have to be listed first. For all other records, put the actual data of the sort field in this new field. Create an index tag on the new field and use this order. Make sure in any "AddItem" routine you also populate this field.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform