Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox looses it's ID
Message
De
14/12/2001 13:33:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/12/2001 13:22:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00594525
Message ID:
00594527
Vues:
22
>Hi All,
>
>I have a combobox that is populated by an array. 2 columns. Employee name & number. The combobox is bound to the 2nd column. the array is ordered by the employee names. So the numeric 2nd column is not in sequential order. Everything has been going well until someone decided that there should be an internal number -1. When I select that employee there is code in the valid event to retrieve the required data. The last line in the event is a form.refresh. When the refresh is finished. all other controls on the form display the correct data. But the combobox no longer displays the employee's name. The combobox.value has not changed. Neither has the value of the controlsource. But the combobox.listitemid has. What happened?
>
>VFP6 SP5
>
>TIA
>Mike

Michael,
Set BoundTo = .t.

Better use an SQLRowsourcetype and directly use cursorname.id
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform