LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Table queries not updating when parameter changes

Using Excel 2007.

I have a table with a database query which contains parameters.
The SQL for the query looks like:
{Call p_GetData(?, ?) }
and the parameter is named.

Let's say that this is on a sheet called QuerySheet.

Let's say there is another sheet called DataSheet. It has a cell on it which
is named "ImportantData"

When I right click on the table on the sheet, and bring up the Parameters
form, I can see that both parameters are marked "Refresh automatically when
cell value changes"

The cell that the parameter is tied to is calculated on another sheet, but
I have a cell on the sheet that contains the query, which duplicates the
value, i.e.
QuerySheet!$A$1 is set to =ImportantData, and Parameter1 for the query is
set to QuerySheet!$A$1

When I change the value on the DataSheet, and switch back to QuerySheet I
see that QuerySheet!A1 has been updated, but the query has not been re-run.

I notice that there was a SP for Office 2000 that fixed a problem that
seemed related, but I don't see anything regarding the problem in Excel 2007.
 
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
Parameter queries in Excel 2007 Sam in Chicago Excel Discussion (Misc queries) 0 April 11th 08 10:12 PM
MS query--can it handle parameter queries from Access? Dave F Excel Discussion (Misc queries) 0 September 13th 06 02:41 PM
Queries on Pivot table Hari Excel Discussion (Misc queries) 4 June 9th 06 04:01 AM
Where can I learn how to create parameter queries in Excel? Mark Excel Discussion (Misc queries) 1 January 23rd 06 02:31 PM


All times are GMT +1. The time now is 10:36 PM.

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

About Us

"It's about Microsoft Excel"