The other tricky part is knowing how CF represents "true" and "false" when reading from / writing to the DB.
I suggest:
* use whatever facilities your DB provides to set a Boolean field in a table to "true" in some rows and "false" in others.
* write a test page which lists some of these rows.
* create Application variables which define these values, e.g. <cfset Application.DBTrue = 1>, and in the rest of your code refer to Application variables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.