Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting in a ComboBox
Message
 
À
29/05/2001 15:00:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00512344
Message ID:
00512390
Vues:
10
>>>I have a ComboBox with RowSourceType = 6 - Alias and Style = 2 - DropDown List. How do I sort the displayed items? Thanks!
>>>
>>>Regards, Renoir
>>
>>
>>You need to set an index on the table in the order you want.
>
>Hey Craig,
>
>Did that... Set the order in the GotFocus and issued a Requery. There are multiple indexes on the table and the primary one is not the one I want to use in the Combo. Do I need to populate and Requery at a specific place for the order to be refreshed?
>
>Renoir

You might try to use RowSourceType = 3 - SQL Statement (if appropriate) and order it the way you want to.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform