Given the following Access database items:
CityTable:
-------------------
ID City
1 Memphis
2 Los Angeles
3 Tucson
4 Sacramento
5 Austin
PeopleQuery:
-------------------
ID First Last City
1 Ted Strickland Memphis
2 Jen Landry Memphis
3 Jerry Presh Los Angeles
4 Roxanne Bider Los Angeles
5 Pam Archdale Tucson
6 Jen Luxe Sacramento
I need to create a VB function that can be called which cycles
through each of the of the records in CityTable and Creates a
Table for EACH city which is populated with only the related
City records of the PeopleQuery. Each table needs to be named
the City Name. I even need a blank table for Austin which
doesn't have any records in PeopleQuery. I do NOT want to setup
multiple copies of PeopleQuery with a different City criteria.
The function should call PeopleQuery and provide a City parameter
during processing. Can someone help?!
** Email address removed **