Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 19th, 2004, 06:22 PM
RGC RGC is offline
Registered User
 
Join Date: Jan 2004
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.
 
Old June 18th, 2004, 02:16 AM
Authorized User
 
Join Date: May 2004
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






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





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