M
Mark
I have this problem and I hope that someone can help me.
When I create a stored procedure in access Xp with this command:
Set cnn = CurrentProject.Connection
criteria = "create procedure " & ProcedureName & " as select * from " &
Txt35 & " where " & Txt38
cnn.Execute (criteria)
cnn.Close
and I execute the procedure
DoCmd.OpenStoredProcedure ProcedureName, acViewNormal, acReadOnly
I get an error. Access tells me that there is no procedure with that name
"ProcedureName" .
If I have a look in SQL Server I will find the procedure with that name and
it will work fine.
I think that this happens because the procedure name is not in the adp
database.
How can I solve this problem?
Thanks in advance
Marco Dell'Oca
When I create a stored procedure in access Xp with this command:
Set cnn = CurrentProject.Connection
criteria = "create procedure " & ProcedureName & " as select * from " &
Txt35 & " where " & Txt38
cnn.Execute (criteria)
cnn.Close
and I execute the procedure
DoCmd.OpenStoredProcedure ProcedureName, acViewNormal, acReadOnly
I get an error. Access tells me that there is no procedure with that name
"ProcedureName" .
If I have a look in SQL Server I will find the procedure with that name and
it will work fine.
I think that this happens because the procedure name is not in the adp
database.
How can I solve this problem?
Thanks in advance
Marco Dell'Oca