Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 19th, 2004, 06:22 PM
RGC RGC is offline
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling oracle packages from VB

I have a procedure defined as:
PROCEDURE FindMillOrdPiecesOnLineup
(PceCustomRouteRefCur OUT PCE_CUSTOM_ROUTE_REF_CUR_TYPE, MillCustRefCur OUT MILL_CUST_REF_CUR_TYPE,
PceLineUpVerRefCur IN PCE_LINEUP_VER_REF_CUR_TYPE);

That makes for two record sets coming out and I can deal with the output record sets as per the Oracle OLE DB instructions WHAT I CAN NOT FIGURE OUT IS:
1) Can you pass in a record set INTO an oracle procedure?
   If so, how?
2) If you can not (and I don't think you can) then is it possible to passing several arrays (one per column)? What would the create parameter statement look like on the VB side and what variable type needs te used on the Oracle side.

If you have any sample code that comes close to this situation please pass it on. I really don't want to have to pass in a formatted string that I will have to parse as part of the oracle programme.

Thanks,
Bob.
Reply With Quote
  #2 (permalink)  
Old June 18th, 2004, 02:16 AM
Authorized User
 
Join Date: May 2004
Location: Phnom Penh, , Cambodia.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to myedu2k4
Default

Yes for sure we can pass Oracle recordset into procedure. I forgot it let me check it out.

Pheap

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calling an oracle function from VB6 kalyansarkar108 VB Databases Basics 14 April 3rd, 2007 12:02 PM
Calling Oracle function from Vb.net class monuindia2002 ADO.NET 1 August 4th, 2006 05:00 AM
Calling an Oracle Stored Procedure booksnore2 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 October 1st, 2004 09:35 AM
CALLING ORACLE SELECT PROCEDURE danielwajnberg Oracle 1 November 20th, 2003 09:36 PM
DTS packages from VB 6 to VB .NET petroleo SQL Server DTS 0 August 18th, 2003 04:59 PM



All times are GMT -4. The time now is 10:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.