Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] pagematrix
 Login/Join
 
Gold member
posted
Hi

can any one help me this problem

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

Thanks

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi

i tried this Wrap but its not working

can any one help me plz

This message has been edited. Last edited by: Deepu,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Reply With QuoteReport This Post
Expert
posted Hide Post
  
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

Didn't bother Spellcheck, it was sleeping...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1969 | Location: Centennial, CO | Registered: January 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.