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

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Right space for Nodata
Go
New
Search
Notify
Tools
Reply
  
[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: 5 | Registered: May 07, 2019Reply With QuoteReport This Post
Member
posted Hide Post
I would like to create blank space right of $0.00 which is a nodata case
 
Posts: 5 | Registered: May 07, 2019Reply With QuoteReport 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: 1560 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Member
posted Hide Post
Thankyou Tony :-) I could able to create blank space with HEXBYT(160,'A1').
 
Posts: 5 | Registered: May 07, 2019Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Right space for Nodata

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