Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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.

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: Tue May 14 12:53:28 CEST 2024

Total time taken to generate the page: 0.02482 seconds