I've not tried this but you should be able to use the DTS Package Object Library in VBA. Add reference to the Object Library and create a module similar to the one described in the Visual Basic example at SQLDTS.com.
You can also Shell to DTSRUN.EXE from Access. DTSRUN.EXE is documented in SQL BOL.
Another option create a Job that runs the package and start the job by executing the stored procedure sp_startjob. You can also start jobs using SQLDMO if you're interested in analyzing all the options. Terry L. Broadbent - DBA
Computing Links:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.