Hi everyone. I need some help with using a drop down combobox. I have a
table (physicians) that contains physician's names and phone numbers. I
want to be able to create a drop down menu where users can click on the
drop down menu and select the physician. Once the usr selects the
physician, I want a text box to display the physician's phone number
automatically. How would I go about doing this? I am using VFP 8 with
SP2.

Thank you in advance.

Arvin

Re: Need help with combobox by Fred

Fred
Wed Aug 09 20:25:07 CDT 2006

What's the .RowSource for your combobox? If it's a table, the the record
pointer should be on the correct record, just use your table.field for the
phone number as the controlsource for your textbox.

--
Fred
Microsoft Visual FoxPro MVP


"wickedbusa" <wickedbusa@gmail.com> wrote in message
news:1155161261.084623.323540@75g2000cwc.googlegroups.com...
> Hi everyone. I need some help with using a drop down combobox. I have a
> table (physicians) that contains physician's names and phone numbers. I
> want to be able to create a drop down menu where users can click on the
> drop down menu and select the physician. Once the usr selects the
> physician, I want a text box to display the physician's phone number
> automatically. How would I go about doing this? I am using VFP 8 with
> SP2.
>
> Thank you in advance.
>
> Arvin
>