forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
Hi Mirek,
mirek wrote on Wed, 29 October 2014 10:09
Hi,
the problem seems to be is that you are passing "String" Values for "double" ("N") columns. It crashes on Value conversion.
You will have to convert texts into correct Value types to make it work.
At last I solved the problem with "N" field (just use Integer field and cast the String with StrInt() ) but now appear problems for "D", date field.
How can I convert the String to Date and add it correctly in
values.Add( ... );
I have not find any method to cast a string in the date format used by dbfstream.