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

DougP - Thanx and 1 more question....

Status
Not open for further replies.

lminmei

Programmer
Joined
Feb 1, 2000
Messages
111
Location
US
the code works for only the Name field but not for the other fields (address, city, etc)<br>
in my combo box's row source, it is a query of the clients' names, and addresses (rows 2,3,4,5 and 6) <br>
I tried doing the same thing<br>
Me![Namefield] = [ComboBox].column(1)<br>
Me![Addressfield] = [ComboBox].column(2)<br>
Me![Statefield] = [ComboBox].column(3)<br>
...<br>
...<br>
<br>
but it didn't work.<br>
What did I leave out/do wrong?
 
So the above code is in the combo boxes after update event right?<br>
In design view Double Click on one field that does NOT work on your form.<br>
Click the &quot;ALL&quot; tab <br>
Click in the &quot;control Source&quot; Property and make sure there is a field such as address in there and not the Word unbound. Then<br>
Make sure the &quot;Name&quot; Property is the same as the &quot;control Source&quot; Property i.e. address<br>
And try it again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top