I've done this by using a column with an INTEGER data type.
I store a 0 for False and a 1 for True.
Then in my B4A code i do something like this:
B4X:
Dim IntegerToBoolean() As Boolean
IntegerToBoolean=Array As Boolean(False, True)
' to get a Boolean value from the query:
MyBoolean=IntegerToBoolean(Cursor1.GetInt("TheIntegerColumnName"))
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.