very interesting sdstuber. I tried your first suggestion, but it did not work for what I appear to be battling. So I tried your second option, even though not fully understanding it, and it worked.
Now I have all the data on one line, but for whatever reason the fields CRTD_DATE_TIME and MOD_DATE_TIME do not import into the database, even though I have them setup as date/time fields. I also noticed that I lost the time stamp that is included in the field. The actual data out of the mother application should come down in this format:
mm/dd/yyyy hh:mm:ss (and the time is in military time)
But with the code above, it only dumps the date as such:
dd-mmm-yy (where mmm is the three char abbreviation for each month, JAN, FEB, etc.)
I would like to retain that time if possible...is that something that needs to be set in the code upfront, like a formatting guide?
I know this technically is a different question, and I can ask it if needed, but I couldn't get the data to dump right before, so just noticing it.
Let me know your thoughts.
Cheers,
Matt
Main Topics
Browse All Topics





by: sdstuberPosted on 2009-01-15 at 13:33:17ID: 23388049
try using replace
replace(rem_text,chr(13), ' ')
or if you have carriage return+line feed
replace(rem_text,chr(13) || chr(10), ' ')