>>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