How to Count Field Characters in an Access Query

Written by bennett gavrish Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Count Field Characters in an Access Query
You can use expressions in Access queries to manipulate your database's fields. (typing image by Dariusz Urbanczyk from Fotolia.com)

The Microsoft Office suite of professional desktop applications comes with a database tool called Access, which allows you to design relational databases and execute queries for finding information and creating reports. When building a query in Microsoft Access, you can use expressions to perform calculations with your data. The "Len" expression will count the number of characters in a specific field of your Access database file.

Skill level:
Moderate

Other People Are Reading

Things you need

  • PC running Windows XP or later
  • Microsoft Access 2007 or later

Show MoreHide

Instructions

  1. 1

    Launch the Microsoft Access program on your computer and open the database file where you want to create a new query.

  2. 2

    Go to the "Create" tab in the toolbar and click on the "Query Design" button.

  3. 3

    Double-click on the name of the table that stores the field you want to use and then press the "Close" button in the pop-up window.

  4. 4

    Place your cursor in the leftmost column of the grid in the lower half of the window.

  5. 5

    Open the "Field" drop-down menu and select the name of the field of which you want to count characters.

  6. 6

    Go to the "Criteria" section, type "Len([Name])" and replace "Name" with the exact name of the field you want to count.

  7. 7

    Press the "Run" button at the top of the screen. Access will now run a report that counts the number of characters in the field you chose.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.