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

select current value on form in query

Status
Not open for further replies.

HowsMusic

IS-IT--Management
Sep 5, 2002
2
US
I have a combo box that I want to populate with names based on a Customer ID. I want it to populate or update itself when a Customer ID is entered in the CustomerID field on the form. I have the Row Source of the combo box set to SELECT Users.[User ID], Users.[User Name], Users.CustomerID FROM Users WHERE Users.CustomerID=????(I want the question marks to point to the Customer ID field on the form);

I am basically a rookie in this stuff but am being pressured to make this work. Thanks in advance.
 
I think what you need is:
Code:
[Forms]![MainFormName]![CustomerID]
hope this helps
Ryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top