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.
Can we do a page-break not on each (PIN) but for every 2 (PIN).
-------------------------------------------- The syntax for first is given below: BY PIN NOPRINT PAGE-BREAK --------------------------------------------
like Amsterdam Frank says, say you want to do something every 5th... -SET &MYVALUE = 5 ; ... if its page-break, you have to make your key a BY field , so you need to do a define *AFTER* have your file in the print order you want KEY/I1=IF LAST KEY IS &MYVALUE THEN 1 ELSE 1+LAST KEY ; NOPRINT KEY2/I1=IF KEY GT LAST KEY THEN KEY2 ELSE ABS( 1 - LAST KEY2 ); NOPRINT BY KEY2 NOPRINT PAGE-BREAK
If its conditional styling, its easier, you don't need the right order first, you can compute:
COMPUTE KEY/I1=IF LAST KEY IS &MYVALUE THEN 1 ELSE 1+LAST KEY ; NOPRINT COMPUTE KEY2/I1=IF KEY GT LAST KEY THEN KEY2 ELSE ABS( 1 - LAST KEY2 ); NOPRINT BY PIN .. TYPE=DATA , BACKCOLOR=&RGBSMOG, WHEN=KEY2 EQ 1,$
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
This seems to work on R714 in Windows. Use BY TOTAL on your COMPUTEd field.
TABLE FILE EMPDATA
HEADING
"*************************************************************"
"Page <TABPAGENO </1"
PRINT FIRSTNAME LASTNAME
COMPUTE PINCTR/I2 = IF LAST PINCTR EQ 2 THEN 1 ELSE LAST PINCTR +1;
COMPUTE PB/I2 = IF PINCTR EQ 1 THEN LAST PB +1 ELSE LAST PB;
BY TOTAL PB PAGE-BREAK
BY PIN
ON TABLE SET STYLE *
GRID=OFF,$
ENDSTYLE
END
I would expect it would work on other platforms as well.
ttfn, kp
Access to most releases from R52x, on multiple platforms.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003