That DESC_FLD having long data i need to display in two line
this is code
DEFINE FILE EMPDATA DESC_FLD/A100 = ' This is description field i need to display in two line is it possible in pagemartix '; END
TABLE FILE EMPDATA PRINT PIN AS '' OVER DESC_FLD AS '' OVER LASTNAME AS '' OVER FIRSTNAME AS ''
BY LASTNAME NOPRINT PAGE-BREAK ON TABLE SET STYLE * PAGEMATRIX=(3 10), ELEMENT=(2.59350 1.57500), GUTTER=(0.04000 0.00000), MATRIXORDER=HORIZONTAL, LABELNAME=AVERY 5160 ADDRESS, LABELPROMPT=OFF,$ ENDSTYLE ON TABLE SET PAGE-NUM OFF ON TABLE PCHOLD FORMAT PDF END
ThanksThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6 Windows, All Outputs
January 12, 2012, 10:36 AM
GamP
This works for me:
DEFINE FILE EMPDATA
DESC_FLD/A100 = 'This is Description field I need to display on more than 1 line with PageMatrix.';
END
TABLE FILE EMPDATA
PRINT PIN AS ''
OVER DESC_FLD AS ''
OVER LASTNAME AS ''
OVER FIRSTNAME AS ''
BY LASTNAME NOPRINT PAGE-BREAK
BY FIRSTNAME NOPRINT PAGE-BREAK
ON TABLE SET STYLE *
PAGEMATRIX=(3 10),
ELEMENT=(2.59350 1.57500),
GUTTER=(0.04000 0.00000),
MATRIXORDER=HORIZONTAL,
LABELNAME=AVERY 5160 ADDRESS,
LABELPROMPT=OFF,$
type=report, column=desc_fld, wrap=2, size=8, $
ENDSTYLE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
END
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
January 12, 2012, 11:27 PM
Deepu
Hi
i tried this Wrap but its not working
can any one help me plzThis message has been edited. Last edited by: Deepu,
WebFOCUS 7.6 Windows, All Outputs
January 13, 2012, 08:17 AM
Tom Flynn
APP APPENDPATH IBISAMP
-RUN
DEFINE FILE EMPDATA
DESC_FLD/A100 = 'This is Description filed i need to display in two line is it possiable in pagemartix ';
PARAG_1/A100 = PARAG(100, DESC_FLD, '|', 50, PARAG_1);
DESC_FLD1/A50 = GETTOK(PARAG1, 100, 1, '|', 50, 'A50');
DESC_FLD2/A50 = GETTOK(PARAG1, 100, 2, '|', 50, 'A50');
END
TABLE FILE EMPDATA
PRINT PIN AS ''
OVER DESC_FLD1 AS ''
OVER DESC_FLD2 AS ''
OVER LASTNAME AS ''
OVER FIRSTNAME AS ''
BY LASTNAME NOPRINT PAGE-BREAK
ON TABLE SET STYLE *
UNITS=IN, FONT='ARIAL', SIZE=8,$
PAGEMATRIX=(3 10),
ELEMENT=(2.59350 1.57500),
GUTTER=(0.04000 0.00000),
MATRIXORDER=HORIZONTAL,
LABELNAME=AVERY 5160 ADDRESS,
LABELPROMPT=OFF,$
ENDSTYLE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
END
-EXIT