Results 1 to 7 of 7
  1. #1
    jet_speed is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    8

    How to add Pivot Table to Switch Manager button


    (MS Project 2010) I need to be able to open a basic pivot table in Access runtime. I am creating a switchmanager but do not know how to add the pivot table option on the switch box.
    I found vba intructions online but I am new to vba.


    Is there an easier way to do this. Either way I need intructions on how to add the pivot table to the switch box and how to get to the correct vba screen if needed.


    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    What is 'switch box'?

    Create a form based on the table and set the form default view to PivotTable. Open the form just as would any form.

    Be aware MS removed pivot table/chart functionality from Access 2013.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jet_speed is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    8
    Sorry I meant switchboard.

    I am the only one with full access 2010. I have people with only Access run time needing to view the pivot table in run time. The pivot table will not open in runtime unless it is off of a selection on a switch board. So I need to construct the pivot table off a switch board.

    Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Sorry, I've never used runtime. I am not sure what you mean by 'off of a selection on a switch board' and 'construct the pivot table off a switch board'.

    Pivot table is constructed on a table (or form with table/query as recordsource).

    Build the pivot form then set a button on switchboard to open the form.

    Will a pivot object even work in runtime?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    jet_speed is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    8
    Yes pivots work in runtime but needs to be on a switchboard to open in runtime. I figured it out somewhat. I changed the macro in the button expression builder to open in pivot table but all the forms open in pivot table view not just the one I need.

    Still trying to figure it out piece by piece.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Did you try just setting the form's DefaultView property and then just opening the form from the macro without any additional parameters in the macro?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    jet_speed is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    8
    Yes, the default view only work for the full version of access. The runtime needs to open it off a switchboard.

    I think I figured it out with changing the view format in the expression builder.

    Thank you for your help.

    I might have more questions in the coming months as I am building this status database.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-12-2012, 03:46 PM
  2. Replies: 3
    Last Post: 10-13-2010, 09:40 AM
  3. Replies: 11
    Last Post: 10-01-2010, 11:12 PM
  4. Linkes Table manager
    By nikoo56 in forum Access
    Replies: 1
    Last Post: 08-26-2010, 07:42 AM
  5. Linked Table Manager
    By driccardi in forum Access
    Replies: 4
    Last Post: 02-15-2006, 11:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums