Home page
or browse popular tags
Access Functions

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

Access: IsNumeric Function


In Access, the IsNumeric function returns a value indicating whether or not an expression can be converted to a numeric data type.

The syntax for the IsNumeric function is:

IsNumeric ( expression )

The required expression argument can be any numeric or string expression.The IsNumeric function returns
True (-1) if the entire expression is recognized as a number; otherwise, it returns False (0).


IsNumeric (2006)              returns TRUE
IsNumeric ("2006")            returns TRUE
IsNumeric ("Number")          returns FALSE

VBA Code

Dim MyResult as Boolean 
MyResult = IsNumeric("Number")

This example uses the IsNumeric function to determine if a variable can be evaluated as a number. Now the MyResult variable would contain FALSE as a value.

SQL query

You can also use the IsNumeric function in a query.

SELECT IsNumeric([OwnerID]) AS Expr1
FROM AntiqueOwners

If you'd like to see how it works, enter SQL statement and press Execute


Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments

Copyright © 2005-2023             www.WebCheatSheet.com All Rights Reserved.