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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
Hey users, We are running a large project where we have to create extracts in a csv format output. I am using the COMT format for this, but it removes all the forward slash (/) date separators when the file is saved to the upload location. Does anyone know of a way to keep the original formatting to keep the date in 08/03/2018 form instead of it overwriting the date to reflect as 8032018?
I have a few dates hard coded into the report, and those come across with the forward slash separator and they are not removed. It is only removing the separator for MDYY fields pulled into the report.
Thank you for any help! -LarissaThis message has been edited. Last edited by: LarissaB,
Version: 8.2.03M, OS/Platform: Windows 7 & 10, Output: Excel, pdf, html
Posts: 63 | Location: Liberty Lake, WA - USA | Registered: June 23, 2016
First, COMT was not removing the "/". The "/" were removed because COMT is a file format. The exact same thing happens with HOLDFORMAT ALPHA, SAVE, TABT, etc. file formats. When creating a HOLD file, if you want to save the formatted output of a field, try using FPRINT. Assuming TRX_DATE is a smart date:
TRX_DATE could have a default format of YYMD, but PTRXDT will be "MM/DD/YYYY" in the COMT file.
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, 2006