passing parameters

jakemelon

Board Regular
Joined
Mar 14, 2003
Messages
76
I have table with 3 letter team initials:

Team
--------
ABC
BVM
HAR

there are actually 50 unique teams.

also another table:

Team ID#
ABC 243234
HAR 683456
ABC 64646
HAR 47474
BVM 36436356


How can I make one query which will make 50 tables and each one with data only related to that particular team?

I'd hate to make 50 queries to do this. So the question is how can you pass the Team initial field to tell Access it needs to create a table for each team (and automatically name it with the 3 letter initials).

hope this is not too convoluted!
thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
This seems like it may be unnecessary. You certainly don't want to create 50 tables or 50 queries.

What exactly are you intending to do with this? If you explain it a little bit, we may be able to offer a better alternative.
 
Upvote 0

Forum statistics

Threads
1,214,848
Messages
6,121,914
Members
449,054
Latest member
luca142

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top