Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on Ordering
Message
 
 
À
15/12/1997 13:58:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00065996
Message ID:
00066003
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform