Automating MSAccess process

D

Doug

I want to import and export files from an MSAccess
database at certian times and days of the week. I know
how to do this for replication and synchronization using
Replication Manager but need to do this for TransferText
and TransferSpreadsheet actions.

Doug
 
S

SA

Doug:

Write a function in your db that runs the process you need to automate.
Then using the Windows Scripting Host, write a vb or java script that
launches Access and uses the Run function of the Application object to call
your internal function. Lastly use the Windows Task Scheduler to launch
cscript.exe and the target script. If you need some samples, stop by our
web and look in the Code and Design tips area under both reports and the
general section to see some scripts that are used to run reports and/or
compact a db on a schedule.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top