Page 1 of 1

LoadFromFile error after SaveToFile

Posted: Tue 06 May 2008 13:01
by linteli
I use Delphi 7 and DAC MySQL 5.20.1.15. (French version)

I have a MyQuery component and after MyQuery.execute i do MyQuery.SaveToFile('file.xml').
It work's fine.

After i try to reload the data whith a TVirtualTable component, i do :
VirtualTable.LoadFromFile('file.xml') and the have an error :
EConvertError "true" is not a correct boolean value

Do you know why ?

Thank's

Posted: Thu 08 May 2008 11:24
by Dimon
We can not reproduce the problem.
Please send a complete small sample to dmitryg*crlab*com to demonstrate it, including a script to create and fill table.

Posted: Wed 14 May 2008 09:38
by linteli
I solve the problem by recreating a sample application.

For a particular need, in my application i had changed the value of FalseBoolStrs and TrueBoolStrs to :

FalseBoolStrs[0]:='0';
TrueBoolStrs[0]:='1';

and that is what caused the problem.

Thank's

Posted: Wed 14 May 2008 14:34
by Dimon
It is good to see that this problem has been solved.