Steps to Reproduce Behavior
- Open the sample Access project, NorthwindCS.adp.
- In the Database window, click Stored Procedures under Objects, and then click New.
- In a new stored procedure window, enter the following text:
CREATE PROCEDURE Sqroot
(
@EnterValue int,
@Result int OUTPUT
)
AS
SELECT @Result = SQRT(@EnterValue)
- Close and save the stored procedure as "Sqroot" (without quotation marks).
When you run the stored procedure that you've just created, you are prompted for both the input parameter and the output parameter. When you click
OK on the prompt for the output parameter, Microsoft Access returns the following message:
The Stored Procedure executed successfully but did not return records.