Skip to content
  • Home
  • Services
  • Products & Downloads
  • Store
  • Blog
  • About Us
  • Mentoring & Training

Ohio FileMaker Development

Tag Archives: Pivot Tables

CC Pivot Is In My File. How Can I Upgrade?

August 25, 2011
Leave a comment

If you have already spent some time integrating CC Pivot into your own file (and out of the CC Pivot file), and you have seen the upgraded version (if not you can get it here) and would like to have the export to excel functionality integrated as well, you might be wondering if you can get version 1.1 into your file without too much pain. Well, you can! Here’s how.

The Quick Path

If you feel pretty comfortable with CC Pivot and FileMaker in general, here’s a quick path to upgrade. It can also be used as just a basic overview, as I’ll go into more detail further into this post. Or, you can just skip right down to the detailed path.

1. Copy & Paste One Field

The field CCP.Pivot::_exportas needs to be copied to the CCP.Pivot table in your solution.

2. Copy & Paste Two Scripts

Two scripts need to be copied to your solution.

  • m.current.pivot.export_xls [ { filename ; filepath } ] (found in the folder: CC Pivot -> models -> current pivot)
  • c.pivot.excel (found in the folder: CC Pivot -> controllers -> pivot)

They should copy and paste without any problems, unless you have renamed the CCP.Pivot table occurrence. If you have, our recommendation is to name your version of the CCP.Pivot table occurrence back to CCP.Pivot before doing the copy and pasting, then change it back after that process is completed. This way the field references won’t break.

3. Copy & Paste One Button

On the layout CC Pivot there is a new button on the bottom left with “Excel” as its label. Copy and paste that button to your solution where your pivot display is. Alternatively, you can create your own button in your solution and just make sure it calls the c.pivot.excel script.

The End

That’s it. Not too hard, eh? Below we’ll go over the same thing with some screen shots to help explain things a little more in detail.


The Detailed Path

Now let’s examine each of the above sections and show you in a little more detail exactly what we mean. To get ready to follow these instructions, have both CC Pivot 1.1 upgraded file open as well as your own file. If this is too far down in the details, you can pop to the surface by looking at just the quick path.

1. Copy & Paste One Field

There are a few new fields in the CC Pivot 1.1 upgrade. Most of the fields are to help with the newly added import from previous version feature. However, since you aren’t importing any data, but rather upgrading your own version of CC Pivot that you’ve integrated, you won’t need those fields. The one field you will need is in the table CCP.Pivot and named _exportas. It’s a global text field that can be found towards the bottom.

cc pivot add field for version 1.1

  • Open up the Manage Database dialog in CC Pivot 1.1
  • Go to the table CCP.Pivot and open it to see its fields
  • Select the field _exportas
  • Copy it
  • Close the Manage Database dialog
  • Open the Manage Database dialog in your file
  • Go to the CCP.Pivot table that you have previously added and go into its fields
  • Paste the field into the table
  • Close the Manage Database dialog window

All done with this step!

2. Copy & Paste Two Scripts

In this step we have to copy & paste two scripts into your file. They should copy & paste without any problems, unless you have renamed the CCP.Pivot table occurrence in your system to something else. If this is the case, you will want to rename it back to CCP.Pivot before we proceed with this step, and then name it back to your chosen name after this step. Doing this will ensure that no script steps are broken.

Script 1: m.current.pivot.export_xls [ { filename ; filepath } ]

cc pivot add model script

  • Open the Manage Scripts dialog window in CC Pivot 1.1 and in your file
  • Find the CC Pivot -> models ->current pivot folder in the CC Pivot 1.1 Manage Scripts Dialog window and select the m.current.pivot.export_xls [ { filename ; filepath } ] script as seen in the picture above
  • Copy it
  • Select your file’s Manage Scripts dialog window and paste the script wherever you want it to be (we recommend using the same folder schema)

That’s that one, now on to the next one!

Script 2: c.pivot.excel

cc pivot manage controller script

  • Open the Manage Scripts dialog window in CC Pivot 1.1 and in your file
  • Find the CC Pivot -> controllers ->pivot folder in the CC Pivot 1.1 Manage Scripts Dialog window and select the c.pivot.excel script as seen in the picture above
  • Copy it
  • Select your file’s Manage Scripts dialog window and paste the script wherever you want it to be (we recommend using the same folder schema)

That’s it! You’re done with step two. Almost there!

3. Copy & Paste One Button

In the previous step you copy & pasted a script called c.pivot.excel into your file. This is the script that you will want to call in order to perform the export to excel. You’ll want to have a way to allow your users to easily run this script. So you’ll want to have a button that is tied to this script. We’ve made one for you in CC Pivot 1.1!

Using our button

cc pivot export to excel button

  • Go to Layout Mode in CC Pivot 1.1 and in your own file
  • Open the CC Pivot layout in CC Pivot 1.1 and the layout that contains the pivot display in your own file
  • Select the button labeled “Excel” at the bottom left of the screen in CC Pivot 1.1
  • Copy it
  • Go to your file’s layout and paste the button wherever you like

Using your own button

  • In your own file, find the layout where you are displaying the pivot
  • Make a button and place it wherever is most appropriate for your file
  • Attach the c.pivot.excel script to that button

Finished!

Congratulations, you’ve upgraded your integrated version of CC Pivot to include exporting to excel!

And, in the words of our society’s most distinguished, “That’s All Folks!”

  • delicious Bookmark on Delicious
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • print Print for later
  • bookmark Bookmark in Browser
  • email Tell a friend

CC Pivot discussed on FileMaker Talk

July 18, 2011
Leave a comment

A couple weeks ago our President, Court Bowman, sat down with Matt Navarre of FileMaker Talk (a wonderful FileMaker podcast) to talk about CC Pivot, our new tool for FileMaker reporting. We are pleased that many are finding the software very useful. Check out the podcast!

http://filemakertalk.com/matt-squared/11053

  • delicious Bookmark on Delicious
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • print Print for later
  • bookmark Bookmark in Browser
  • email Tell a friend

FileMaker Reporting – CC Pivot Released!

July 1, 2011
Leave a comment

We’ve recently released CC Pivot, a product designed to enhance your ability to see into the data in your own system by allowing you to easily create and edit pivot tables within FileMaker. It’s a great tool to help you in your ability to report on the data within FileMaker. Take a look!

See FileMaker Reporting with Pivot Tables

CC Pivot Overview from Cleveland Consulting, Inc. on Vimeo.

Or you can just download a demo!

  • delicious Bookmark on Delicious
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • print Print for later
  • bookmark Bookmark in Browser
  • email Tell a friend
  • Our Newsletter

  • Categories

  • Contact Us!

    • By Phone: 614.252.2284
    • By Email: info@clevelandconsulting.com
  • Follow Us!

    Follow Us On FacebookFollow Us On Google+Follow Us On TwitterFollow Us On RSS
  • Quick Links

    • FileMaker Custom Development
    • CC Pivot
    • CC NonProfit
  • Recent News

    • CCI is now offering Training and Mentoring
    • 2 New Styles Your CC Pivot 2 Reports
    • CCPivot 2 Just released!
    • MVC and FileMaker, Wrapping It Up
    • MVC and FileMaker, The Controller
    • MVC and FileMaker, The View