Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Formatting Issue with included fex files with XLSX format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Formatting Issue with included fex files with XLSX format
 Login/Join
 
Gold member
posted
Hi,

I have 2 tabs (in XLSX format) cover page and detail page. If I put the wrapping on my 2 columns in coverpage styles, in detail page first 2 columns also getting wrapped though I specified WRAP=OFF. Can you please help me. Below is the code.

car1.fex (cover page)
DEFINE FILE CAR
Blank1/A1='';
Blank2/A1='';
END

TABLE FILE CAR
PRINT
Blank1 AS ''
Blank2 AS ''
BY CAR.ORIGIN.COUNTRY NOPRINT
BY CAR.COMP.CAR NOPRINT
BY CAR.CARREC.MODEL NOPRINT
BY CAR.BODY.BODYTYPE NOPRINT
BY CAR.BODY.SEATS NOPRINT

HEADING
"<+0>Client Number / Name: <+0>WF_IR_ACCOUNTNO / WF_IR_ACCOUNTNAME "
"<+0>Report Name: <+0>"
"<+0>Report Date / Time: <+0>01/01/2001 "
"<+0>Valuation date: <+0> "
"<+0> Source: <+0>US "
"<+0> Currency: <+0>USD "

ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET STYLE *


TYPE=HEADING, SIZE=9, HEADALIGN=BODY,$
TYPE=HEADING, ITEM=1, POSITION=N1, $

TYPE=REPORT, COLUMN=P1, WRAP=1.5, $
TYPE=REPORT, COLUMN=P2, WRAP=1.5, $

ENDSTYLE
END

car2.fex (detail page)
SET COMPOUND='OPEN'
-INCLUDE car1
SET COMPOUND=CLOSE


TABLE FILE CAR
PRINT
*

ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET STYLE *

TYPE=REPORT, WRAP=OFF, $

ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,


WEBFOCUS 8202/Windows
PDF/HTML/XML
 
Posts: 53 | Registered: December 06, 2011Report This Post
Master
posted Hide Post
Try adding in the specific columns that you do not want to wrap:
 
TYPE=REPORT, COLUMN=P1, WRAP=OFF, $
TYPE=REPORT, COLUMN=P2, WRAP=OFF, $ 


Read the docs here: Controlling Column Width and Wrapping in XLSX Report Output


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
Gold member
posted Hide Post
I have tried adding WRAP OFF on individual columns also. But it din't help.
Actually columns are not wrapping, full column is not visible unless I expand the cells manually.
 
Posts: 53 | Registered: December 06, 2011Report This Post
Platinum Member
posted Hide Post
Sandhya,
Did you try setting Wrap values for the columns on the second report, like:

TYPE=REPORT, COLUMN=P1, WRAP=3.0, $
TYPE=REPORT, COLUMN=P2, WRAP=3.0, $

to get the column widths you want?


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Formatting Issue with included fex files with XLSX format

Copyright © 1996-2020 Information Builders