modglin
Programmer
- Apr 10, 2001
- 105
I have created a macro that goes to an address gets the .txt information and appends it to a table. I need to have this macro run automatically at midnight. I was able to figure out how to run it every 24 hours IF a form was open, however, not sure how to get this to open access, run the macro with /x APPENDSESSIONLOG and close access.
I believe I can get someone to help me create a batch file in DOS:
c:\cd program fils\microsoft office\office
msaccess \\wallis6\backup\telelog /x appendsessionlog
If I run those two lines from a dos prompt it does open access and append the information, however, I am not sure how to close the program.
As I am sure you can tell - I know nothing about Visual Baicis!
I believe I can get someone to help me create a batch file in DOS:
c:\cd program fils\microsoft office\office
msaccess \\wallis6\backup\telelog /x appendsessionlog
If I run those two lines from a dos prompt it does open access and append the information, however, I am not sure how to close the program.
As I am sure you can tell - I know nothing about Visual Baicis!