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.
In a Form you could set the Default Value of a Textbox to
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)
Want to learn more? Request this via the contact form.
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips