I was thinking more along the lines that in MS Access the boolean is stored merely as a byte which is unsigned, and then internally it gets converted to a true/false. Ie. in code, you have
If fynReverseKey == False, etc.
In MS Access True=-1 and False=0 (I think).
Then in PHP 0 is false, and anything else is True right?,
so, if I use tinyint, then I just call the field,
fynReverseKey to indicate its a yes/no, which has the function of telling me whether a Reverse Key flag is set.
I guess I've solved my own problem!!
|