DatabaseRecord

this is a little strange

Well… Nobody knows exactly what was your problem, but I’m glad it’s solved. :wink:

[quote=20322:@Alexis Colon Lugo]the only way works is like
If ChkActive.Value=“True” Then
Db.IntegerColumn(“activecredit”) = 1
else
Db.IntegerColumn(“activecredit”) = 0
end if[/quote]
What exactly is ChkActive? I assumed it was a Checkbox, but that code shouldn’t compile, because Value is a Boolean, not a String. If this code works, then for whatever reason, ChkActive.Value is a string value, which explains your original error message.

yes CheckBox

but is the same if i send “True” or “False”

If Value=“True” then
Return 1
Else
Return 0
End if

my return Value is Integer

It sounds like your method, TrueFalse, actually accepts a string and returns an integer. Is that the case? What is in the parameters field of your method definition? Mine was

Name: TrueFalse
Parameters: Value as Boolean
Return Type: Integer