B
Bill Gates
Hello All,
I have a requirement to produce a series of reports based on data in a SQL
database. The SQL Database has a number of different databases within it,
all databases have the same tables, views, stored procedures etc yet all
contain different data.
I need to produce a single spreadsheet containing all of the reports which
is capable of access all of the different databases depending on a field
value on one of the worksheets.
All of the reports will only access one database at any one time.
What I think I need to do is manually (through code/macro) modify each
QueryTable's connection string?
Does anyone out there know if this is the correct way to do this, or if
there is any easier way. also has anyone already done it!!!
All help will be appreciated.
Regards
Bill
I have a requirement to produce a series of reports based on data in a SQL
database. The SQL Database has a number of different databases within it,
all databases have the same tables, views, stored procedures etc yet all
contain different data.
I need to produce a single spreadsheet containing all of the reports which
is capable of access all of the different databases depending on a field
value on one of the worksheets.
All of the reports will only access one database at any one time.
What I think I need to do is manually (through code/macro) modify each
QueryTable's connection string?
Does anyone out there know if this is the correct way to do this, or if
there is any easier way. also has anyone already done it!!!
All help will be appreciated.
Regards
Bill