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.
Oh ok i'm sorry for the code inside message,thanks.
I will test this code :
DEFINE FILE CAR
CHANG_VAL/A50 = COUNTRY | ' ' | MODEL;
END
TABLE FILE CAR
SUM SEATS
BY CHANG_VAL
BY COUNTRY
ON CHANG_VAL PAGE-BREAK
ON COUNTRY PAGE-BREAK AND SUBHEAD
"bla bla bla <COUNTRY"
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
HEADING
"Détail page </1"
END
But, i want to break another page on country. Page break don't Work ? One page for each country (cover page) and inside on page for each chang_val.
Francis is correct. Note that to do this in PDF Painter, the two reports must be 'coordinated'. That would be your keyword to search the documentation. You would actually have two focexecs, one for the COUNTRY page sorted by COUNTRY and the other for the combo but also with the high-order sort of COUNTRY.
TABLE FILE CAR
BY COUNTRY
ON TABLE HOLD AS HOLD1 FORMAT ALPHA
END
-RUN
-SET &XLINES = &LINES;
-SET &CNTR = 0;
-SET &PREC_CNTR = 1;
-REPEAT LOOP_CNTRY &XLINES TIMES
-SET &CNTR = &CNTR + 1;
-SET &OPEN_CLOSE = IF &CNTR EQ 1 THEN 'OPEN' ELSE
- IF &CNTR EQ &XLINES THEN 'CLOSE' ELSE ' ';
-READ HOLD1 &CNTRY1.A8.
-********************************************
-*
TABLE FILE CAR
PRINT MODEL NOPRINT
HEADING
"PDF COVER PAGE"
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT PDF &OPEN_CLOSE
END
-*
DEFINE FILE CAR
CHAMP/A50 = COUNTRY || MODEL;
END
TABLE FILE CAR
PRINT MODEL
WHERE COUNTRY EQ '&CNTRY1';
BY CHAMP PAGE-BREAK
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT PDF &OPEN_CLOSE
END
-SET &PREC_CNTR = &CNTR;
-LOOP_CNTRY
I am happy that you have a solution. But this would be a greato opportunity to learn a new tool. You were probably in a hurry and didn't have time, but you've got a great example to play with once you do have time. Give it a go! I think you'll like it.