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     [CLOSED] Heading for the report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Heading for the report
 Login/Join
 
Platinum Member
posted
Hi

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,


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Virtuoso
posted Hide Post
Is the Logo an image?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by Prarie:
Is the Logo an image?

Yes, there are 2 images and lines of text in between..


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Virtuoso
posted Hide Post
You will need to call the image - something like this. Make sure it's in your app path

  TYPE=HEADING,        IMAGE=logo_color.gif,     POSITION=(+7.500000 +0.000000),     SIZE=(2.000000 0.280000),$
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
I tried these long back. this doesn't work with the code above.
quote:
Originally posted by Prarie:
You will need to call the image - something like this. Make sure it's in your app path

  TYPE=HEADING,        IMAGE=logo_color.gif,     POSITION=(+7.500000 +0.000000),     SIZE=(2.000000 0.280000),$


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Expert
posted Hide Post
Is the image in the path ?

For PDF the image must be available in the APP PATH.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hi Waz

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.


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Master
posted Hide Post
If you are only going to support PDF output you could user the procedure composer and set it up to get want you want.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
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


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Hi Waz

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Platinum Member
posted Hide Post
hi

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.


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 139 | Registered: July 21, 2011Report This Post
Expert
posted Hide Post
Ah, once on the page.

How about this:
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] Heading for the report

Copyright © 1996-2020 Information Builders