Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to AutoFill from a combo box ???

Status
Not open for further replies.

lookup13

IS-IT--Management
Oct 17, 2002
38
US
I have a the following fields in my table :

Supplier---Address--phone---fax--

I made a form using these fields ,(there are more fields customer etc.)It like a order form .

I would like to use a combo box for supplier,and pick the vendor (which I did )--But i would like to take it a step further --When I pick the vendor it would Auto fill
phone and fax boxs --Can you do this ?


For example :

pick vendor : ABC
phone 555-1212
fax 555-1313

Any Ideals ?

Thank you for your Time!!
 
Try the DLookup function.

Enter your code in the Control Source of the phone and fax fields.

You should be able to lookup the phone and fax based on the vendor name.
 
Thank you for the tip , I will give it a shot...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top