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     PCHOLD FORMAT PDF OPEN NOBREAK

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PCHOLD FORMAT PDF OPEN NOBREAK
 Login/Join
 
<Vipul>
posted
Has anyone seen this behave wierd. I have a program which is like this:


TABLE FILE XXX
SUM...

ON TABLE FORMAT PDF OPEN NOBREAK
ON TABLE SET STYLE *
-INCLUDE STYLEV02IR.FEX
ENDSTYLE
END
-RUN
-LOOP

TABLE FILE YYY
SUM...

ON TABLE FORMAT PDF NOBREAK
ON TABLE SET STYLE *
-INCLUDE STYLEV02IR.FEX
ENDSTYLE

END
-RUN
-GOTO LOOP
TABLE FILE ZZZ
SUM...

ON TABLE FORMAT PDF CLOSE
ON TABLE SET STYLE *
-INCLUDE STYLEV02IR.FEX
ENDSTYLE
END
-RUN
The NOBREAK give me problem. With nobreak I get that the file is damaged but if I remove the nobreak I get the report but...that's not what i want.

Any Ideas.

Vipul

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<Pietro De Santis>
posted
 
Report This Post
<Vipul>
posted
Yes I did try the sample from IBI and it worked, but mine does not if I put the NOBREAK.

Vipul
 
Report This Post
Gold member
posted Hide Post
I recall having played around with this in earlier release (i guess 436). I also recall having made the expierience, that it only worked properly, if the compound document was not more than ONE page. Otherwise it either resulted in nothing or a mess or having confusions about applying styles. And also you have to make sure that the ORIENTATION on every doc embedded in the compound one was the same, i.e. no mixing of LANDSCAPE and PORTRAIT.
For me it turned out to be a safer way not to use nobreak !
But I also never tried it again in the latest releases.
Frowner
 
Posts: 54 | Location: Switzerland | Registered: May 13, 2003Report This Post
<Vipul>
posted
Thanks Ronald,

This is what I use all thro the reports.
TYPE=REPORT, PAGESIZE=A4 , ORIENTATION=PORTRAIT , SQUEEZE=ON ,$

Vipul
 
Report This Post
<Pietro De Santis>
posted
This works:

-SET &ECHO=ALL;

SET PAGE =
NOPAGE
-RUN


SET COMPOUND = OPEN NOBREAK
-RUN

TABLE FILE CAR
SUM SALES

BY CAR
ACROSS COUNTRY

HEADING
"Sales Report"

" "
ON TABLE PCHOLD FORMAT
PDF

ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $

TYPE=HEADING, SIZE=13, $
TYPE=REPORT, FONT='Arial', SIZE=11, COLOR=RED, $
ENDSTYLE
END
-RUN


SET COMPOUND = NOBREAK
-RUN

TABLE FILE CAR
SUM DEALER_COST
BY MODEL
ACROSS COUNTRY

HEADING
"Inventory Report"
" "
ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=HEADING, SIZE=13, $
TYPE=REPORT,
FONT='Arial', SIZE=11, COLOR=GREEN, $

ENDSTYLE
END
-RUN<
-SET &TEMPDIR = 'C:\Temp\';
-SET &GIFFILE=&TEMPDIR || 'CARGR.GIF';
SET COMPOUND =
CLOSE
-RUN
TABLE FILE CAR
PRINT CAR
HEADING
"Car List"
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE OFF<
ON TABLE SET STYLE *

UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $

TYPE=HEADING, SIZE=13, $
TYPE=REPORT, FONT='Arial', SIZE=11, COLOR=BLUE, $

ENDSTYLE
END
-RUN
I did notice that if the last (closing)
report does not create any output, the
compound PDF file does not get closed and hence the error.

I hope this helps.

Pietro.

This message has been edited. Last edited by: <Mabel>,
 
Report 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     PCHOLD FORMAT PDF OPEN NOBREAK

Copyright © 1996-2020 Information Builders