I have these tables:
jobs,
complex,
managementCompany,
managers.
I built a form for each table. In the form for jobs I have a combo box for the complex field that's based on a query to bring in the complex, manager, managementCompany and address. I created text boxes for manager, managementCompany and address and they each refer to a column from the complex combo. This works great and I don't repeat the data in the jobs table. I want to include the phoneNumber field for the managementcompany so I created a text box for it. Since phoneNumber is not stored in the complex table, I can't use the complex query. I'm not sure what to do to display it.
I wrote a query that should be close:
select phoneNumber
from complex_table as a, managementCompanies_tables as b
where a.managementCompany = b.managementCompany
Thanks.
jobs,
complex,
managementCompany,
managers.
I built a form for each table. In the form for jobs I have a combo box for the complex field that's based on a query to bring in the complex, manager, managementCompany and address. I created text boxes for manager, managementCompany and address and they each refer to a column from the complex combo. This works great and I don't repeat the data in the jobs table. I want to include the phoneNumber field for the managementcompany so I created a text box for it. Since phoneNumber is not stored in the complex table, I can't use the complex query. I'm not sure what to do to display it.
I wrote a query that should be close:
select phoneNumber
from complex_table as a, managementCompanies_tables as b
where a.managementCompany = b.managementCompany
Thanks.