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

Query/Control Question

Status
Not open for further replies.

avagodro

Technical User
Aug 12, 2005
83
US
I have a form with a query attached that I cannot get the result to pull correctly. The code below is on a Combo Box:
SELECT Hotels.[ORS Prop Code], Hotels.[Property Name], Hotels.[General Manager], Hotels.City, Hotels.State, Hotels.[GM's Email Address], Hotels.[Phone #], Hotels.[Fax #], Hotels.[Operational Vice President], OVP_List.OVP_Email
FROM Hotels INNER JOIN OVP_List ON Hotels.[Operational Vice President] = OVP_List.OVP_Name;

The Combo Box is named Combo2. I have 2 text boxes: 1 with =Combo2.Column(8) which pulls the Operational Vice Presisent without any problem when an item is selected in the Combo. In the second text box, I have =Combo2.Column(9) which should be the OVP Email. The textbox just comes up blank, but when I run the query by itself, I get the correct information.
Any ideas what may be wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top