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.
Does anyone know/or could suggest, a way to retain the date format identity of an excel cell; when multiple date formats for a single report column in webfocus have been exported to excel?
The Issue - I have been able to export multi date formats (‘YY’, ‘MtYY’ ‘DMtYY’) for a single reporting column in WEBFOCUS by dynamically altering the date format at each row cell; example:
TABLE FILE DATEFILE PRINT DATEOUTPUT DATEFORMAT ON TABLE HOLD AS TEMPDATE FORMAT FOCUS END -RUN
TABLE FILE TEMPDATE PRINT DATEOUTPUT/DATEFORMAT AS ‘Date’ ON TABLE PCHOLD FORMAT EXL2K END
The EXL2KTXTDATE is set to ‘VALUE’, but as DATEFORMAT is a defined alphanumeric to hold the three date formats; when the report is exported to Excel the date cells are not identified as a date format and cannot be sorted correctly.
Thanks, Craig GThis message has been edited. Last edited by: Kerry,
Webfocus 7611 OS:XP HTML, AHTML,CSV,EXCEL
Posts: 1 | Location: uk | Registered: February 09, 2011
Can you please try the following code from our technicals:
DEFINE FILE EMPDATA
CFORMAT/A8=DECODE DEPT ('SALES' 'YMD' 'MARKETING' 'MtDY'
ELSE 'YMTD');
END
TABLE FILE EMPDATA
PRINT HIREDATE HIREDATE/CFORMAT
BY DEPT
WHERE DEPT EQ 'SALES' OR 'MARKETING' OR 'PERSONNEL'
ON TABLE PCHOLD FORMAT EXL2K
END
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004