Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox sorted - two Columns
Message
De
23/09/2009 09:18:21
 
 
À
22/09/2009 18:54:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01425627
Message ID:
01425722
Vues:
55
>Simply do the sorting in source. ie:
>
>
with thisform.myListBox
>  .RowSourceType = 3
>  .RowSource = "Select Country, Company, Cust_id"+;
>                        " from customer"+;
>                        " order by Country, Company"+;
>                        " into cursor crsCustomer"
>  .ColumnCount = 2
>  .ColumnWidths = '100,100'
>endwith
>Get the selected value from any column using crsCustomer.< fieldName >
>Cetin

I decided to use this solution

Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform