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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
Hi, I have couple of styling questions related to PDF report.
1.Is there a way to center align the sort data to the page that is when u run the below code i need to the value of SORT VAL column at the center of the page instead of displaying it at the first row.
2.Can we display the value of SORT VAL column once on every page instead of displaying at the beginning of the report.
Thanks for your time.
FILEDEF H1 DISK H1( APPEND TABLE FILE CAR PRINT * ON TABLE HOLD AS H1 FORMAT ALPHA END TABLE FILE CAR PRINT * ON TABLE HOLD AS H1 FORMAT ALPHA END DEFINE FILE H1 'SORT VAL'/A10 = 'FIRST COL'; END TABLE FILE H1 PRINT COUNTRY CAR MODEL SALES LENGTH CAR COUNTRY MODEL SALES BY 'SORT VAL' ON TABLE PCHOLD FORMAT PDF ON TABLE NOTOTAL ON TABLE SET PAGE OFF ON TABLE SET HTMLCSS ON ON TABLE SET PAGE NOLEAD ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, LEFTMARGIN=0.81250000, RIGHTMARGIN=0.11250000, TOPMARGIN=0, BOTTOMMARGIN=0.050000000, ORIENTATION=LANDSCAPE,$ TYPE=REPORT,GRID=OFF,FONT='ARIAL',SIZE=8,STYLE=NORMAL,LEFTGAP = .031,RIGHTGAP = .031,TOPGAP = .05,BOTTOMGAP = .05,$ TYPE = TITLE, GRID=OFF, TOPGAP=0.04, BOTTOMGAP=0.04, $ TYPE=TITLE, STYLE=-UNDERLINE+BOLD,BORDER= LIGHT,BORDER-COLOR = SILVER,JUSTIFY = CENTER,$ TYPE=REPORT,COLUMN=P1,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P2,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P3,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P4,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P5,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P6,SQUEEZE=1.25 ,WRAP=1.25 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P7,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P8,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P9,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P10,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
If you run the above code you see that the first column is 'SORT VAL' and the data 'FIRST COL' is displayed in the first row and instead of displaying it in the first row i want 'FIRST COL' to be aligned to the middle of 10th and 11th row.
FILEDEF H1 DISK H1( APPEND
TABLE FILE CAR
PRINT *
ON TABLE HOLD AS H1 FORMAT ALPHA
END
TABLE FILE CAR
PRINT *
ON TABLE HOLD AS H1 FORMAT ALPHA
END
DEFINE FILE H1
'SORT VAL'/A10 = 'FIRST COL';
END
TABLE FILE H1
PRINT
COUNTRY IN 0
CAR IN 10
MODEL IN 20
SALES IN 30
LENGTH IN 50
CAR IN 60
COUNTRY IN 67
MODEL IN 75
SALES IN 85
BY 'SORT VAL' IN 40
ON TABLE PCHOLD FORMAT PDF
ON TABLE NOTOTAL
ON TABLE SET PAGE OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, LEFTMARGIN=0.81250000, RIGHTMARGIN=0.11250000, TOPMARGIN=0, BOTTOMMARGIN=0.050000000, ORIENTATION=LANDSCAPE,$
TYPE=REPORT,GRID=OFF,FONT='ARIAL',SIZE=8,STYLE=NORMAL,LEFTGAP = .031,RIGHTGAP = .031,TOPGAP = .05,BOTTOMGAP = .05,$
TYPE = TITLE, GRID=OFF, TOPGAP=0.04, BOTTOMGAP=0.04, $
TYPE=TITLE, STYLE=-UNDERLINE+BOLD,BORDER= LIGHT,BORDER-COLOR = SILVER,JUSTIFY = CENTER,$
TYPE=REPORT,COLUMN=P1,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P2,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P3,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P4,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P5,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P6,SQUEEZE=1.25 ,WRAP=1.25 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P7,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P8,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P9,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=REPORT,COLUMN=P10,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$
TYPE=DATA, SIZE=8,BORDER= LIGHT,BORDER-COLOR = SILVER,JUSTIFY = CENTER,$
ENDSTYLE
END
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit
I wrote a couple of WebFOCUS articles years ago that may be of help to you. Here is a direct link to the second one which is located under the IBI Developer Center:
Hi All, thanks for the replies. I am sorry for not able to explain my issue properly. What i am looking for is to display the SORT_VAL column the way it is displayed in the below report with out displaying the empty space underneath the other columns. I just want to move the sort_val data only.
FILEDEF H1 DISK H1( APPEND TABLE FILE CAR PRINT * ON TABLE HOLD AS H1 FORMAT ALPHA END TABLE FILE CAR PRINT * ON TABLE HOLD AS H1 FORMAT ALPHA END DEFINE FILE H1 LF/A1 = HEXBYT(10, 'A1'); CR/A1 = HEXBYT(13, 'A1'); CRLF/A2 = CR || LF;
'SORT_VAL'/A100 = CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || CRLF || 'FIRST COL'; END TABLE FILE H1 PRINT COUNTRY CAR MODEL SALES LENGTH CAR COUNTRY MODEL SALES BY 'SORT_VAL' ON TABLE PCHOLD FORMAT PDF ON TABLE NOTOTAL ON TABLE SET PAGE OFF ON TABLE SET HTMLCSS ON ON TABLE SET PAGE NOLEAD ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, LEFTMARGIN=0.81250000, RIGHTMARGIN=0.11250000, TOPMARGIN=0, BOTTOMMARGIN=0.050000000, ORIENTATION=LANDSCAPE,$ TYPE=REPORT,GRID=OFF,FONT='ARIAL',SIZE=8,STYLE=NORMAL,LEFTGAP = .031,RIGHTGAP = .031,TOPGAP = .05,BOTTOMGAP = .05, LINEBREAK = 'CRLF',$ TYPE = TITLE, GRID=OFF, TOPGAP=0.04, BOTTOMGAP=0.04, $ TYPE=TITLE, STYLE=-UNDERLINE+BOLD,BORDER= LIGHT,BORDER-COLOR = SILVER,JUSTIFY = CENTER,$ TYPE=REPORT,COLUMN=P1,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P2,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P3,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P4,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P5,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P6,SQUEEZE=1.25 ,WRAP=1.25 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P7,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P8,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P9,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$ TYPE=REPORT,COLUMN=P10,SQUEEZE=.75 ,WRAP=.75 ,SIZE=8,STYLE=NORMAL,$