• Welcome to Daffodil Computers Ltd..
 

News:

Daffodil Computers Limited is a leading It solution & education solution public company with a good relation to customers it has earned big respect from clients

Main Menu

Microsoft Access Function Library: IsNumeric()

Started by bbasujon, August 15, 2012, 05:18:55 PM

Previous topic - Next topic

bbasujon

Function: IsNumeric()

Purpose: The IsNumeric function returns a value of true if the referenced variable can be evaluated as a number. Otherwise, it returns false.

Usage: IsNumeric(variable_name)

Where variable_name is the name of the variable you wish to test.

Returns: True if the referenced variable can be evaluated as a number; False otherwise.

Example

Dim TestEmpty
TestInt = Int(1)
TestQuote = "Test"
TestDec = 123.45

IsNumeric(TestInt) returns True
IsNumeric(TestQuote) returns False
IsNumeric(TestDec) returns True
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection