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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change import location

Status
Not open for further replies.

Sardamil

Programmer
Apr 14, 2001
77
NL
In my import script I've got several lines like this:

DoCmd.TransferText acImportDelim, "ABNTB002 Importspecificatie", "ABNTB002", "l:\tool RVS\ABNTB002.txt", True, ""

I would like to change the import location to be able to import files in any directory, ie the directory the database is in. Is this possible?

Murphy's Law said:
Anything that can go wrong will go wrong

Window to my world
 
The directory the database is in is:

CurrentProject.Path
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top