I have an Access database that opens up and runs the VB code, this is all it does. I did not write this database, as you will be able to tell from my question. This database copies 15 other databases into one database everyday.
The problem is that for every database that it copied it brings up a message box telling me if it was successful or not.
What I would like to do is not have the message box come up, but instead write this message to one text file (log file) for all 15 messages, then print the file and close the database. I understand how to close the database. But writing to a file and printing I have no idea. The Printer is a networked printer.
I should only have to replace the MsgBox with a command to write to a file correct? Any help pointing me in the right direction would be great.
Thanks,
Darkhat01
The problem is that for every database that it copied it brings up a message box telling me if it was successful or not.
What I would like to do is not have the message box come up, but instead write this message to one text file (log file) for all 15 messages, then print the file and close the database. I understand how to close the database. But writing to a file and printing I have no idea. The Printer is a networked printer.
I should only have to replace the MsgBox with a command to write to a file correct? Any help pointing me in the right direction would be great.
Thanks,
Darkhat01