Hi,
I'm executing a DTS package that I created in SQL Server from MS Access using hte following code:
Private Sub Staff_Click()
Dim objPkg
Set objPkg = CreateObject("DTS.Package2")
objPkg.LoadFromSQLServer "NTSLDEVSQL", "trainingevaluationuser", "trainingevaluationuser", , , , , "trainingEvaluation_updatestaff"
objPkg.Execute
Set objPkg = Nothing
End Sub
This works fine, but I want it to tell the user that the package has been run. Can someone please tell me how I do this? Or give me an example?
Thanks.
I'm executing a DTS package that I created in SQL Server from MS Access using hte following code:
Private Sub Staff_Click()
Dim objPkg
Set objPkg = CreateObject("DTS.Package2")
objPkg.LoadFromSQLServer "NTSLDEVSQL", "trainingevaluationuser", "trainingevaluationuser", , , , , "trainingEvaluation_updatestaff"
objPkg.Execute
Set objPkg = Nothing
End Sub
This works fine, but I want it to tell the user that the package has been run. Can someone please tell me how I do this? Or give me an example?
Thanks.