The field construction should be
{ If { MERGEFIELD GarantorsSname}<> "" "Payment 1: { MERGEFIELD M_42Pay1
\# "£0000.00"} Due on { Mergefield M_06pay1dateHome}" }
Each pair of field delimiters must be inserted using Ctrl+F9

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> hey everyone,
> I had this working a few weeks ago but ive upgraded my database from
[quoted text clipped - 4 lines]
> Im using the following and works as long as its not part of an IF
> statement,
> works great and brings up the correct value as a currency just fine!
> but i really need this in a statement like this:
[quoted text clipped - 23 lines]
>
> can you help me on either (& hopefully both) of these problems?
Graham Mayor - 09 Feb 2006 08:19 GMT
Or even
{ If { MERGEFIELD GarantorsSname } <> "" "Payment 1: { MERGEFIELD M_42Pay1
\# "£,0.00" } Due on { Mergefield M_06pay1dateHome \@ "dd/MM/yyyy" }{ If
{ MERGEFIELD M_42Pay2 \# "0" } = 0 "¶Payment 2: { MERGEFIELD M_42Pay2 \#
"£,0.00" } Due on { Mergefield M_06pay2dateHome \@ "dd/MM/yyyy" }" }" }
Assuming that all this is only entered if the GarantorsSname field has
content then will also show the second field when the content is 0. Press
the enter key where the ¶ symbol is. Watch out for spacing and quotes. The
currency switches will include commas as thousands separators and date
switches are added to force your preferred date format.
If the second line is independant of the Garantorsname field content then
that part of the statement needs to be moved outside the first conditional
field thus:
{ If { MERGEFIELD GarantorsSname } <> "" "Payment 1: { MERGEFIELD M_42Pay1
\# "£,0.00" } Due on { Mergefield M_06pay1dateHome \@ "dd/MM/yyyy" }" }{
If { MERGEFIELD M_42Pay2 \# "0" } = 0 "¶Payment 2: { MERGEFIELD M_42Pay2 \#
"£,0.00" } Due on { Mergefield M_06pay2dateHome \@ "dd/MM/yyyy" }" }
See also http://www.gmayor.com/formatting_word_fields.htm

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> The field construction should be
>
[quoted text clipped - 39 lines]
>>
>> can you help me on either (& hopefully both) of these problems?