Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 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 October 31st, 2003, 08:24 AM
Registered User
 
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herlenrosa
Default manipulate multiple values returned by stored proc

Hi
   I have a stored procedure which returns multiple values say..

CREATE OR REPLACE PACKAGE "ANS"."PKG_TEST1" as
   TYPE test_val IS TABLE OF paper.n_val%TYPE;
   procedure test_proc(v_alue out test_val);
 end;

CREATE OR REPLACE PACKAGE BODY "ANS"."PKG_TEST1" as
 procedure test_proc(v_alue out test_val) as
  begin
     select n_val bulk collect into v_alue from paper;
  end;
 end;

can any one help me to call the procedure and store the returned value in visual basic 6 so that i can manipulate the same .

 I use ADODB , & ORALCE PROVIDER FOR OLEDB for connection

what are the different ways I can call this stored procedure to return the above data ?

                 Please Help


 
Old November 10th, 2003, 12:37 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

check this link
copy this link to explorer


http://support.microsoft.com/default...&Product=sql2k

Ahmed Ali
Software Developer
 
Old November 10th, 2003, 12:41 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

also see this link related to oracle and ado

http://support.microsoft.com/default...b;EN-US;229919

Ahmed Ali
Software Developer
 
Old November 11th, 2003, 06:51 AM
Registered User
 
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herlenrosa
Default

thanks I solved my problem






Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling an insert stored proc from a select stored dzitam SQL Language 10 April 2nd, 2007 12:39 PM
Retrieving returned value from stored proc ajit Java Databases 1 August 29th, 2006 09:49 AM
Use returned cursor in another PL/SQL proc robertogalbiati Oracle 0 January 5th, 2006 12:19 PM
manipulate data returned using client script alyeng2000 Classic ASP Databases 5 December 9th, 2003 01:39 PM
manipulate multiple returned values from oracle st herlenrosa Pro VB Databases 1 November 12th, 2003 03:24 AM





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