Solved

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

Posted on 2007-04-04
2
248 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
2 Comments
 

Author Comment

by:michaelrobertfrench
Comment Utility
How about on the form property "Input Parameter" edit to:

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

Accepted Solution

by:
Christopher Kile earned 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now