I am trying to open a stored procedure in ADP using a form. There is a button that I will use to open the stored procedure and I am using the following VBA behind it. It gives me an error...saying that the stored procedure is not found.
DeanProcedure is the stored procedure that i am trying to open.
Private Sub Command1_Click()
On Error GoTo Err_Command1_Click
Dim DocName As String
Dim LinkCriteria As String
DocName = "DeanProcedure"
DoCmd.OpenQuery DocName, acViewNormal
End Sub
Any help that I can get will be very much appreciated.
Thanks,
chris
DeanProcedure is the stored procedure that i am trying to open.
Private Sub Command1_Click()
On Error GoTo Err_Command1_Click
Dim DocName As String
Dim LinkCriteria As String
DocName = "DeanProcedure"
DoCmd.OpenQuery DocName, acViewNormal
End Sub
Any help that I can get will be very much appreciated.
Thanks,
chris