Changing primary view

ScottBeatty

Registered User.
Local time
Today, 05:31
Joined
May 31, 2013
Messages
65
Hi everyone. I was wondering if it is possible to change the primary view for queries from the table view to say, the Pivot Chart view?

Thanks
 
If you are opening the Query using DoCmd method you can control how it is opened..
Code:
DoCmd.OpenQuery "yourQueryName", acViewPivotChart
 
sorry what is the "DoCmd" method? I'd like to use a button in a form to automatically go to the Pivot Table if that helps at all
 
Oops the first button worked but now that I added, about 25 more, none of them work and they are all referencing different queries.

I'm getting the error message "The expression On Click you entered as the event property setting produce the following error: Ambiguous name detected [on a specific button, even though I copy and pasted and just changed the info]."

Any suggestions?
 

Users who are viewing this thread

Back
Top Bottom