[QUOTE=Giblet535;23651]The field’s data type is BOOLEAN. SC incorrectly interprets boolean as integer. Boolean is not the same thing as integer.
Yes, I know about manual lookup.
I’m not asking anyone here for tips on handling boolean values in ScriptCase. I already know that ScriptCase can’t handle booleans, and that I have to go through a lot of extra steps because ScriptCase can only handle a few basic data types.
What I’m suggesting is that ScriptCase should be able to generate appropriate code for the given input data. It does not.
True/False and-or Yes/No are extremely common in databases and web pages, but ScriptCase can’t do it.
See? It’s a good suggestion.[/QUOTE]
For this situation I usually use char data type to save in database Y(Yes) and N(No) and I do the manual lookup, another approach is to use a int datatype and to save in database 1(Yes) and 0(No) and I do the manual lookup. I use scriptcase since 2008 so I learned that sometimes you have to be creative to find solutions alone or with the forum’s help.