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

I still can't get it to open (forms list forms)

Status
Not open for further replies.

hrg

Programmer
Jan 8, 2009
46
US
As i have made the query. I only get one company name and when clicking on it, it opens another contact record i think it has to do something with the fact that it is not filtered. But i still can't make it work.

Thanks

refer to my early posted message (before this posting).

 


Listbox1.RecordSource = "SELECT * FROM Contacts WHERE " & _
"Contacs.Contact_ID = Company.CompanyID"

or whatever relation you have between the tables.

HTH
 


Listbox1.RecordSource = "SELECT * FROM Contacts WHERE " & _
"Contacs.CompanyID = Company.CompanyID"

or whatever relation you have between the tables.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top