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] Missing date values displayed as 00/01/1900

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Missing date values displayed as 00/01/1900
 Login/Join
 
Gold member
posted
Hi,
I am trying to generate a report in EXL07 fomat in WebFOCUS version 8.1.04.
The report contains date field say A.
In the report the field A displays '00/01/1900' in the formula bar where the data is missing in db, while in actual cell it displays blank(as expected).
Please suggest on following:
1. is this the expected behaviour in WF8.
2. how can we suppress the value in formula bar to display blank.

The code example is as below:
SET NODATA = ''
TABLE FILE XYZ
PRINT DATE_FIELD
ON TABLE PCHOLD FORMAT EXL07
END

Please suggest.

Thanks,
Vivek

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report This Post
Expert
posted Hide Post
Perhaps you can try something like this:

TABLE FILE CAR
SUM
SALES
COMPUTE DT1_NULL/YYMD MISSING ON = IF COUNTRY EQ 'ITALY' THEN '2015/05/25' ELSE MISSING;
COMPUTE DT1_STRING/A8YYMD = DT1_NULL;
COMPUTE DT1_BLANK/YYMD = IF COUNTRY EQ 'ITALY' THEN '2015/05/25' ELSE '';
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL07
END
COMPUTE DT1_STRING/A8YYMD = DT1_NULL; seems to work - it displays blank in the formula bar of Excel 2007.

This issue does not occur in EXL2K which is one more reason I'm not ready to try these esoteric versions of Excel formats.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Add SET NODATA = '' to the top of Francis' code and the first date column "behaves" as well.

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
Gold member
posted Hide Post
Thanks Francis and Tony.
The resolution works perfectly in the adhoc reports.
How do I over come the issue in case of self service report, where field is picked directly from the master file.

Vivek


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report 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] Missing date values displayed as 00/01/1900

Copyright © 1996-2020 Information Builders