PC Review


Reply
Thread Tools Rate Thread

displaying a pivot table view from a switchboard option

 
 
Joe
Guest
Posts: n/a
 
      31st Dec 2006
I've created some pivot table views compiling some statistics from a
table. I'd like to have the pivot table view displayed directly from a
switchboard option. At present, I only get the table view of what
should be the pivot table view when the choice is made. Any suggestions
on how to get the pivot table view rather than the table view? I can do
it manually after the table view is displayed but I want to have the
pivot table view displayed for some not techie people who use the
database.

I'm using Access 2003.

Joe

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIFdpY2tlcmF0aA==?=
Guest
Posts: n/a
 
      1st Jan 2007
Hi Joe,

Are you attempting to open a table directly, and then use the View >
PivotTable View menu command? If so, try creating a form instead. Set the
default view to Pivot Table. Or, use VBA code to open your form from a
switchboard:

DoCmd.openForm FormName:="YourFormName", View:=acFormPivotTable


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/ex...tributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

"Joe" wrote:

> I've created some pivot table views compiling some statistics from a
> table. I'd like to have the pivot table view displayed directly from a
> switchboard option. At present, I only get the table view of what
> should be the pivot table view when the choice is made. Any suggestions
> on how to get the pivot table view rather than the table view? I can do
> it manually after the table view is displayed but I want to have the
> pivot table view displayed for some not techie people who use the
> database.
>
> I'm using Access 2003.
>
> Joe

 
Reply With Quote
 
Joe
Guest
Posts: n/a
 
      1st Jan 2007
Thanks Tom. I originally did save the form in PivotTable view but the
switchboard manager doesn't have an option to open a form to 'view',
only to 'edit' and/or 'add'. However, the VB code you provided did the
trick for me. I'm not that familiar with VBA so it took quite some time
to figure out where to put the code. It works perfectly, thanks again.

Joe


Tom Wickerath wrote:
> Hi Joe,
>
> Are you attempting to open a table directly, and then use the View >
> PivotTable View menu command? If so, try creating a form instead. Set the
> default view to Pivot Table. Or, use VBA code to open your form from a
> switchboard:
>
> DoCmd.openForm FormName:="YourFormName", View:=acFormPivotTable
>
>
> Tom Wickerath
> Microsoft Access MVP
>
> http://www.access.qbuilt.com/html/ex...tributors.html
> http://www.access.qbuilt.com/html/search.html
> __________________________________________
>
> "Joe" wrote:
>
> > I've created some pivot table views compiling some statistics from a
> > table. I'd like to have the pivot table view displayed directly from a
> > switchboard option. At present, I only get the table view of what
> > should be the pivot table view when the choice is made. Any suggestions
> > on how to get the pivot table view rather than the table view? I can do
> > it manually after the table view is displayed but I want to have the
> > pivot table view displayed for some not techie people who use the
> > database.
> >
> > I'm using Access 2003.
> >
> > Joe


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switchboard only one option in design view Taz Microsoft Access Getting Started 0 9th Feb 2009 03:49 PM
Switchboard only one option in design view Taz Microsoft Access Getting Started 0 9th Feb 2009 03:49 PM
preserve formatting option in pivot table option dialog box =?Utf-8?B?RGF2ZSBG?= Microsoft Excel Misc 4 8th May 2008 07:25 PM
Can you pull a pivot table from Pivot Table View into a report? =?Utf-8?B?cXVlcnkwNjEy?= Microsoft Access Queries 2 7th Apr 2006 01:31 PM
switchboard changes my pivot table =?Utf-8?B?RWRMZWVZb3VuZw==?= Microsoft Access 0 20th Feb 2006 04:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 PM.