Hello!
Is there a way to do joins on recordsets when one comes from, say a table in an Interbase database, and the other an MS Access table?
I am used to using FoxPro where you can create multiple cursors from wherever (it doesn't matter where they came from), and then perform any table/join/filter/order/etc. function on the cursor after it is created in FoxPro (a cursor is an invisible table, it doesn't have any visible GUI to go along with it).
I was wondering if you could do the same thing in ADO/MS Access, or do you have to actually create a table, and then use the table to create a new recordset or query.
Like:
....then join rst1 to rst2????
Many thanks.
-Mike
Is there a way to do joins on recordsets when one comes from, say a table in an Interbase database, and the other an MS Access table?
I am used to using FoxPro where you can create multiple cursors from wherever (it doesn't matter where they came from), and then perform any table/join/filter/order/etc. function on the cursor after it is created in FoxPro (a cursor is an invisible table, it doesn't have any visible GUI to go along with it).
I was wondering if you could do the same thing in ADO/MS Access, or do you have to actually create a table, and then use the table to create a new recordset or query.
Like:
Code:
Dim rst1 as new adodb.recordset
dim rst2 as new adodb.recordset
Dim sSQL as string
Dim cnADO as adodb.connection
cnado.open "SOMEINTERBASECONNECTION"
sSQL="SELECT * from someInterbasetable"
rst1.open sSQL,cnADO
cnADO.close
cnADO.open currentproject.connection
sSQL="select * from SomeNativeMSAccessTable"
rst2.open sSQL,cnADO
Many thanks.
-Mike