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     Indenting lines in an EXL07 report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Indenting lines in an EXL07 report
 Login/Join
 
Guru
posted
Does anyone know a way to indent lines in an EXL07 format report. I need to indent 3 blank spaces for certain lines. See example below.


Apples
   Granny
   Red Delicious
   Green

-SET &INDENT_LABEL1         = CTRAN(16,'   Red Delicious', 32,13,'A16');

 


The SHOWBALNK=ON does not work and neither does the above CTRAN example


Thanks

WF 8007
Windows XP


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
 
Posts: 244 | Registered: August 27, 2012Report This Post
Expert
posted Hide Post
Hi Michele,

Does it have to be EXL07? If you change it to EXL2K you might find that it works. I think mainly because of the "textual" format of the output from WF rather than the binary in which Excel will(?) always strip out extraneous spaces.

DEFINE FILE CAR
  D_MODEL/A70 = CTRAN(3,'...',46,13,'A3')|MODEL;
END
TABLE FILE CAR
   BY COUNTRY
   BY CAR
   BY D_MODEL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET LINES 999999
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
It's SHOWBLANKS, works for me...
  
SET SHOWBLANKS = ON
DEFINE FILE CAR
  CATEGORY/A20 = '    ' | CAR;
END
TABLE FILE CAR
SUM
    RETAIL_COST 
	DEALER_COST
   BY COUNTRY
   BY CATEGORY
 ON TABLE HOLD AS HOLD2
END
-RUN

DEFINE FILE HOLD2
  TOT1/P13C = RETAIL_COST;
  TOT2/P13C = DEALER_COST;
END
TABLE FILE HOLD2
SUM
    TOT1 NOPRINT 
	TOT2 NOPRINT
  BY COUNTRY NOPRINT
SUM
    RETAIL_COST 
    DEALER_COST 
  BY COUNTRY NOPRINT
  BY CATEGORY AS 'CATEGORY'
ON COUNTRY SUBHEAD
"<COUNTRY<TOT1<TOT2"
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET HTMLCSS ON
ON TABLE SET LINES 999999
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=SUBHEAD, HEADALIGN=BODY, STYLE=BOLD,$
TYPE=TITLE, STYLE=BOLD,$
ENDSTYLE
END
-RUN
-EXIT

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
hi Michele,

Tried with DM, still, couldn't get it to work to have spaces in the beginning. But, it'll leave spaces b/w the datas.

-SET &XLDOTS='.';
-SET &XLSP=CTRAN(1,&XLDOTS,46,13,'A1');

Another method, which I followed for page numbers.

SET SHOWBLANKS = ON
DEFINE FILE CAR
MAX_PADDING/A30 = '@@@@@@@@@@@@@@@@@@';
INSTRLEN/I5 = ARGLEN(24, MODEL,INSTRLEN);
DES/D12 = IF INSTRLEN EQ 3 THEN 1 ELSE IF INSTRLEN EQ 9 THEN 2 ELSE IF INSTRLEN EQ 11 THEN 3 ELSE IF INSTRLEN EQ 16 THEN 4 ELSE 7;
PADDING/A30= SUBSTR(30, MAX_PADDING, 1, DES, DES, PADDING);
PADDED_VALUE/A100 = PADDING || MODEL;
IND_VALUE/A100 = STRREP (100, PADDED_VALUE, 1, '@',1,' ',100, IND_VALUE);
END

TABLE FILE CAR
PRINT
MODEL
INSTRLEN
DES
PADDING
PADDED_VALUE
IND_VALUE
ON TABLE PCHOLD FORMAT EXL07
END


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report 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     Indenting lines in an EXL07 report

Copyright © 1996-2020 Information Builders