SQL Server 2000 - TSQL - Access 2003 - Stored Procedure - Output Parameter - How to?

SQL Server 2000 - TSQL - Access 2003 - .adp - Stored Procedure - Output Parameter
I have a stored procedure that contains an Output Parameter
On an Unbound Access Form this stored procedure is used as the record source of the form and also has a Input Parameter for the stored procedure as another form property.
My question is this:
When opening the form - I get a message asking to Enter Parameter Value of the output parameter of the given stored procedure.  How do I supress this message without recoding the stored procedure - because I often want to run it in QA - and there it may be useful to see the output parameter of the stored procedure?
michaelrobertfrenchAsked:
Who is Participating?
 
Christopher KileConnect With a Mentor Commented:
You have a stored procedure returning both a recordset and an output parameter?  Wrap it in a stored procedure that includes all the input parameters for your original procedure, but does NOT include the output parameter.  Call the original procedure within your new procedure and discard the output parameter.  This allows you to call the original procedure from QA while allowing your Access form to call the new procedure, which has no output parameter and will not prompt for one.
0
 
michaelrobertfrenchAuthor Commented:
How about on the form property "Input Parameter" edit to:

@Table = "TBL_METADATA", @OUTPUT = "BogusToSuppressMessage"
0
All Courses

From novice to tech pro — start learning today.