I have a report like this which runs fine in HTML format. I have 12 of the same kind and I am trying to show them on 1 page in PDF. So, I am trying compound PDF and not able to get the formatting correct. Will appreciate any help on this.
TABLE FILE CAR
SUM
SALES NOPRINT
COMPUTE IMG_TXT/A5 = ''; AS ''
HEADING
"Total Sales Amount"
"<SALES"
FOOTING
"<COUNTRY <CAR"
ON TABLE SET AUTOFIT OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, JUSTIFY=CENTER, $
TYPE=FOOTING, SIZE=2, COLOR=RGB(75 75 75), HEADALIGN=INTERNAL, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=1, JUSTIFY=LEFT, $
TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=2, JUSTIFY=RIGHT, $
TYPE=DATA, COLUMN=IMG_TXT, SIZE=(0.5 0.5),
IMAGE=IBFS:/WFC/Repository/test/images/down_img.png, $
ENDSTYLE
END
Thank youThis message has been edited. Last edited by: WebFOCUS_Dev,
What kind of formatting issue are you having? Your code only contains one report which I have working. Maybe post your actual compound report using the car file.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 15, 2018, 10:45 AM
Les J
Not sure if you're comment Chuck was meant for me, but in my example I took their focexec and just changed to format to PDF.
TABLE FILE CAR SUM SALES NOPRINT COMPUTE IMG_TXT/A5 = ''; AS '' HEADING "Total Sales Amount" "FOOTING "ON TABLE SET AUTOFIT OFF ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET PAGE-NUM OFF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, JUSTIFY=CENTER, $ TYPE=FOOTING, SIZE=2, COLOR=RGB(75 75 75), HEADALIGN=INTERNAL, $ TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=1, JUSTIFY=LEFT, $ TYPE=FOOTING, LINE=1, SIZE=12, OBJECT=FIELD, ITEM=2, JUSTIFY=RIGHT, $ TYPE=DATA, COLUMN=IMG_TXT, SIZE=(0.5 0.5), IMAGE=IBFS:/WFC/Repository/Common/Images/dpsBadge.png, $ ENDSTYLE END