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'. 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,
image have to be a separate field and the text have to be a separate field. and then show them side by side.
Windows, All Outputs
|Powered by Social Strata|