[Gambas-user] Problem with boolean values in a class file
Leonardo Miliani
leonardo at ...1237...
Mon Feb 4 12:02:56 CET 2008
I think that the TRUE and FALSE constants in Gambas aren't "true"
boolean values.
Try to convert them in real bool values with *CBool* before to store
them in your DB, i.e.:
> currentAddress preferred_address = *CBool*(chkpreferredAddress.value)
> currentAddress postal_address = *CBool*(chkPostalAddress.value)
> currentAddress .HeadOffice = FALSE (which I want to be false here)
--
Ciao.
Leo.
Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Co-fondatore di Gambas-it.org: www.gambas-it.org
(il sito italiano dedicato alla comunità di Gambas)
Scegli software opensource - Choose opensource software
More information about the User
mailing list