Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a DTS package through VB code from a front end

Status
Not open for further replies.

ksarma11

Programmer
Jun 26, 2002
3
0
0
US
I have a DTS package which I need to run once a month every month. But this should happen only when the user who logs in clicks a button from the front end. Is this possible? or will the best way be to schedule the package to run at the end of the month as a scheduled job?..

Thanks
 
I never tried this, it is just a thought. Could you have the button run a stored procedure that runs a job to execute the DTS package? Try the sp_start_job system stored procedure.

 
You can easily execute a DTS package from a VB program. Check the articles at SQLDTS.COM.


See faq183-962, "Where can I find more DTS information and samples?" for more DTS resources.
Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top