Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

limiting pivotTables

Status
Not open for further replies.

ion97

Technical User
Joined
Mar 27, 2001
Messages
1
Location
GR
I have created a few pivot tables in my database which are based on select queries. All of these queries include a date field
What I want to do, is to have the user to set a date which will filter the query (and accordingly the data viewed on the pivot table)
However: when I use a criteria expression in the query such as "=[forms]![MyForm].[DateOnForm]",
the pivot table cannot be refreshed!!!
And it is really important that the data on the pivotTable is limited to the date selected by the user.
Strangely enough, when I go to the design view of the form and set a date to the criteria line, (not "forms![MyForm].[DateOnForm]" but =#23/3/2001#, the Pivot Table is updated and works allright.

Does anyone know anything, or knows a way to get around this problem?
Any help or idea would be kindly appreciated, sinc I'm desperate!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top