Is this even possible???

ACE

Registered User.
Local time
Yesterday, 22:16
Joined
Aug 21, 2003
Messages
18
Hi, I'm trying to do something here in Access and I'm not sure if it's possible. I want to take 165 txt files and merge them together in Access. They are all in their own folder with the same filename. They are created daily and will have 24 records each. How can I go about doing this??? Thanks for the help!!
 
Write a recursive function that uses the DIR() function looping through subfolders captureing txt file paths and then uses that path with the TransferText method.

Lookup "Dir Function" and "TransferText Method" in Accesses VBA help files or search this forum, there are hundreds of examples.
 

Users who are viewing this thread

Back
Top Bottom