Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pivot Table and macro question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pivot Table and macro question
 Login/Join
 
Silver Member
posted
All,

I have looked through the forum and haven't found an issue like the one I am in need of an answer to.

I am on WF 8.0.0.7 and we are creating a pivot table via EXL2K and a second tab as well.

Using SET COMPOUND command to create a compound report (that may not be relevant however).

Once the pivot table is created, then when our customer clicks on a cell and reveals the details, there is a column that they do not want to see in the output (it comes from the pivot and was necessary to the pivot table creation).

I created a macro to remove that field when the cell is double clicked on, and it works fine.

However when I went to incorporate that into the ON TABLE PCHOLD FORMAT EXL2K PIVOT line, I realized that wouldn't work.

Does anyone know if there is a way to incorporate a macro AFTER the pivot table is created in order to manipulate what is returned in the details?

Thank you for any help you are able to give.

Paul

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: March 09, 2016Report This Post
Virtuoso
posted Hide Post
You should have to use the Excel Template to have a Macro inserted in an Excel file.
WebFocus doesn't manage Macro. So you must have to create your Macro, have it include in an Excel Template then use that template as your output format.
Many discussion on how to use template (also available in doc).

But I don't think that you will be able to use WebFocus Pivot table format : EXL2K PIVOT. You may have to create your Pivot within the Excel Template Macro file.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Silver Member
posted Hide Post
Hi Martin,

Thanks for your feedback.

Creating a template isn't on the table for this, only the pivot.

So it sounds like, and I was hopeful that it wouldn't be, but there seems to be no way to create a pivot table with EXL2K PIVOT and then once the Pivot table opens in Excel have a way to programmatically manipulate the cell as it is opening the details of that cell.

So saying that WebFOCUS doesn't manage the macro makes sense.

I appreciate your help in answering this.

Thanks

Paul


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: March 09, 2016Report This Post
Virtuoso
posted Hide Post
The key words are there:
quote:
once the Pivot table opens in Excel

Once you're in Excel you now depend on Excel and not anymore from WebFocus.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Silver Member
posted Hide Post
Martin,

Yes indeed - thanks.

I thought there may have been some obscure way of doing this that I hadn't thought of from the WebFOCUS side.

So now I am working at creating a compound report using temporary templates because my version of WebFOCUS doesn't support compound reports.

Our IBI rep has sent me some code to create temporary templates but I am having some issues with that right now and am trying to work through it.

Thanks.

Paul


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: March 09, 2016Report This Post
Expert
posted Hide Post
I wrote an article about adding VBA code to an MS Excel workbook post creation which may give you some ideas. Link

There are some requirements that your systems bods might not like - running VBScripts in Windows etc. - but I leave that to you to sort out! Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
@ Everyone,

There are many articles that have been created over the years, some still very relevant, some a good source for generating ideas.

You can locate the list by clicking the "Community Center" icon in the top left of this page.

From there, locate the "Tips and Techniques" link in the second row of headings, under "Forum Highlights".

Happy reading Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pivot Table and macro question

Copyright © 1996-2020 Information Builders