pliskers
Active Member
- Joined
- Sep 26, 2002
- Messages
- 461
- Office Version
- 2016
- Platform
- Windows
I have an Access file that contains a Data table (which includes a Cost Center field), as well as another table called Cost Center, which contains a list of certain Cost Centers for which I'd like to extract and export all fields of data from the Data table.
Instead of writing a series of queries, one for each item in the Cost Center table, is there a loop that could be used? I would join the Cost Center table to the Data table, and just want to export to Excel the full contents of the Data table, creating a separate Excel file containing the records applying to each Cost Center. The Tables could be just named after the cost centers, which for purposes of my question could just be numbered 1,2,3, etc.
Would appreciate any help ASAP. This is a time sensitive project and I'm trying to save steps and time.
Thanks in advance!
Instead of writing a series of queries, one for each item in the Cost Center table, is there a loop that could be used? I would join the Cost Center table to the Data table, and just want to export to Excel the full contents of the Data table, creating a separate Excel file containing the records applying to each Cost Center. The Tables could be just named after the cost centers, which for purposes of my question could just be numbered 1,2,3, etc.
Would appreciate any help ASAP. This is a time sensitive project and I'm trying to save steps and time.
Thanks in advance!