Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-04-04
2
Medium Priority
?
259 Views
Last Modified: 2013-12-05
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?
0
Comment
Question by:michaelrobertfrench
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:michaelrobertfrench
ID: 18852060
How about on the form property "Input Parameter" edit to:

@Table = "TBL_METADATA", @OUTPUT = "BogusToSuppressMessage"
0
 
LVL 23

Accepted Solution

by:
Christopher Kile earned 2000 total points
ID: 18852111
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

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
What we learned in Webroot's webinar on multi-vector protection.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question