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] WebFocus 1 Progam w/wo(2)PDF Reports to screen

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] WebFocus 1 Progam w/wo(2)PDF Reports to screen
 Login/Join
 
Member
posted
Does anyone know how or has anyone written a program with 2 seperate reports in PDF format as the output (that come to the screen)?

If my customer would have EXCEL format, there'd be no problem. I could do a spreadsheet for each BUT she wants PDF.

I've tried using the -RUN to have one 'TABLE FILE' -RUN then the other 'TABLEFILE', but that dDOESN'T Work.

Any ideas?

Gayle this is inWebFocus 7.7

This message has been edited. Last edited by: <Kathryn Henning>,


WF 7.7.3
Window XP
EXCEL 2010
 
Posts: 15 | Registered: September 27, 2013Report This Post
Gold member
posted Hide Post
If you can recognize the EXCEL users than do the follwing:

-SET &OUTFMT = IF () THEN 'PDF' ELSE 'EXL2K';

TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
BY CAR
BY MODEL

WHERE COUNTRY EQ 'ITALY'

ON TABLE PCHOLD FORMAT &OUTFMT
END


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Member
posted Hide Post
hello,
you can use COMPOUND assist in Developer Studio or you can use syntaxe like

for the first report
ON TABLE PCHOLD FORMAT PDF OPEN
or
ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK

for the second report
ON TABLE PCHOLD FORMAT PDF
or
ON TABLE PCHOLD FORMAT PDF NOBREAK

for the last report
ON TABLE PCHOLD FORMAT PDF CLOSE

It works also for HOLD.

on the first report
OPEN create a document with a report on a separate page

NOBREAK allow you to put many reports on the same page

This syntaxe also works with EXL2K or EXL07 format.

Try this
 
TABLE FILE CAR
SUM SALES
ON TABLE PCHOLD FORMAT &WFFMT OPEN NOBREAK
END
-RUN

TABLE FILE CAR
SUM SALES
ON TABLE PCHOLD FORMAT &WFFMT 
END
-RUN

TABLE FILE CAR
SUM SALES
ON TABLE PCHOLD FORMAT &WFFMT 
END
-RUN

TABLE FILE EMPDATA
SUM SALARY
BY DIV
ON TABLE PCHOLD FORMAT &WFFMT CLOSE
END
-RUN

 


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report This Post
Member
posted Hide Post
Thanks so much! Of course it worked. I have used this along time ago and had forgotten all about it. (it will get documented this time!)

Gayle


WF 7.7.3
Window XP
EXCEL 2010
 
Posts: 15 | Registered: September 27, 2013Report This Post
Member
posted Hide Post
Smiler


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report 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] WebFocus 1 Progam w/wo(2)PDF Reports to screen

Copyright © 1996-2020 Information Builders