J
Jack
Hello all,
I'm hoping someone can tell me how I can use a single sql
statement to form a make table query that will select data
from one data-source and make the table in a second. Here
is something that may make this easier to understand:
Dim db1 As NEW ADODB.Connection
Dim db2 As NEW ADODB.Connection
Set db1 = CurrentProject.Connection
db2.Open "MyDSN"
db.Execute = "SELECT * FROM db2-Table INTO db-Table;"
So, in this example, I want to use a make-table query to
SELECT data from a table in db2 INTO a new table in db1,
all in a single sql statement.
Thanks to anyone who can help!
-Jack
I'm hoping someone can tell me how I can use a single sql
statement to form a make table query that will select data
from one data-source and make the table in a second. Here
is something that may make this easier to understand:
Dim db1 As NEW ADODB.Connection
Dim db2 As NEW ADODB.Connection
Set db1 = CurrentProject.Connection
db2.Open "MyDSN"
db.Execute = "SELECT * FROM db2-Table INTO db-Table;"
So, in this example, I want to use a make-table query to
SELECT data from a table in db2 INTO a new table in db1,
all in a single sql statement.
Thanks to anyone who can help!
-Jack