HOWTO: Using the Data Environment Object to Get Records and Return Value from a Stored Procedure (192667)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q192667 SUMMARY
The Visual InterDev 6.0 Data Environment can be used as a wrapper around Microsoft ActiveX(r) Data Objects (ADO) to access data. When you create a data command in a Visual InterDev 6.0 project, you can access that command by using the Recordset Design-Time Control, and also by script through the use of the DERuntime.DERuntime object.
This article provides a code sample that shows how you can use the Data Environment object to access recordsets and values that are returned by a stored procedure in script. The sample Active Server Page (ASP) code that is provided in this article is Microsoft Visual Basic Script (VBScript).
NOTE: This article uses the Microsoft SQL Server database Pubs. It assumes that you have access to a SQL Server Pubs database.
REFERENCESFor additional information on using the data command against a stored procedure that returns only a RETURN value but no recordset, click the article number below
to view the article in the Microsoft Knowledge Base:
190762 PRB: Cannot Access a Stored Procedure's Return Value from DTC
Modification Type: | Major | Last Reviewed: | 11/14/2001 |
---|
Keywords: | kbDatabase kbDSupport kbhowto kbStoredProc KB192667 |
---|
|