You are here:About>Computing & Technology>Databases> Microsoft Access> Access Function Library> Microsoft Access Function Library: Asc()
About.comDatabases
Newsletters & RSSEmail to a friendSubmit to Digg

Microsoft Access Function Library: Asc()

From Mike Chapple,
Your Guide to Databases.
FREE Newsletter. Sign Up Now!
Function: Asc()

Purpose: The Asc() function is used to obtain the integer value of the first character in a string.

Usage: Asc(string)

Returns: Integer ASCII character code corresponding to the first character in string.

Examples and Special Cases
Asc("string") = 97

Asc("String") = 83

Asc("database") = 100

Asc() causes a runtime error

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.