D
DowningDevelopments
hey everyone,
I had this working a few weeks ago but ive upgraded my database from Access
2000 to Access 2003 and now i have lots of formatting problems with
calculated values in an access query that i want to format as currency.
Im using the following and works as long as its not part of an IF statement,
{MERGEFIELD "M_42Pay1" \#"£0000.00}
works great and brings up the correct value as a currency just fine!
but i really need this in a statement like this:
{If {MERGEFIELD "GarantorsSname}<> "" "Payment 1: {MERGEFIELD "M_42Pay1"
\#"£0000.00} Due on Mergefield "M_06pay1dateHome"}
And this doesnt format that same value correctly, it shows it as a plain
number!!
Also how do i get subsequent payments to line up underneath this one?
{If {MERGEFIELD "M_42Pay2"} ="£0.00" {"Payment 2: {MERGEFIELD "M_42Pay2"
\#"£0000.00} Due on Mergefield "M_06pay2dateHome"}
should bring up the second payment due, however instead of a neat:
Payment 1: £1000 due on 01/01/2006
Payment 2: £1000 due on 01/03/2006
i get: Payment 1: £1000 due on 01/01/2006Payment 2: £1000 due on 01/03/2006
All on one line with no spaces or formatting, ive tried putting in
breaklines and paragraph marks in the IF quotations and between the blocks of
code but its not working!!!
can you help me on either (& hopefully both) of these problems?
I had this working a few weeks ago but ive upgraded my database from Access
2000 to Access 2003 and now i have lots of formatting problems with
calculated values in an access query that i want to format as currency.
Im using the following and works as long as its not part of an IF statement,
{MERGEFIELD "M_42Pay1" \#"£0000.00}
works great and brings up the correct value as a currency just fine!
but i really need this in a statement like this:
{If {MERGEFIELD "GarantorsSname}<> "" "Payment 1: {MERGEFIELD "M_42Pay1"
\#"£0000.00} Due on Mergefield "M_06pay1dateHome"}
And this doesnt format that same value correctly, it shows it as a plain
number!!
Also how do i get subsequent payments to line up underneath this one?
{If {MERGEFIELD "M_42Pay2"} ="£0.00" {"Payment 2: {MERGEFIELD "M_42Pay2"
\#"£0000.00} Due on Mergefield "M_06pay2dateHome"}
should bring up the second payment due, however instead of a neat:
Payment 1: £1000 due on 01/01/2006
Payment 2: £1000 due on 01/03/2006
i get: Payment 1: £1000 due on 01/01/2006Payment 2: £1000 due on 01/03/2006
All on one line with no spaces or formatting, ive tried putting in
breaklines and paragraph marks in the IF quotations and between the blocks of
code but its not working!!!
can you help me on either (& hopefully both) of these problems?