DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: simple query assitance wanted

  1. #1
    Join Date
    Dec 2001
    Posts
    26

    Question simple query assitance wanted

    Hi,

    I have a stored procedure with which i intend to return a custom recordset (by means of a cursor to VB) .. the data that i am returning consists of a large number of columns (around 300) and one record holding values for these columns .. since this data is not in a table.. how can i make a view or a table and make the call like 'open cur_ret for strQryName' which will create a cursor on this temp data.

    to make this clearer

    i have data in tables A and B
    Table A (columns)

    field1, field2, field3, ...... field300

    Table B (fieldvals)

    fval1, fval2, fval4, ...... fval300

    How do i combine these 2 above to make a recordset that can passed back.

    Thanks

    TOG.

  2. #2
    Join Date
    Dec 2001
    Posts
    26

    solved it

    I know it was a weird question anyway..
    anyhow . i used oo4o and returned the two sets of array to the vb function and formed a ado recordset there.

    thanks for dropping by.

    TOg.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width