all groups > sql server new users > december 2004 >
You're in the

sql server new users

group:

stored procedure executed successfully but did not return records


stored procedure executed successfully but did not return records Nickl
12/4/2004 3:55:02 AM
sql server new users:
When I run a stored procedure from an Access Project I get the above message,
and I don't my users will like it. Does anyone know why this message appears
and how I can get rid of it? It happens with or without the "Set NoCount On"
line

This is how the Proc looks via Access:

ALTER PROCEDURE dbo.pDeleteGrowersTemp
AS DELETE FROM dbo.tblGrowersTemp
SET NOCOUNT ON

RE: stored procedure executed successfully but did not return records Nickl
12/4/2004 4:03:02 AM
The message I receive is "stored procedure executed successfully but did not
return records"

[quoted text, click to view]
RE: stored procedure executed successfully but did not return reco Ed
12/4/2004 9:39:02 PM
Are you running it in Access Project --> Stored procedure or in VB code?
I remember there should be a place to set the warning on/off... i cannot
recall where to set it now...
but another way to do it is create a vb code and key in
docmd.warning false
then run it...
that should turn off that message...

Ed

[quoted text, click to view]
RE: stored procedure executed successfully but did not return reco Nickl
12/5/2004 4:29:02 PM
VBA code in an Access project and setting the warning to FALSE worked.
Thank you very much.
Just for interest, I had actually set warning to FALSE in the SUb that
called the function that had the Proc, but I actually had to do it in the
function.

[quoted text, click to view]
AddThis Social Bookmark Button