1.

Solve : MS Word Merge Fields - need help!?

Answer»
I'm pulling some information from a database to insert a person's name; however, I want the name to be in all caps. I know there is a switch to do this (\* Upper) but am unsure if I can insert a 2nd switch, or how to do it. Can someone help with this? Is it even possible? This is what my merge field looks like:

{ DOCPROPERTY "First Name" \* MERGEFORMAT }

Thanks for any help!!
-CindyI don't have much experience with MAILMERGE but I experimented with merging from an Access database and DISCOVERED what seems like a solution. I used the Insert, Field, command to insert fields named fname and lname from a simple Access database.

I'm not clear on how you set up your document. Exactly how did you do this?:
Quote
This is what my merge field looks like:

{ DOCPROPERTY "First Name" \* MERGEFORMAT }
How did you enter the field?
Thanks for your help, but I actually got it figured out. I added a switch to the end (\* Upper), which makes WHATEVER I PUT in that field come out in all caps.

Thanks again!
-CindyHmm, I don't know why you're using DOCPROPERTY here. The code WORD uses when I use the Insert | Field command to set up MailMerge from an Access database is MERGEFIELD fname \* Upper . I did not manually type the switch; that was created by Word, based on my choices in field setup screens. But, whatever works for you ...


Discussion

No Comment Found