I am having A3000 length field which needs to be shown in footing .when we have this long dynamic field in footing its not working .But Same long text field is working in TABFOOTING.
-SET &FOOT_TEXT = 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, *** soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.'; TABLE FILE CAR SUM COMPUTE FOOT_TEXT/A1200 = '&FOOT_TEXT'; NOPRINT SALES BY COUNTRY BY CAR BY MODEL FOOTING " " "<FOOT_TEXT" ON TABLE SUBFOOT " " "<FOOT_TEXT" ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=PORTRAIT, MARKUP=ON, $ TYPE=REPORT, FONT=ARIAL, SIZE=10, $ TYPE=TABFOOTING, SIZE=8, WRAP=10,COLOR=BLUE , $ TYPE=FOOTING, SIZE=8, WRAP=10,COLOR=RED, $ END -RUN
OUTPUT FORMAT- PDFThis message has been edited. Last edited by: FP Mod Chuck,
Remember the documentation.
The WRAP syntax hasn't changed in recent releases so the following link should help you - WRAP Doc
You will learn that there are only certain TYPEs that can contain WRAP syntax.
General rule if you intend to hand code everything and bypass using the GUI - learn from the documentation and check it always when you have an issue to make sure you are following documented syntax.
If WRAP is not way to show long dynamic
text field in page footing is there any alternative way is there. I know we can chunk long text into multiple lines using substring but this will be fine if the text is static.
Are you using a variable to provide the footing text?
If so then you could use dialogue manager to split the text into separate variables.
The next question would be, are you using the text editor to code or the GUI?
If using the text editor then you could include dialogue manager to add as many lines of footing as you need to include all of the variables that you've split the original into.
Of course, if you're using the GUI to build the report then you cannot have dialogue manager so you are back to square one.
Hi Tony, Value for footing will come from one of the table column .To demonstrate i have hard coded
values in Set variable .
What is the format of your memo field? If its TX or something, change it to A1000 or so in the .mas file and try it again.
|Powered by Social Strata|