News:

Dolphin Computers Ltd., is a leading IT product and service provider company in Bangladesh.

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