Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing a tab separated text into access 97 with a name that varies

Status
Not open for further replies.

Etruscan2004

Programmer
Apr 1, 2004
8
US
Hello

I am using Access 97 and am trying to make a macro that will import a tab separated text document when I click a button. The problem I'm having is that the name of the text document changes ona daily basis. For example today it was called "Recon 07-21-04" tomorrow it will be called "Recon 07-22-04". I am kind of new at this so I would appreciate any help you can give me.
 
Instead of macro consider VBA.
Take a look at the DoCmd.TransferText method and at the Format and Date functions.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top