Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Export output file as pipe delimited with headers

* Copy all input files and related files to Archive Folder
SET SAFETY OFF
com_Csv=ADDBS(com_ArchiveFolder)+FORCEEXT(JUSTFNAME(com_InputFilePath),"csv")
com_Hdr=FORCEEXT(com_Csv,"hdr")
COPY TO (com_Hdr) TYPE CSV FOR .F.
COPY TO (com_Csv) TYPE DELIMITED WITH "" WITH CHARACTER |
com_FileString1=FILETOSTR(com_Hdr)
com_FileString2=FILETOSTR(com_Csv)
=STRTOFILE(STRTRAN(com_FileString1,[,],[|]),com_Csv) 
=STRTOFILE(com_FileString2,com_Csv,1)

« Back to Tech Notes

The main reason for this email is to let you know that Geoff is doing a tremendous job for you. He is fast, intelligent, funny, and a hard worker. We had a good time getting the little stuff taken care of and we are back 100% in one day!!!
K.W., Hobe Sound, FL