I have two tables with following structure(and a relationship is made):
Company table:
IDCompany
strCName
strWebb
StrComment
Contact table:
IDContact
IDCompany
strName
strTele
strEmail
strComment
They both have a form (frmCompany and frmContact) but the frmCompany is the main form. When you click in spredsheet list of frmCompany it suppose to open up frmContact with the IDCompany already choosen(and instead of number it will be the Company Name). How will I do that?
I have made a query that contains both tables but how do I open the next form with correct company Name shown?
Company table:
IDCompany
strCName
strWebb
StrComment
Contact table:
IDContact
IDCompany
strName
strTele
strEmail
strComment
They both have a form (frmCompany and frmContact) but the frmCompany is the main form. When you click in spredsheet list of frmCompany it suppose to open up frmContact with the IDCompany already choosen(and instead of number it will be the Company Name). How will I do that?
I have made a query that contains both tables but how do I open the next form with correct company Name shown?