U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » DBF crash error while writing record
Re: DBF crash error while writing record [message #44617 is a reply to message #43823] Sat, 25 April 2015 11:08 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1221
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.

Thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bugs with svn build 8144 and NOAPPSQL
Next Topic: How to display fields from different tables in one SQLArray
Goto Forum:
  


Current Time: Sat Apr 25 15:13:21 GMT+2 2026

Total time taken to generate the page: 0.00411 seconds