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]Time error On XLSX export

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Time error On XLSX export
 Login/Join
 
Member
posted
Hi there,

I'm working on a report which has time fields, when I export as HTML or any other format, the time formats are fine. Challenge is when I export to XLSX I get ####### in the time field in Excel. If I select the field to see the value in the field, I get a number value in it. I have tried to change the format of the field to HHI but still get this error.

ARRIVALTIME/HHI AS 'Arrival,Time'

Any suggestions ?

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8105 - APPSTUDIO,
Windows, All Outputs
 
Posts: 10 | Location: United Kingdom | Registered: March 20, 2015Report This Post
Expert
posted Hide Post
This seems to work in WF 8.0.08:

DEFINE FILE CAR
ARRIVALTIME/HYYMDS = DT(20091117 15:24:34.165);
END

TABLE FILE CAR
PRINT
ARRIVALTIME

ARRIVALTIME/HHI AS 'Arrival,Time'

ARRIVALTIME/HHI   AS 'ARRIVALTIME_HHI'
ARRIVALTIME/HHIa  AS 'ARRIVALTIME_HHIa'
ARRIVALTIME/HHIS  AS 'ARRIVALTIME_HHIS'
ARRIVALTIME/HHISa AS 'ARRIVALTIME_HHISa'

COMPUTE AT_HHI/HHI     = ARRIVALTIME;
COMPUTE AT_HHIa/HHIa   = ARRIVALTIME;
COMPUTE AT_HHIS/HHIS   = ARRIVALTIME;
COMPUTE AT_HHISa/HHISa = ARRIVALTIME;

BY COUNTRY

ON TABLE PCHOLD FORMAT XLSX
END


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
What is the format of ARRIVALTIME?


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
Member
posted Hide Post
Thanks for your response Francis, I see in the meta data the format is HHIS but for some reason when you export to XLSX (also read some other responses) WF exports it as Alpha. We have tried a fix on this to add anew field with HCNVRT to A8 and this then appears correctly on the XLSX.


WebFOCUS 8105 - APPSTUDIO,
Windows, All Outputs
 
Posts: 10 | Location: United Kingdom | Registered: March 20, 2015Report This Post
Expert
posted Hide Post
quote:
This seems to work in WF 8.0.08:

Also OK in WF8.1.04

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
Thanks Tony, I think the challenge is we on server 8004 and app studio 8105. We busy upgrading the server at present.


WebFOCUS 8105 - APPSTUDIO,
Windows, All Outputs
 
Posts: 10 | Location: United Kingdom | Registered: March 20, 2015Report This Post
Expert
posted Hide Post
Hi Leon,

Just mentioned it as "WebFOCUS 8" in your signature didn't give the release that you are using Smiler

BTW, I am not sure that it is advisable to have App Studio at a different release to your server. I know that there isn't an App Studio version for your server release but it has always been the case regarding server and developer client (e.g. Dev or App Studio).

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
Master
posted Hide Post
Have you tried:


EXL2KTXTDATE

The EXL2KTXTDATE parameter allows you to specify that translated dates should be sent as date values with format masks instead of text values.

The syntax is: SET EXL2KTXTDATE = {TEXT|VALUE}

where:
TEXT - Passes date values that contain text to Excel 2000 as formatted text. TEXT is the default value.
VALUE - Passes the types of translated date values that contain text and are supported Excel date formats to Excel 2000 as standard date values with text format masks applied.


My user usually complain if dates come over as text and they can't use the Excel Date filters.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Member
posted Hide Post
Thanks I will try that as well Smiler


WebFOCUS 8105 - APPSTUDIO,
Windows, All Outputs
 
Posts: 10 | Location: United Kingdom | Registered: March 20, 2015Report 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]Time error On XLSX export

Copyright © 1996-2020 Information Builders