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     [SOLVED] Question Regarding EXCEL Report Generation- InfoAssist+

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Question Regarding EXCEL Report Generation- InfoAssist+
 Login/Join
 
Gold member
posted
Hi All,

Your valuable time and suggestions are highly appreciated.

My Requirement
I have 3 Reports: Report1, Report2 & Report3.

I want to run these three reports and want 1 output with 3 worksheets containing Report(1) in worksheet 1, Report(2) in worksheet2 and Report(3) in worksheet3.

1 way of doing this is, via DOCUMENT where I can select the output format as xlsx and have separate pages for individual reports (report1, report2, report3).

But......

I am more interested in a more efficient way of achieving the same in any other way. I am trying to achieve this in InfoAssist+

Thank you in advance your inputs.

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 70 | Registered: May 26, 2017Report This Post
Virtuoso
posted Hide Post
Here's an example I found in Focal Point. It seems to do what you want. The key syntax is OPEN and CLOSE after the ON TABLE HOLD.

https://webfocusinfocenter.inf...5e-A3AD-25E40CC97E0B

 
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT XLSX OPEN 
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report1', $
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 2
ON TABLE PCHOLD FORMAT XLSX OPEN 
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report2', $
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 3
ON TABLE PCHOLD FORMAT XLSX CLOSE
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report3', $
ENDSTYLE
END   

This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
quote:
Originally posted by BabakNYC:
Here's an example I found in Focal Point. It seems to do what you want. The key syntax is OPEN and CLOSE after the ON TABLE HOLD.

https://webfocusinfocenter.inf...5e-A3AD-25E40CC97E0B

 
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT XLSX OPEN 
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report1', $
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 2
ON TABLE PCHOLD FORMAT XLSX OPEN 
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report2', $
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT *
WHERE RECORDLIMIT EQ 3
ON TABLE PCHOLD FORMAT XLSX CLOSE
ON TABLE SET STYLE *
TYPE=REPORT, TITLETEXT='Report3', $
ENDSTYLE
END   


Thank you BabakNYC for your inputs. I really appreciate it. Thank you very very much


WebFOCUS 8
Windows, All Outputs
 
Posts: 70 | Registered: May 26, 2017Report This Post
Platinum Member
posted Hide Post
Hi,

I Am trying to achieve the same functionality using infoassist but not text editor.Can you please tell me how to do this using infoassist?

Regards
BI DEV


Webfocus 8105/8202
Windows
All Outputs
 
Posts: 106 | Registered: June 26, 2018Report This Post
Expert
posted Hide Post
From the BI Portal (server: port/ibi_apps/), click on the "more" icon.

Locate and click on the "Document" icon.

Add a report to the page shown - either new or existing. Once finished with that report, click on the drop down list on the right which shows "Page 1". This shows what pages you have in the current document and allows you to switch between them.

Click on "New Page" in the drop down menu and repeat the previous step as many times as you need.

On the bottom right, you will see 3 drop down menu buttons. Click on the middle one which should show "Active Report" and choose "MS Excel (XLSX)".

Run your report.

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     [SOLVED] Question Regarding EXCEL Report Generation- InfoAssist+

Copyright © 1996-2020 Information Builders