I'm trying to get the results of a query on a SQL database to write into a table in my local Access database.
In the past, I've got by with slightly kludgy macros using "send-keys" to rewrite pass-through queries on the fly, but this is proving less than robust in Citrix environments, forcing me to start learning VBA/ADO:
So far, I've figured out how to use ADO to set the connection to SQL, and can create a table in the SQL database with the results I want in it... but struggling to find a way to use the recordset to create a table locally in my Access database.
In the past, I've got by with slightly kludgy macros using "send-keys" to rewrite pass-through queries on the fly, but this is proving less than robust in Citrix environments, forcing me to start learning VBA/ADO:
So far, I've figured out how to use ADO to set the connection to SQL, and can create a table in the SQL database with the results I want in it... but struggling to find a way to use the recordset to create a table locally in my Access database.