As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
No matter what I try, I can't get the text stored in an amper variable that is displayed in HEADING to wrap. I have tried the following with no effect on the report. What other options can I try to get this text in a heading to wrap?
TYPE=REPORT, WRAP=2.5,$ TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, WRAP=2.5,$This message has been edited. Last edited by: Kerry,
Posts: 118 | Location: Wisconsin | Registered: January 16, 2008
I don't believe you can wrap actual text in a heading - the appearance of text would be something that you would normally control yourself. Try converting that &var value into a computed field and insert that field into the heading. I know WRAP does work for fields within a heading.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
-SET &TEXT = 'This is my long piece of text that needs to be wrapped.' ;
DEFINE FILE CAR
MyText/A100 = '&TEXT' ;
END
TABLE FILE CAR
HEADING
"<MyText "
PRINT COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=HEADING, LINE=1, ITEM=1, OBJECT=FIELD, WRAP=1, $
ENDSTYLE
END
Why can't I get this to work????? I made a define field and used that field in the heading instead of the amp var.....
DEFINE FILE PEOPLE_DIM
HireDateOut/MtDYY=HDATE(PEOPLE_DIM.PEOPLE_DIM.FIRST_HIRE_DATE, 'YYMD');
MULTI_CODES/A150 = '&CLASSCODE';
END
TABLE FILE PEOPLE_DIM
SUM
'PEOPLE_DIM.PEOPLE_DIM.HireDateOut' AS 'Hire,Date'
'J0.PEOPLE_EMPLOYMENT_HISTORY_DIM.BENEFIT_CODE' AS 'Benefit,Code'
COMPUTE TOTEMPS/D5C = TOTEMPS + 1; NOPRINT
'J0.PEOPLE_EMPLOYMENT_HISTORY_DIM.EMPLOYEE_ECLS_DESC' NOPRINT
BY 'PEOPLE_DIM.PEOPLE_DIM.LCLastName' NOPRINT
BY 'PEOPLE_DIM.PEOPLE_DIM.FIRST_NAME' NOPRINT
BY 'PEOPLE_DIM.PEOPLE_DIM.FULL_NAME' AS 'Name'
BY 'PEOPLE_DIM.PEOPLE_DIM.VNUM' AS 'Valley,Number'
ON TABLE SUBHEAD
"<NEW_DAY_TIME "
" "
"Employee Report For"
-IF &CLASSCODE EQ _FOC_NULL GOTO HEAD_ALL_CLASSCODES;
"<MULTI_CODES"
-GOTO KEEP_GOING;
-HEAD_ALL_CLASSCODES
"All Class Codes"
-KEEP_GOING
" "
FOOTING
Thanks for any help
WebFOCUS Server 8.1.05 Windows 2008 Server WebFOCUS AppStudio 8.1.05 Windows 7 Professional IE 11 and Chrome Version 43.0.2357.124 m. Mostly HTML, PDF, Excel, and AHTML