sql - Importing query results from another database -
so have 2 access databases, let's call them mydatabase , anotherdatabase. in anotherdatabase there crosstab query. want results query produces mydatabase without making modifications anotherdatabase or query itself. want mydatabase enitrely self-sufficient in sense databases interacts not have modified.
could give me advice on how approach this?
use linked table manager link tables in anotherdatabase
mydatabase
. can have query anotherdatabase
in mydatabase
, use that.
in external data tab (in mydatabase
), click button says import access. except, instead of importing table, click radio button says "link data source creating linked table". follow wizard , should set.
you need link tables require query. option write vba code in mydatabase
instantiates connection anotherdatabase
, queries it, think linking tables better solution less hassle
Comments
Post a Comment