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.
I have three reports that I want to combine into one PDF file. Each report individually works fine, but when I try to run them together, the report does not print. I don't get an error message, it just doesn't open a pdf file. In other words, I just get the message of how many records/lines in my report. This is the syntax I've tried:
TABLE FILE CAR DO STUFF ON TABLE PCHOLD FORMAT PDF OPEN END TABLE FILE CAR DO STUFF ON TABLE PCHOLD FORMAT PDF END TABLE FILE CAR DO STUFF ON TABLE PCHOLD FORMAT PDF CLOSE END
I've also tried using this syntax:
SET COMPOUND = OPEN EX PR_INTERNAL_BYSEG EX PR_INTERNAL_MM SET COMPOUND = CLOSE EX PR_INTERNAL_CONSOL
But that doesn't work because I'm prompting the user for beginning and end dates, and it doesn't seem to know how to pass the values between each focexec.
I know the first way should work, because I have a very similar report that works just fine.
I am stumped. Any ideas?
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003
To stick with the second method, establish the date parameters in the root fex, and pass them through to each of the reports:
-* prompt for the dates ** &START_DATE ** &END_DATE -* pass then thru SET COMPOUND = OPEN EX PR_INTERNAL_BYSEG START_DATE='&START_DATE',END_DATE='&END_DATE' EX PR_INTERNAL_MM START_DATE='&START_DATE',END_DATE='&END_DATE'
SET COMPOUND = CLOSE EX PR_INTERNAL_CONSOL START_DATE='&START_DATE',END_DATE='&END_DATE' The two "**" lines get stacked for execution, after prompting to resolve the & var references, but when executed are treated as comments.This message has been edited. Last edited by: <Mabel>,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Oh, that's a cool technique I did not know! But unfortunately it didn't solve my problem. It did pass the variables just fine, but the end result was that I still don't get a PDF file, just the message telling me how many lines in my reports. And it's only showing the first two reports being generated, so it's like it doesn't recognize the last one somehow.
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003
We are still on 5.2. My company doesn't let anyone upgrade to newer versions until everyone has agreed to it. Everyone meaning every single last person who uses WebFocus.
I'm not holding my breath.
Thanks for your help.
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003
See if this works for you. This is working with version 5.26 and 5.32
-* File CompoundTest.fex -* File t1.fex TABLE FILE CAR SUM SALES ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK END -*REPORT 2 -* File t2.fex TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE PCHOLD FORMAT PDF NOBREAK ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL END -*REPORT 3 -* File t2.fex TABLE FILE CAR SUM SALES BY MODEL ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL END
Posts: 189 | Location: pgh pa | Registered: October 06, 2004
What happens if you change the output to HTML instead of PDF? See if the reports work with HTML output. Maybe it has something to do with your version of Adobe.
Posts: 189 | Location: pgh pa | Registered: October 06, 2004
Thanks Carol!! That's weird, I copied and pasted that code from the above post, and it must have stuck those commas in there because I'm pretty sure I didn't put them there.
Oh well, it works now!
Posts: 68 | Location: Springfield MA | Registered: May 07, 2003