Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Display
Message
From
09/10/1996 13:49:51
Bernie Adams
Adams' Computer Consulting
Helena, Montana, United States
 
 
To
09/10/1996 13:21:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00009709
Message ID:
00009715
Views:
32
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform