Group:  Microsoft Word ยป microsoft.public.word.mailmerge.fields
Thread: Mailmerge coding

Geek News

Mailmerge coding
Noel 11/19/2008 8:41:02 PM
I have a mail merge that has information merged from an access database. I
have my coding to be
{IF {MERGEFIELD BuyBackCreditQuarters } >0 {MERGEFIELD Quarterly_Cost -
QuarterlySubsidy \ #$,0.00{ "$0.00"}

I need it to merge the difference of Quarterly Cost and Quarterly Subsidy
into this field.

Thanks
Re: Mailmerge coding
"macropod" <macropod[ at ]invalid.invalid> 11/20/2008 2:53:34 AM
Hi Noel,

Try:
{IF{MERGEFIELD BuyBackCreditQuarters }> 0 {={MERGEFIELD Quarterly_Cost}-{MERGEFIELD QuarterlySubsidy} \# $,0.00;($,0.00)}}

--
Cheers
macropod
[MVP - Microsoft Word]


"Noel" <Noel[ at ]discussions.microsoft.com> wrote in message news:55AEB460-6F68-4A4C-AD64-4E3604461E15[ at ]microsoft.com...
[Quoted Text]
>I have a mail merge that has information merged from an access database. I
> have my coding to be
> {IF {MERGEFIELD BuyBackCreditQuarters } >0 {MERGEFIELD Quarterly_Cost -
> QuarterlySubsidy \ #$,0.00{ "$0.00"}
>
> I need it to merge the difference of Quarterly Cost and Quarterly Subsidy
> into this field.
>
> Thanks

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net