Special character that can represent one or more characters in the criterion of a query

Try the Access Course for Free!

Special character that can represent one or more characters in the criterion of a query

Overview of Wildcard Characters in Access

            Wildcard characters in Access add flexibility to query criteria. Wildcard characters in Access represent unknown values. The asterisk “*” and the question mark “?” are the two main wildcard characters in Access you need to know. The asterisk represents multiple unknown characters. For example, the criteria “N*” would find all “N” words like “Nebraska,” “Ned,” “Not,” “Never Ever,” etc.

            The question mark represents one unknown character. So using a criteria like “N?D” would only find three letter “N…D” words like “Ned” and “Nod.” You can type as many question marks as needed to fill-in the required unknown characters. So, typing “N??D” finds words like “Need” and “Nerd,” for example.

Special character that can represent one or more characters in the criterion of a query

A picture showing how to use wildcard characters within query criteria in Access.

            When you type wildcard characters into the criteria row of the QBE grid, Access adds the word “Like” before them when you exit the criteria cell. This is simply the required syntax. It isn’t necessary for you to type it yourself, if you don’t want to, as Access adds it for you when it notices the wildcard characters being used. However, don’t worry if it appears in your wildcard criteria, either.

            To use wildcard characters in query criteria in Access, open the desired query in query design view. Then click into the “Criteria” row underneath the field into which to add the criteria. Type the criteria for which to search, using the appropriate wildcard characters. Finally, click the “Save” button in the Quick Access toolbar to save your changes.

Instructions on How to Use Wildcard Characters in Access Queries

  1. To use wildcard characters in Access queries, open the desired query in query design view.
  2. Then click into the “Criteria” row underneath the field into which to add the criteria.
  3. Type the criteria for which to search, using the appropriate wildcard characters:
    ? = a single unknown character.
    * = multiple unknown characters.
  4. Finally, click the “Save” button in the Quick Access toolbar to save your changes.

Video Lesson About Using Wildcard Characters in Access

            The following video lesson, titled “Using Wildcard Characters in Queries,” shows how to use wildcard characters in Access query criteria. This video is from our complete Access tutorial, titled “Mastering Access Made Easy v.2019 and 365.”

Tagged under: access, access 2010, access 2013, Access 2016, Access 2019, Access for Microsoft 365, Access for Office 365, access wild card, access wildcard, access wildcard characters, access wildcards, add, asterisk, criteria, design, design query, design view, find unknown characters, help, how-to, insert, instructions, learn, lesson, Microsoft Access, ms access, overview, QBE, queries, query, query builder, question mark, teach, training, tutorial, two wildcard characters in access, use, video, wild card in access, wildcard, wildcard access, wildcard character in access, wildcard characters, wildcard characters example, Wildcard Characters in Access, wildcard in access, wildcards

What represents one or more fields together to describe something?

Record - a record represents a collection of attributes that describe a real-world entity. A record consists of fields, with each field describing an attribute of the entity.

Is the wildcard character that stands for any single character in criteria?

The asterisk (*) is the wildcard used to represent one and only one character in criteria.

What determines the type of criterion you enter along with the way you enter the criterion?

The type of criterion you enter, along with the way you enter the criterion, depends on the data type of the field. A calculated field is a field that gets its value from a calculation instead of a value that is entered into the field. The calculation, or formula, can reference other fields in the database.

What is the wildcard character that stands for any group of characters?

In regular expressions, the period ( . , also called "dot") is the wildcard pattern which matches any single character. Combined with the asterisk operator . * it will match any number of any characters.