Hi everyone,
I'm an access advanced-beginner, mainly self taught and I'm building a fairly simple parent/child database. I have a table of companies, and a table of contacts at those companies linked by the CompanyID.
I have a master form displaying company info and then a subform showing all the contacts at that company.
I know how to search the master form for a particular company and display that record, and I presume it would be straightforward to search within the contacts for that company (i.e. those currently being displayed on the subform) but...
...is there a way to search from the master form for a particular contact from the whole database and have it display the company which that contact is linked to?
My only idea (although I have no idea how to do it) would be to somehow pass the search criteria out of the form, then use it to lookup the CompanyID from the Contacts table and then pass the CompanyID back into the form and search in the normal way. does this sound possible? I'm not expecting complete answers but a few pointers would be much appreciated. or please tell me if I'm wasting my time!
thanks
Neil