Hi,
Is there any builtin function which will give value 1 for True and value 0 to false. I have following function:VB Code:
Private Function BoolToVal(ByVal blnTemp As Boolean) As Integer 'This function will return 1 if the value is true else will return 0 If blnTemp = True Then BoolToVal = 1 Else BoolToVal = 0 End If End Function




Reply With Quote