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] Unable to change the date cells from GENERAL type to DATE type for a report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Unable to change the date cells from GENERAL type to DATE type for a report
 Login/Join
 
Silver Member
posted
When run a report and save the report in Excel format, the date field is displayed in mm/dd/yyyy format, i.e., in "GENERAL type has no specific number type". Users would like to display the date in mm/dd/yy format. We have tried selecting the appropriate cells, setting the cell format to DATE, type: mm/dd/yy but the displayed format does not change. After various tries to get a solution, I did some research on the Internet and came up with the following workaround that seems to work but does require additional steps by the user. Users would like more permanent solution that do not need additional steps in order to change the displayed format for dates.

Thanks

This message has been edited. Last edited by: TechLights,


7703 on Linux, Windows
ReportCaster
PDF, HTML, Excel, AHTML, and CSV
 
Posts: 40 | Registered: January 31, 2008Report This Post
Virtuoso
posted Hide Post
what is the original format in the database of these field?
but is this not a basic setting in excel?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Try reformatting the date field to the desired format before it is exported to Excel:

TABLE FILE GGSALES
SUM
CATEGORY
PRODUCT
DATE/MDY
UNITS
DOLLARS
BY CATEGORY NOPRINT
BY PRODUCT NOPRINT
BY DATE NOPRINT
ON TABLE PCHOLD FORMAT EXL2K
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Silver Member
posted Hide Post
Thanks for the help!

The original format of date in the database is: DATE (ex: yyyy-mm-dd hh:mm:ss), it has been formatted in the sql as: mm/dd/yyyy by using to_char (). By the way, even I use the date field from database directly, Category for all the columns are:

Category: General
No type

I got what I want finally by using:
DEFINE FILE GGSALES
DATE_MDYY/MDYY=HDATE (DATE, 'YYMD');
END
After the date field is exported to Excel, the column is:

Category: Custom.
Type: mm/dd/yyyy. (User can edit it directly)


7703 on Linux, Windows
ReportCaster
PDF, HTML, Excel, AHTML, and CSV
 
Posts: 40 | Registered: January 31, 2008Report 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] Unable to change the date cells from GENERAL type to DATE type for a report

Copyright © 1996-2020 Information Builders