CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Madrid (Spain)
    Posts
    46

    Different Queries with Recordset

    I'm working with a Data Base and I'm using ADOR recordset.

    I would like to know if after to open the recordset with the following parameter
    (rs_pp.Open “Select * from my_table”, “my_BD”)
    I can to make another query without to close the recordset.

    Can I make different queries into the same table with the same recorset?. The queries, logically, would be in different time.
    If this subject is possible how can I make it?

    Thanks for your help......



  2. #2
    Join Date
    Mar 2000
    Location
    Israel
    Posts
    24

    Re: Different Queries with Recordset

    a recordset object IS the records you get from a query. the only way u can use the same object for few recordsets, is to use:
    set rs_pp=new ador.recordset
    everytime before u call '.open'


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

Featured