Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] JPG/PNG image in a column with text - PDF
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] JPG/PNG image in a column with text - PDF
 Login/Join
 
Gold member
posted
Hello

I am working on a PDF report and I need to display an image dynamically along with some text.
I am able to display the image by itself but its not working along with text (FLD4/A100 = LOGO || ' ' || '$10 LESS THAN BEFORE'Wink. Please suggest a way.
  DEFINE FILE CAR
LOGO/A65=IF COUNTRY EQ 'ENGLAND' THEN 'img1.png' ELSE 
         IF COUNTRY EQ 'ITALY' THEN 'img2.png';
END
TABLE FILE CAR
SUM
 CAR
 LOGO
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY';
ON TABLE SET HTMLCSS ON
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=DATA, COLUMN=N3, IMAGE=(LOGO),SIZE=(0.2 0.2),$
ENDSTYLE
END

Thank you.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8202
All formats
 
Posts: 67 | Registered: September 13, 2017Reply With QuoteReport This Post
Gold member
posted Hide Post
image have to be a separate field and the text have to be a separate field. and then show them side by side.


WebFOCUS 8
Windows, All Outputs
 
Posts: 61 | Registered: January 23, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] JPG/PNG image in a column with text - PDF

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.