Saved Query Modification

ctr1085

Registered User.
Local time
Today, 06:17
Joined
Jul 7, 2006
Messages
26
Does anyone know how to manipulate a saved query? I want to change the select statement with code so that my pivot table will use the new records. Any information would be appreciated.
 
CurrentDb.QueryDefs("Query1").SQL="SELECT 0;"
 
What exactly are you doing? You may not want to handle it this way. There are nice benefits to leaving the SQL alone (it speeds up data retrieval). A filter could better suit your needs.
 
Can you explaing how I can filter the query for my pivot table?
 

Users who are viewing this thread

Back
Top Bottom