Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Display
Message
De
09/10/1996 13:49:51
Bernie Adams
Adams' Computer Consulting
Helena, Montana, États-Unis
 
 
À
09/10/1996 13:21:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00009709
Message ID:
00009715
Vues:
31
>>The problem I have is that when I use the next/previous buttons, the phone numbers and addresses are updated with the new customer info but I cannot get the customer name to be shown in the combo box.
>
>You don't need that code. See the bound property of the combo box to the corresponding field. This should refresh automatically as the other fields are being refreshed.
>
>But, this will not work if you bound to a numeric field unless you have Visual FoxPro 5.
>
>Reason #2 to upgrade to Visual FoxPro 5.

Thanx for the quick response. I am using VFP 3.0b

The field is character. The click event for the combobox sets a filter and order in a child file then refreshes the form.

The properties in the Data tab for the combobox are as follows:
BoundColumn=2
DisplayValue=1
FirstElement=1
NumberofElements=0
RowSource=Csddist.OrgName, distdlrid
RowSourceType=6-fields

Originally I had only the Select statement and the execution of the default procedure.

Any other ideas? I know it is something simple.
Bernie
Montana - The Last, Best Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform