J
Jimbo
I have a crosstab query and I use an append query to take
those values into a table. Now I want to put all this into
some vba code. I was thinking i might have to use a ADODB
recordset to store the values from the Crosstab query into
a temp table in memory, then reference the table in
memeory with my append query something like:
SqlStringA = My Transform Code
Set rsSQLResultA = New ADODB.Recordset
rsSQLResultA.Open SqlStringA, CurrentProject.Connection,
adOpenStatic
SqlStringB = "INSERT INTO table * SELECT * FROM
rsSQLResultA
Will someting like this work if so how do I get it to
work, or you got a better way, thank in advance.
those values into a table. Now I want to put all this into
some vba code. I was thinking i might have to use a ADODB
recordset to store the values from the Crosstab query into
a temp table in memory, then reference the table in
memeory with my append query something like:
SqlStringA = My Transform Code
Set rsSQLResultA = New ADODB.Recordset
rsSQLResultA.Open SqlStringA, CurrentProject.Connection,
adOpenStatic
SqlStringB = "INSERT INTO table * SELECT * FROM
rsSQLResultA
Will someting like this work if so how do I get it to
work, or you got a better way, thank in advance.