I've been having trouble with some report formatting issues with a PDF report, and I was hoping that someone may have ideas. Here's a code sample for what I'm trying to do:
TABLE FILE CAR SUM DEALER_COST OVER RETAIL_COST OVER WEIGHT OVER WHEELBASE ACROSS MODEL ON TABLE PCHOLD FORMAT PDF END
The report works fine, except for one problem. As it's printing the sums for four fields over each other, the titles (ie, DEALER_COST, RETAIL_COST, etc) are on the left, and the data is organized by columns. This is what I want, with one exception. When sending the output to a PDF, those titles appear only on the first page, which makes subsequent pages very difficult to read.
Does anyone know how to force those titles to appear on every page in PDF format? I've not had any luck. Changing the page size/orientation, font size, or decreasing space between columns won't work, as the report returns way too many columns to force them all to print out on a single page.
Any ideas?
June 01, 2005, 02:37 PM
Prarie
What Version are you on? We have had some interesting problems with PDF format with 5.3.2. Have a couple of cased open with IBI waiting on answers.
June 01, 2005, 03:55 PM
<Bob Becker>
We're currently running version 5.2.7 - I don't think the issue is specifically related to PDF's, but PDF is the only output format that we use that takes long horizontal output and places it on a separate page. HTML and Excel do the same thing, but for those formats it works, as they don't wrap horizontally.
June 02, 2005, 02:34 PM
reFOCUSing
Is this what you're trying to do?
TABLE FILE CAR SUM DEALER_COST RETAIL_COST WEIGHT WHEELBASE COMPUTE COUNTER/I2 = IF COUNTER LT 3 THEN COUNTER + 1 ELSE 1; BY MODEL ON TABLE HOLD AS H0 FORMAT ALPHA END -RUN
TABLE FILE H0 SUM COMPUTE TITLE1/A10 = IF COUNTER EQ 1 THEN 'TITLE1' ELSE ''; AS '' DEALER_COST AS '' OVER COMPUTE TITLE2/A10 = IF COUNTER EQ 1 THEN 'TITLE2' ELSE ''; AS '' RETAIL_COST AS '' OVER COMPUTE TITLE3/A10 = IF COUNTER EQ 1 THEN 'TITLE3' ELSE ''; AS '' WEIGHT AS '' OVER COMPUTE TITLE4/A10 = IF COUNTER EQ 1 THEN 'TITLE4' ELSE ''; AS '' WHEELBASE AS '' ACROSS MODEL ACROSS COUNTER NOPRINT ON TABLE PCHOLD FORMAT PDF END -RUNThis message has been edited. Last edited by: <Mabel>,