ACC2: How to Parse Titles Beginning with "A," "An," or "The" (175390)
The information in this article applies to:
This article was previously published under Q175390 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
Titles often begin with the article "A," "An," or "The." When you sort such
title fields, you may not get the desired result of having the titles
sorted in alphabetical order by their most meaningful words. For example,
movie titles, such as "The Bronx," appear in the t's rather than the b's.
To sort titles by a word other than "A," "An," or "The," use the function
provided in this article in a query to build a field that will either
remove the article completely or move it to the end.
This article assumes that you are familiar with Access Basic and with
creating Microsoft Access applications using the programming tools provided
with Microsoft Access. For more information about Access Basic, please
refer to the "Building Applications" manual.
REFERENCES
For more information about parsing strings, please see the following
article in the Microsoft Knowledge Base:
115915 ACC: Sample Expressions to Extract Portion of Text String
For information on how to parse titles beginning with "A," "An," or "The"
in Microsoft Access versions 7.0 and 97, please see the following article
in the Microsoft Knowledge Base:
154600 ACC: Parsing Titles Beginning with "A," "An," or "The"
(95/97)
Modification Type: | Major | Last Reviewed: | 11/6/2000 |
---|
Keywords: | kbhowto kbusage KB175390 |
---|
|