CVar
Using the CVar Function
In this tutorial you will learn how to use the CVar Function.
The CVar function returns a Variant.
=CVar( expression )
expression the value you wish to convert to a Variant
FORM
In a Form you could set the Default Value of a Textbox to
=CVar(12.1) '12.1
VBA
In a Form add a TEXTBOX control and rename it "txtCVar", then you could add the following in the Load Event.
Private Sub Form_Load()
txtCVar = CVar(12.1) '12.1
End Sub
Course
Access Expert 26
Search
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips
|