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.
This is my code. I am trying to add heading for this report with logos and text. I tried doing compound report but doesn't work. Can someone provide suggestions on this?
Thank you
TABLE FILE EMPLOYEE
BY LAST_NAME NOPRINT
BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE=LETTER,
LEFTMARGIN=0.256,
TOPMARGIN=0.5,
PAGEMATRIX=(2 6),
ELEMENT=(4 1),
GUTTER=(0.188 0),
$
END
This message has been edited. Last edited by: Kerry,
Its not problem with the path of image. Image is displayed but it comes above each label as this is not PRINT statement report. I just need them on top of each page.
Thank you
quote:
Originally posted by Waz: Is the image in the path ?
For PDF the image must be available in the APP PATH.
All you should need to do is play with the position.
TABLE FILE EMPLOYEE
BY LAST_NAME NOPRINT
BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,PAGESIZE=LETTER,LEFTMARGIN=0.256,TOPMARGIN=0.5,PAGEMATRIX=(2 6),ELEMENT=(4 1),GUTTER=(0.188 0),$
TYPE=HEADING, IMAGE=smplogo1.gif, POSITION=(+1.800000 +0.000000), SIZE=(1.000000 0.280000),$
END
I am trying to have the logo only on top of each page once, not with each label. This is what I am having difficulties with.
quote:
Originally posted by Waz: Where did you want the logo ?
All you should need to do is play with the position.
TABLE FILE EMPLOYEE
BY LAST_NAME NOPRINT
BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,PAGESIZE=LETTER,LEFTMARGIN=0.256,TOPMARGIN=0.5,PAGEMATRIX=(2 6),ELEMENT=(4 1),GUTTER=(0.188 0),$
TYPE=HEADING, IMAGE=smplogo1.gif, POSITION=(+1.800000 +0.000000), SIZE=(1.000000 0.280000),$
END
I tried this option before posting here. When I do it in the composer by inserting images and then the report, somehow the report format is getting messep up. It doesn't happen with other reports, just this kind of report with mailing labels.
quote:
Originally posted by TexasStingray: If you are only going to support PDF output you could user the procedure composer and set it up to get want you want.
TABLE FILE EMPLOYEE
SUM COMPUTE CNTR = LAST CNTR + 1 ; NOPRINT
BY LAST_NAME NOPRINT
BY FIRST_NAME NOPRINT
ON FIRST_NAME PAGE-BREAK
HEADING
"<FIRST_NAME <LAST_NAME"
"<ADDRESS_LN1"
"<ADDRESS_LN2"
"<ADDRESS_LN3"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,PAGESIZE=LETTER,LEFTMARGIN=0.256,TOPMARGIN=0.5,PAGEMATRIX=(2 6),ELEMENT=(4 1),GUTTER=(0.188 0),$
TYPE=REPORT, IMAGE=smplogo1.gif, POSITION=(3.800000 0.100000), SIZE=(1.000000 0.280000), WHEN=CNTR EQ 1, $
END
You can adjust the WHEN or CNTR to put an image on each page is it goes over.