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.
one more thing is that- i am not sure of the nos of hold files which i will print....might be 1 might be 100...and also i can not achive it with a by field (hence page-break will also not work)...
anybody worked with dynamic printing in HTMLFORM...i mean IBI.FIL.&HOLD and HTML tages dynamic...
You can have multiple html outputs in the same focexec and they will all show up on the output page. Try doing 2 or 3 of your reports and see what you get.
In 7.6, you can use the PDF Layout Painter to produced compound html as well as pdf and excel.
As Ginny states, if you run 2 or 10 or however many number of HTML reports in one fex, they all show up one after the other. No need to use -HTMLFORM or !IBI.FIL.HOLD or any of that. Just put your TABLE request in a counted loop and away you go.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
darin..i thought it will work in that way...but to my surprise when i printed from file car twice simultaneously it's showing only the first print.... i am on 7.1.4 Is any environmental setting required ??
If you combine two reports into on script they both will show up in your report, but your styling will not always work well. If you create the first report with a footing in bold it might happen that the second report show up in bold for the whole report.
Try posting your whole fex here and let me take a view on it to see what might be the problem.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
This approach has always worked for me, and I have never had to change any settings.
Additionally, you can intersperse the requests with HTML, which can be done in a DM loop to build up as many reports (within reason) as you want:
-HTMLFORM BEGIN
<html>
<head>
<title>My reports</title>
</head>
<body>
<div style="width:70%;;margin-left:30px;">
<div style="float:left;">
<p>first report</p>
-HTMLFORM END
TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ON TABLE PCHOLD FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
</div>
<div style="float:right;">
<p>second report</p>
-HTMLFORM END
TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ON TABLE PCHOLD FORMAT HTMTABLE
END
-HTMLFORM BEGIN
</div>
</div>
</body>
</html>
-HTMLFORM END
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
How do you know it is showing the first report? I would change the second (or the first) add a line in both to distinguish the first and second. And start your fex with the line
-SET &ECHO=ALL;
first report:
HEADING "this is the first report" ... WHERE COUNTRY EQ 'ITALY';
second report: HEADING "this is the second report" ... WHERE COUNTRY NE 'ITALY'; ..
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
it seems that something going weird in 714 for me...because simple prininting 1 by 1 is not working for me but for others even on same instalation.. btw i have done through dynamic printing in HTMLFORM...
If it was working for you two months ago, what has changed?
Have you upgraded? Have you made any changes to the configuration? Have you made changes to the program? etc. etc.
Answer these questions and find out what the variable has been .... and then you might find your answer?
For everyone else that has responded, the process has worked as expected, in various releases, on various platforms and in various browsers. So there must be something wrong with your configuration or maybe something else on your installation. Where ever the problem lies, only you are experiencing it.
It is worth you spending some time checking this out because you will soon be saying that something else doesn't work for you and everyone else will be saying "no problem for me". Until then every problem you come across that should work for you but doesn't will start you questioning what is wrong. I would suggest that it would be a waste of time anyone else responding to your pleas if you don't get your installation sorted because we will just end up going down the same route again.
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, 2004
I experience the same as Sam does, but also the same as Tony. Difference is (and I do not know why this is), I see just the first report if I run the procedure from within DevStudio (although the view source tells me both requests are being run). If I run the procedure from the web-browser, I see both. Maybe someone smarter than me has an answer to why this is? Tried this in 71x as well as in 764. I get the same results in all these environments.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
If you think there is something wrong with your installation and the answers/comments provided by the folks on the forum do not help you, then by all means open a case with IBI. I, for one, am tired of all this bickering.
BTW, I reproduced the Dev. Studio issue by having 'Message Viewer On' next to the run arrow. When on, I only saw the first report though both ran based on the stats in the message viewer panel. When off, I saw both reports.