Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have several Access tables that I import everyday with the same structure but different names (...it uses dates on the end).

The file import as follows:
imp_esp11282013a_csv
imp_esp11282013b_csv
imp_esp11292013a_csv
imp_esp11302013a_csv

Question:
How do I combine these tables together and put the table name in each record (...using VBA)?
Posted

1 solution

Yes, it is possible...

1. way - using VBA function: DoCmd.TransferText() [^]
2. way - using SQL query with IN command[^]
For further information, please see: Import or link to data in a text file[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900