Good afternoon,
I have run into a bit of an issue that I've been struggling with for a while now and hope someone can help.
I can retrieve the information from the database and put into a collection, but when i compare through an if statement, the value of the "Set(x)" doesn't seem to update the checkbox default field.
Since MSSQL doesn't have a Boolean option for a datatype, i have tried "tiny-int", Char(10), nvarchar(10) but that doesn't seem to make a difference. Does anyone have the proper way to do this?
Is there another way a text value can be converted to a Boolean value?
this is one thing I have tried: Set the default value of the checkbox to:

Here is another: On Visible of the page start, the
checkbox default = xA1,
xDone1 value = true (text value from database)
I have also tried:
If(First(HistCollection).xDone1 = "true", Set(xA1,true), Set(xA1, false));
the same as below, just broken down more.
For some reason with whatever i do, i can not seem to "Set" the variables. This is a large program and have done it in many other parts of it, but this one has got me.

Thank you