ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pivot table source data question (https://www.excelbanter.com/excel-programming/292000-pivot-table-source-data-question.html)

MattShoreson[_11_]

Pivot table source data question
 
I have a pivot table using a stored proc on a sql server db.
I can repoint this pivot table to different stored procs on the same
ODBC DSN.
Is there any way to repoint the Pivot to a different DSN?
i.e. to use the same stored proc but on a different SQL db using a
different DSN?

Cheers in Advance.
Matt.


---
Message posted from http://www.ExcelForum.com/


Tom Ogilvy

Pivot table source data question
 
If you mean with code. Look at the connection and sql properties of the
pivotcache. Query the current value and then see how you would modify it to
redirect.

--
Regards,
Tom Ogilvy


"MattShoreson " wrote in
message ...
I have a pivot table using a stored proc on a sql server db.
I can repoint this pivot table to different stored procs on the same
ODBC DSN.
Is there any way to repoint the Pivot to a different DSN?
i.e. to use the same stored proc but on a different SQL db using a
different DSN?

Cheers in Advance.
Matt.


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com