I have 2 tables. Companies and Companies_Offices. They are related by company ID. I did a form where I select the region and the country and the result will be all companies in that country (only region is required). I joined the 2 tables in a view with company_name,the Logo, country and region:
If I select north america as the region and USA as the country, this is the result:
and here is my problem. if the company has more then 1 office in the country, it appears several times. but I just want to list one.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
dasigrist
HI Dear Gurus,
I have 2 tables. Companies and Companies_Offices. They are related by company ID. I did a form where I select the region and the country and the result will be all companies in that country (only region is required). I joined the 2 tables in a view with company_name,the Logo, country and region:
If I select north america as the region and USA as the country, this is the result:
and here is my problem. if the company has more then 1 office in the country, it appears several times. but I just want to list one.
is there a way to do that?
Thank you
Daniel
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.