Article ID: 154600 - Last Review: January 19, 2007 - Revision: 4.1 ACC: Parsing Titles Beginning with "A," "An," or "The" (95/97)This article was previously published under Q154600
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.
MORE INFORMATION
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
The function's syntax is as follows: This function will check for article words at the beginning of a title and will make the desired changes to the title. REFERENCES
For more information about parsing strings, please see the following
article in the Microsoft Knowledge Base:
115915 (http://support.microsoft.com/kb/115915/EN-US/ ) ACC: Sample Expressions to Extract Portion of Text String | Article Translations
|


Back to the top
