|
-
Apr 9th, 2007, 02:23 AM
#1
Thread Starter
Hyperactive Member
How can I equate 2 record sets?
Hi,
Here is how I am connecting to access database:
rs As ADODB.Recordset
rs1 As ADODB.Recordset
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source= " & MyAppPath & "\Vehicle_sales.mdb"
cn.Open
Set rs = New ADODB.Recordset
sSql = "SELECT * FROM Payments "
sSql = sSql & "WHERE PO_id = " & POid & " "
sSql = sSql & "AND Cust_id = " & Cid
Set rs = cn.Execute(sSql)
No I want to equate rs1 = rs. How can I do that?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|