Solved

Handling multiple oracle refcursors in vb

Posted on 2006-10-24
8
411 Views
Last Modified: 2012-08-14
Hi All,

I have an oracle procedure returning three ref cursors.  I have to call the procedure from vb and hold the output in three different recordset object.  How is it possible?  Please share the code snippet with me.

I have searched EE, there are examples for handling one refcursor.  But I am unable to tweak that code for my requirement.
0
Comment
Question by:cts_teambo
8 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 68 total points
ID: 17798100
0
 
LVL 29

Assisted Solution

by:leonstryker
leonstryker earned 66 total points
ID: 17798226
This will show you how to handle multiple recordset:

http://www.4guysfromrolla.com/webtech/083101-1.shtml

Leon
0
 
LVL 18

Assisted Solution

by:JR2003
JR2003 earned 66 total points
ID: 17798752
You can copy a recordset to a disconnected recordset.
http://vbforums.com/showthread.php?p=2263813

You use the .NextRecordset  function to move to the next recordset.
0
 

Author Comment

by:cts_teambo
ID: 17825020
The examples given in the above websites are for SQL server.
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 17833929
So what?  Once the data is in the recordset object it is exactly the same.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

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

12 Experts available now in Live!

Get 1:1 Help Now