Well, Access (2000) has stumped me again with one of those simple problems that should be easy to figure out. Of course, the operative word is should. I just haven’t seen how to preserve the capitalization of words when I use a query to create a mailing list.
The database tracks, among other things, name and address. I am a lazy typist, and don’t like getting slowed down by the shift key. On the fields for first and last name and city, I have a simple after update event of “Me.[FIELD].Value = StrConv([FIELD], vbProperCase)”. Works great. However, in the state field (on both the form and the table) I have a “>” to force all caps. The mail merge is based on a query, not a table.
The problem is that when I create the new document in Word, the names and cities are all properly capitalized, but the state is not. I have a few hundred records to merge (the first of many batches) and the capitalization of the state has reverted to whatever the user originally entered.
Is there a way to force caps within a Word merge field? Is there a way to preserve the formatting from Access? I realize that I can use the update event with a vbUpperCase, but that won’t help with the records that are already updated (unless I want to revisit every record). Also, there are some fields that I may wish to capitalize in some places, but not in others. Any suggestions?
Thanks!
Rhythmdvl