Focal Point
[CLOSED] JPG/PNG image in a column with text - PDF

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2077006196

September 05, 2019, 02:41 PM
WebFOCUS_Dev
[CLOSED] JPG/PNG image in a column with text - PDF
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 8206
All formats
September 05, 2019, 03:05 PM
vinodh
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