EFCreateError with JvCsvDataSet

Posted by Kim Jensen on Stack Overflow See other posts from Stack Overflow or by Kim Jensen
Published on 2010-03-29T23:57:00Z Indexed on 2010/03/30 0:03 UTC
Read the original article Hit count: 785

Filed under:
|

I have been using JvCSVDataSet with Delphi 5 and it works fine. I just moved over to Delphi 2007 and now with the same program I get EFCreateError, cannot create file "" I got the error description from MAdexcept 3.0. Here are the code,I get the error in the line 'CADDCOUNT', but if I rem out that line then I don't get the error before I close the dataset.

jvCsvDataSet1.FileName := 'C:\TEST.CSV';
jvCsvDataSet1.SaveToFile('C:\TEST.CSV');
jvCsvDataSet1.Active := True;
jvCsvDataSet1.Append;
jvCsvDataSet1.FieldByName('LINETYPE').Asstring := 'VERSION";
jvCsvDataSet1.FieldByName('CADDCOUNT').AsString := 'Company Name and address';
jvCsvDataSet1.Post;
jvCsvDataSet1.Active := False;

Thanks, for any help. Kim

© Stack Overflow or respective owner

Related posts about delphi

Related posts about jedi