Article

From:
To:
All
Subject:
SaveToFileViaFormat+kbmCSVStreamFormat Error?!
Newsgroup:
components4developers.public.kbmmw

SaveToFileViaFormat+kbmCSVStreamFormat Error?!


Hi Kim,

I develop kbmMW based Aplication with:
Delphi 10/BDS 2006; 7.02.00 Professional Edition; kbmMW v. 3.51.00 Enterprise, but I was the same problems while I tested ver. 3.52 + 7.04 beta!

For some time I noticed strange error in my kbmMW based aplication! After using kbmMemTable method SaveToFileViaFormat + kbmCSVStreamFormat, aplications suddenly begins rases strange errors, that can be resolved only with restart it's. After much debugging, I detected one (I'm not sure its the only) error and I try describe it: - If I load data from ClientQuery via kbmMemTable.LoadFromDataSet method ... - and save data from kbmMemTable via CSV Stream format to file (via SaveToFileViaFormat + kbmCSVStreamFormat) ... - ... delphi function "FloatToStr(StrToFloat('210'))" start raises "impossible" error: '210' is not a valid floating point value!
At first I thought it was only a kbmMemtable and kbmCSVStreamFormat error, but when I try to make a demo all worked flawlessly! Then I realized that the error only occurs if I previously used LoadFromDataSet(kbmMWClientQuery) method! Further, I noticed that all the strings do not reises error: for example '21'! For this reason I added the demo to your Basic Client Demo, and send it to binaries newsgroup!
Thanks in advance
Admir Zajmovic  
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 29 Mar 2024 15:50:52 UTC
Copyright © 2009-2024
HREF Tools Corp.