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     [SOLVED] Right space for Nodata

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Right space for Nodata
 Login/Join
 
Member
posted
Below is my code snippet to produce right blank space for nodata, but it was generating dots instead of blank spaces for nodata case.

-SET &ND='$0.00' | HEXBYT(168,'A1');
SET NODATA='&ND'
-*SET NODATA='$0.00'

DEFINE FILE CAR
DEALERCOST/D12.2B=DEALER_COST;
SORTCAR/A2=
IF CAR EQ 'FORD'
THEN
'10'
ELSE
IF CAR EQ 'AUDI'
THEN
'15'
ELSE
IF CAR EQ 'DATSUN'
THEN
'20'
ELSE
'99';
END
TABLE FILE CAR
SUM DEALERCOST/D12.2C
ACROSS COUNTRY
FOR SORTCAR
10 AS 'FORD (NO DATA IN FILE)' LABEL FORD OVER
15 AS 'AUDI' LABEL AUDI OVER
20 AS 'DATSUN' LABEL DATSUN OVER
99 AS 'ALL OTHER' LABEL ALLOTHER
ON TABLE PCHOLD FORMAT XLSX
END

  

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 14 | Registered: May 07, 2019Report This Post
Member
posted Hide Post
I would like to create blank space right of $0.00 which is a nodata case
 
Posts: 14 | Registered: May 07, 2019Report This Post
Virtuoso
posted Hide Post
Venkatesh

When I run you code I see a " after the $0.00 if I substitute 32 (which should be a space) for 168 in your HEXBYT command it doesn't show a space after the $0.00. I suggest you open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Expert
posted Hide Post
The alternative to HEXBYT(32,'A1') for a blank space is HEXBYT(160,'A1').

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
Member
posted Hide Post
Thankyou Tony :-) I could able to create blank space with HEXBYT(160,'A1').
 
Posts: 14 | Registered: May 07, 2019Report 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     [SOLVED] Right space for Nodata

Copyright © 1996-2020 Information Builders