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