Query country

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would to find out how many countries I have registered in. How can I find
that out with a code in my query. I only want to show one country name of
each country only so I can tell my manager which country we need to register
our products in. thanks.
 
You've given us very little information to go on, but a query like this might
be what you need:

SELECT Distinct Country FROM tblSales ORDER BY Country;

where the name of the field for the country or country code is "country",
and the name of the applicable table is "tblSales". Make the appropriate
substitutions in your case.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 
I would to find out how many countries I have registered in. How can I find
that out with a code in my query. I only want to show one country name of
each country only so I can tell my manager which country we need to register
our products in. thanks.

A Totals query based on a SELECT DISTINCT query should work - but you
have chosen not to post any information about your tables or how the
country is recorded, so it's hard to be specific.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top