CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Database Error: Unknown Column 'FALSE' ('TRUE')

Print topic Send  topic

Author Message
djgjohng

Posts: 28
Posted: 07/17/2008, 5:56 PM

Getting this error on a Boolean field on a record form where the checked value is set as true, unchecked as false.

If set as 1, 0 there is no problem in posting data - no error.

MySQL field is setup with 'true','false' as options for enum field type.

Any clues?
View profile  Send private message
mentecky

Posts: 321
Posted: 07/17/2008, 6:15 PM

MySQL doesn't have a real boolean type anymore. Set it to "1,0" and it should work ok.

Rick
_________________
http://www.ccselite.com
View profile  Send private message
djgjohng

Posts: 28
Posted: 07/17/2008, 7:04 PM

Thanks Rick. Changed data type for the checkbox field to Text instead of Boolean and works fine.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.