Hey guys,
As a follow up, I found a more inclusive function for processes CSV files on the mailing list. I post it here just in case it helps someone:
function CSV2Tab3 pData
local tNuData -- contains tabbed copy of data
local tReturnPlaceholder -- replaces cr in field data to avoid line ...
Search found 3 matches
- Mon Mar 07, 2011 3:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Import CSV file with multi-line records
- Replies: 7
- Views: 7970
- Mon Mar 07, 2011 12:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Import CSV file with multi-line records
- Replies: 7
- Views: 7970
Re: Import CSV file with multi-line records
Thank you both for such a quick reply!
I tried Dixie's solution and it works beautifully. It's exactly what I needed, even though I am not quite sure I understand how it works just yet ;-) But it definitely solved the problem!!
Thank you very much!
on mouseUp
put 1 into myVarLines
repeat ...
I tried Dixie's solution and it works beautifully. It's exactly what I needed, even though I am not quite sure I understand how it works just yet ;-) But it definitely solved the problem!!
Thank you very much!
on mouseUp
put 1 into myVarLines
repeat ...
- Sun Mar 06, 2011 6:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Import CSV file with multi-line records
- Replies: 7
- Views: 7970
Import CSV file with multi-line records
Hi there,
I am trying to load a CSV file that has a bit of a strange format. The format looks like this:
name, description
"The Name", "The Description which has
multiple
lines
like this."
"The 2nd Name", "The 2nd Description which
also has
multiple lines
enclosed in quotes"
etc.
The ...
I am trying to load a CSV file that has a bit of a strange format. The format looks like this:
name, description
"The Name", "The Description which has
multiple
lines
like this."
"The 2nd Name", "The 2nd Description which
also has
multiple lines
enclosed in quotes"
etc.
The ...