L
Louis
Hi
I am using a MySQl backend with access2k frontend. I am trying to build a
way for the user to have a temporary offline version of the data stored into
the mdb file. So a copy of the MySQL table has been placed in Acces (ive
sorted out the column types so they match exactly. I need statement in VB
that will allow me to do it quickly and easily.
My main block is that the two tables are on different connections but ado
only allows one connection in an execution.
ie.
Dim rst as adodb.recordset
set rst = new adodb.recordset
rst.activeconnectionm = currentProject.connection
rst.open "INSERT INTO tbl_temp2 (fld_id)
SELECT tbl_temp1.fld_order_id
FROM tbl_temp1
The tbl_temp1 table is not in the currentProject.Connection - its in
mysqldbconnection
I am using a MySQl backend with access2k frontend. I am trying to build a
way for the user to have a temporary offline version of the data stored into
the mdb file. So a copy of the MySQL table has been placed in Acces (ive
sorted out the column types so they match exactly. I need statement in VB
that will allow me to do it quickly and easily.
My main block is that the two tables are on different connections but ado
only allows one connection in an execution.
ie.
Dim rst as adodb.recordset
set rst = new adodb.recordset
rst.activeconnectionm = currentProject.connection
rst.open "INSERT INTO tbl_temp2 (fld_id)
SELECT tbl_temp1.fld_order_id
FROM tbl_temp1
The tbl_temp1 table is not in the currentProject.Connection - its in
mysqldbconnection