Jump to content
  • 0

Distinct values from a view


dasigrist

Question

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:


image.png.2499a756b58c478796eaf424c8e09a97.png

If I select north america as the region and USA as the country, this is the result:
image.thumb.png.f08d2a78b2f24bf6e1c81fcc81c35f7b.png

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...