PC Review


Reply
Thread Tools Rate Thread

Changing the Datasource of a Pivot Table

 
 
James
Guest
Posts: n/a
 
      16th Oct 2003
Hello group:

I've got a strange one here........

I current have an Excel spreadsheet with a pivot table on it that is
currently linked by ODBC to Microsoft Access. The Access database is
being moved to SQL server, so now we have to change the pointer on the
spreadsheet. Additional fields will be added in the SQL server
database, but all existing fields in the Access side will still be
available.

When I right-click the Pivot Table and click refresh, I get the ODBC
link not found or whatever error - as I expected. When I browse to the
file DSN I set up for the spreadsheet to use, I am prompted by the SQL
Server logon dialog box, even tho the DSN file has all the correct
information. Anyway, I can supply the correct logon credentials, click
ok then I get the error:

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect
syntax near '`'.

However, if I create a new pivottable on the same sheet, or even a
different sheet using the same procedure above, I am not prompted by
the SQL Server logon dialog box when I select my DSN file, and the
connection is made successfully.

How can I possibly fix this? I have no idea what Line 1 it is talking
about.

Thanks for any help,

James Lankford
 
Reply With Quote
 
 
 
 
aaron.kempf@gmail.com
Guest
Posts: n/a
 
      30th Dec 2004
if you're trying to do a ODBC link to sql server from excel; you're
crazy

use SQL Server Analysis Services.
it is much more flexible and 100 times faster

 
Reply With Quote
 
Ken Wright
Guest
Posts: n/a
 
      30th Dec 2004
Another fictitious reply to a non-existent post just to get a rant into the
newsgroups - Petty beyond belief.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> if you're trying to do a ODBC link to sql server from excel; you're
> crazy
>
> use SQL Server Analysis Services.
> it is much more flexible and 100 times faster
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing pivot datasource by formulas? Snoopy Microsoft Excel Discussion 1 28th Apr 2009 11:48 AM
Pivot Tables -changing datasource for exsting Pivot Table =?Utf-8?B?a2ZzY2hhZWZlcg==?= Microsoft Excel Setup 0 30th May 2006 06:36 PM
Pivot Table Datasource Charles Microsoft Excel Programming 1 11th May 2004 12:48 PM
Changing ODBC datasource for a Pivot Table Sean Lambert Microsoft Excel Misc 2 12th Mar 2004 06:26 PM
Changing ODBC datasource for a Pivot Table Sean Lambert Microsoft Excel Programming 2 12th Mar 2004 06:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 PM.