Richard U
Active Member
- Joined
- Feb 14, 2006
- Messages
- 406
- Office Version
- 365
- 2016
- 2010
- 2007
- Platform
- Windows
I have a table that contains multiple entries for each country in the world.
I need to break this up to one table for each country. I'm very rusty at this. I know what I have to do, just can't remember how.
I know that I need to have a query to return the country codes...
which will give me the list of countries I need.
I know I need to wrap a statement around it...
But that's where I get lost. I know I need to iterate down the results of the country codes query, but I've forgotten how to do that.
I need to break this up to one table for each country. I'm very rusty at this. I know what I have to do, just can't remember how.
I know that I need to have a query to return the country codes...
Code:
Select distinct Country_Code
from Country_Table
I know I need to wrap a statement around it...
Code:
Select into NewTable....
But that's where I get lost. I know I need to iterate down the results of the country codes query, but I've forgotten how to do that.