G
Guest
I'm using Access 2000 to import bank data every day using a simple macro run
through a switchboard. In order to prevent the user from accidentally
clicking the switchboard button twice or otherwise importing the same data
multiple times, I'd like to have Access simply delete the contents in the
source file, bankdata.txt, after the import is complete.
I would just use the Kill command in VBA to delete the file, but I would
prefer to have the empty file called bankdata.txt available to ensure that
the user saves the file (downloaded using Internet Explorer) with the correct
filename.
Is there an easy wasy to do this? Thanks!
through a switchboard. In order to prevent the user from accidentally
clicking the switchboard button twice or otherwise importing the same data
multiple times, I'd like to have Access simply delete the contents in the
source file, bankdata.txt, after the import is complete.
I would just use the Kill command in VBA to delete the file, but I would
prefer to have the empty file called bankdata.txt available to ensure that
the user saves the file (downloaded using Internet Explorer) with the correct
filename.
Is there an easy wasy to do this? Thanks!