Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Changing Database links?

I have an access database (2007) containing data which I have summarised via
Pivot Tables in an Excel spreadsheet (2007) using Microsoft query (and pivot
the data in excel). The access database contains realtime information, and
hence the pivot tables are refreshed daily to review performance.

I need to move the file location of the database, but when I do this, the
pivot tables are no longer valid, and I can't update them.

I would like to know if there is a way you can move the database and then
update all links in the excel workbook without having to re-build all the
queries individually and link them to the new location of the moved access
database.

Is there a way to update links, similar to how you would in Excel (DataEdit
Links)

Any advice would be very much appreciated
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Changing Database links?

You can't change the connection properties in queries but you can retrieve
the old SQL statements and paste then into a new query.

If you click on a cell in the Pivot Table then go to menu

Data - Import External Data - Edit Query

the edit window will have a SQL button. Copy the text from this window.
then create a query to a new database. go to Edit Query again and past ethe
text you extracted fro the old query.

"RozBentley" wrote:

I have an access database (2007) containing data which I have summarised via
Pivot Tables in an Excel spreadsheet (2007) using Microsoft query (and pivot
the data in excel). The access database contains realtime information, and
hence the pivot tables are refreshed daily to review performance.

I need to move the file location of the database, but when I do this, the
pivot tables are no longer valid, and I can't update them.

I would like to know if there is a way you can move the database and then
update all links in the excel workbook without having to re-build all the
queries individually and link them to the new location of the moved access
database.

Is there a way to update links, similar to how you would in Excel (DataEdit
Links)

Any advice would be very much appreciated

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Changing Database links?

Thank you for your reply Joel, yes, I know that I can copy SQL, but as I have
so many queries in so many spreadsheets, I was hoping their might be an other
way?
--
Rosalyn Bentley
Financial Controller
The Mileage Company


"joel" wrote:

You can't change the connection properties in queries but you can retrieve
the old SQL statements and paste then into a new query.

If you click on a cell in the Pivot Table then go to menu

Data - Import External Data - Edit Query

the edit window will have a SQL button. Copy the text from this window.
then create a query to a new database. go to Edit Query again and past ethe
text you extracted fro the old query.

"RozBentley" wrote:

I have an access database (2007) containing data which I have summarised via
Pivot Tables in an Excel spreadsheet (2007) using Microsoft query (and pivot
the data in excel). The access database contains realtime information, and
hence the pivot tables are refreshed daily to review performance.

I need to move the file location of the database, but when I do this, the
pivot tables are no longer valid, and I can't update them.

I would like to know if there is a way you can move the database and then
update all links in the excel workbook without having to re-build all the
queries individually and link them to the new location of the moved access
database.

Is there a way to update links, similar to how you would in Excel (DataEdit
Links)

Any advice would be very much appreciated

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Changing Database links?

Hi Roz

Take a look at the PivotPlay Addin, created by Ron Coderre.
You can find it on Debra Dalgleish's site
http://www.contextures.com/xlPivotPlayPLUS01.html

--
Regards
Roger Govier

"RozBentley" wrote in message
...
I have an access database (2007) containing data which I have summarised
via
Pivot Tables in an Excel spreadsheet (2007) using Microsoft query (and
pivot
the data in excel). The access database contains realtime information, and
hence the pivot tables are refreshed daily to review performance.

I need to move the file location of the database, but when I do this, the
pivot tables are no longer valid, and I can't update them.

I would like to know if there is a way you can move the database and then
update all links in the excel workbook without having to re-build all the
queries individually and link them to the new location of the moved access
database.

Is there a way to update links, similar to how you would in Excel
(DataEdit
Links)

Any advice would be very much appreciated


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Links: Changing links on a protected worksheet Halibut68 Excel Discussion (Misc queries) 0 April 28th 06 11:03 AM
Changing the source of links. rj Excel Discussion (Misc queries) 0 April 26th 06 03:59 PM
Database-like cross-worksheets links moruga Excel Discussion (Misc queries) 1 December 7th 05 01:16 AM
Links to External Database Rubble Excel Discussion (Misc queries) 0 July 20th 05 10:44 PM
Changing Links Paul Excel Discussion (Misc queries) 0 March 30th 05 05:59 PM


All times are GMT +1. The time now is 12:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"