OO4O : Oracollection within a stored procedure call [message #99736] |
Tue, 12 March 2002 01:28 |
Rob Sexton
Messages: 1 Registered: March 2002
|
Junior Member |
|
|
I need to call an Oracle Stored procedure from VB which returns amoungst other parameters, an oracle RECORD type as follows :-
TYPE single_entry_record IS RECORD (
source_data VARCHAR2(6),
product_suppressed pg_types.server_flag_array,
product_type pg_types.product_array,
num_of_products NUMBER,
booked_out VARCHAR(1),
read_only VARCHAR(1),
phonetic_flag VARCHAR(1),
booked_out_usr_id t_entry_bookout.user_id%TYPE,
booked_out_usr_name pg_user.pv_user_name%TYPE,
display_marker NUMBER,
etc.....................
I am having difficulty with the OO4O side in VB. I think I need to use an Oracollection and a ORATYPE_VARRAY or ORATYPE_TABLE. Can anyone point me in the direction of any code examples for this sort of thing. I can find examples using Dynasets, but I do want want to use this method.
Cheers,
Rob Sexton
|
|
|
|
|