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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Populate Text Box from Combo Box Selection

Status
Not open for further replies.

indygirl

Vendor
Nov 1, 2006
35
US
I have been trying to auto populate a text box based on a user selection from the combo box in the same form. I changed the control source of the text box to reflect:

=me.Company.column(1)

And my row source for Company is:

SELECT Customers.Company, Customers.First, Customers.Last, Customers.ID FROM Customers ORDER BY Customers.Company;

My Combo Box is Company
My Text Box is First

My combo box seems to work fine but the text box doesn't populate. Can someone tell me what is wrong?
 
In the AfterUpdate event procedure of Company:
Me!First.Requery

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top