Reading a text file

D

dhstein

I'm reading a file each day to update the database. Right now I rename the
file from sales_mtd_06-06-2009.txt to DailyUpdates.txt which I have as a
linked table. But I'd like to skip that step and link directly - or find
some other approach. Any suggestions on a good way to do this ? Thanks for
any help.
 
J

John W. Vinson

I'm reading a file each day to update the database. Right now I rename the
file from sales_mtd_06-06-2009.txt to DailyUpdates.txt which I have as a
linked table. But I'd like to skip that step and link directly - or find
some other approach. Any suggestions on a good way to do this ? Thanks for
any help.

Take a look at the VBA help for the function Dir() and for the TransferText()
method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top