CBool
Using the CBOOL Function
In this tutorial you will learn how to use the CBool Function.
The CBool function returns a Boolean.
=CBool( expression )
expression Any valid string or numeric expression.
FORM
In a Form you could set the Default Value of a Textbox to
=CBOOL(1)
VBA
In a Form add a TEXTBOX control and rename it "txtCBool", then you could add the following in the Load Event.
Private Sub Form_Load()
txtCBool = CBool(1)
End Sub
Course
Want to learn more? Request this via the contact form.
Search
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips
|