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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
looping in html
 Login/Join
 
Platinum Member
posted
I'm able to loop in pdf and get my report to be graph then report for account 1 then graph then report for account 2. I need to do this for html also but I keep getting system error. I know very very little html.

Susannah mentioned the following in another e-mail, but I'm not able to figure out the actual looping commands. I just keep getting system error. I was able to create all the reports and graphs, I just can't get them to all display. I need to loop through and display the following (or something like this ... something similar to the below worked in pdf). Where the cnt changes from 1 to the total number of accounts read in the file. Thanks.

!IBI.FIL.HEADER&CNT.EVAL;
!IBI.FIL.GRAPH&CNT.EVAL;
!IBI.FIL.TABLE&CNT.EVAL;

This is what Susannah mentioned in another e-mail.
-HTMLFORM BEGIN
<TABLE>
<TR>
-* you can loop here as well
<TD>
<!-- WEBFOCUS TABLE TAB1 -->
<TD>
!IBI.FIL.GRAPH1;
</TR>
-* end of loop if you want to do a loop
-* otherwise write them out individually
<TR>
<TD>
<!-- WEBFOCUS TABLE TAB2 --> etc.
 
Posts: 179 | Registered: November 10, 2004Report This Post
<kvn>
posted
It seems like you're having a similar problem I had. Take a look at my post on Multiple graphs on BY field?. Grzegorz replied to me with a very good example.

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
Expert
posted Hide Post
you'll use dialog manager.
When your HTMLFORM is built inside a fex, you can use dialog manager commands right inside the html..
-SET &KOUNTER = 0 ;
-HTMLFORM BEGIN
[HTML>
[TABLE>
-TOPLOOP
-SET &KOUNTER = & KOUNTER + 1;
<TR><TD>
now your bang ibi files
-IF &KOUNTER LE 50 GOTO TOPLOOP;
[/TABLE>
[/HTML>
-HTMLFORM END
you can of course use a REPEAT statement as well, instead of an explicit check on loop count
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
thanks. That worked great! I couldn't get it to work on the desktop (it would only display one graph and one report even if I hardcoded all the tables) but as soon as I put the commands in our intranet code it worked great.
 
Posts: 179 | Registered: November 10, 2004Report This Post
Expert
posted Hide Post
cool. congrats!
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders