Good day folks,
I have a database where I import fixed width text files regularly, once I've imported these text files I've been manually renaming them, however I was wondering if it is possible to rename a text file after I have imported it into my database.
This is the code I have for the import of one of my text files:
============
BEGIN CODE
============
DoCmd.TransferText acImportFixed, "eFlowNTKImportSpec", "tblNTK", "I:\niltokey.txt", False, ""
===========
END CODE
===========
What code do I need to write to rename this text file once I've imported it into my database.
Your assistance would be most appreciated.
John
I have a database where I import fixed width text files regularly, once I've imported these text files I've been manually renaming them, however I was wondering if it is possible to rename a text file after I have imported it into my database.
This is the code I have for the import of one of my text files:
============
BEGIN CODE
============
DoCmd.TransferText acImportFixed, "eFlowNTKImportSpec", "tblNTK", "I:\niltokey.txt", False, ""
===========
END CODE
===========
What code do I need to write to rename this text file once I've imported it into my database.
Your assistance would be most appreciated.
John