True , 0, , .
, True NOT 0 False = 0, Access ( , VBA Jet Access True/False), , .
, . ODBC ADO , , , , .
, /, NOT 0 = 0 True False, .
EDIT: , :
, ? , ? Null, CInt(), CInt() Null.
, , VBA , 0, True. . :
Function xBoolean(xLocalBooleanValue As Vriant) as Boolean
If CInt(xLocalBooleanValue) <> 0 Then
xBoolean = True
End If
End Function
, :
Function xBoolean(xLocalBooleanValue As Variant) as Boolean
xBoolean = (CInt(xLocalBooleanValue) <> 0)
End Function
, :
Function xBoolean(xLocalBooleanValue As Variant) as Boolean
xBoolean = (CInt(Nz(xLocalBooleanValue, 0)) <> 0)
End Function
, , , , , - , , , , , , , .
?
- , .
( , , , )