I only want one recordset.

Results 1 to 2 of 2

Thread: I only want one recordset.

  1. #1
    Join Date
    Dec 1969

    Default I only want one recordset.

    The following code creates two recordsets. How would I alter it to insert the data from the second select statement into the first recordset?<BR><BR>Dim objRS<BR>Set objRS = Server.CreateObject("ADODB.Recordset")<BR>strSQL = some select statement<BR>objRS.Open strSQL, objConn<BR><BR>Dim objRS2<BR>Set objRS2 = Server.CreateObject("ADODB.Recordset")<BR>strSQL2 = some select statement<BR>objRS2.Open strSQL2, objConn

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: I only want one recordset.

    strSQL = "some select statement;Some other select statement"<BR><BR>then use the .nextrecordset property to move to the other set of records

Posting Permissions

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