perfectchaoss
Programmer
Hi,
I am trying to execute a stored procedure in the onclick event of a command button. I already have the stored procedure working, i just need to be able to execute it. Here is what i have so far..
RunDTS is the name of my stored procedure.
Private Sub ImportNewItems_Click()
DoCmd.OpenStoredProcedure "RunDTS"
End Sub
(this returns the error: access cant find the object "RunDTS"
The procedure returns no parameters, it just has to execute.
any ideas?
I am trying to execute a stored procedure in the onclick event of a command button. I already have the stored procedure working, i just need to be able to execute it. Here is what i have so far..
RunDTS is the name of my stored procedure.
Private Sub ImportNewItems_Click()
DoCmd.OpenStoredProcedure "RunDTS"
End Sub
(this returns the error: access cant find the object "RunDTS"
The procedure returns no parameters, it just has to execute.
any ideas?