Access 2003 qry merge to word

L

LaurieB

Using switches to format mergefields. Is there a way to not show a zero in a
percentage field? Office Manager would like to show 13.3% ; in the case of
07.3% not have the 0 show.
 
P

Peter Jamieson

If you use Alt-f9 to look at the underlying field code, what do you see?

If you have something like

{ MERGEFIELD mynumber }

try changing it to

{ MERGEFIELD mynumber \#0.0% }

Peter Jamieson
 
L

LaurieB

We tried using { MERGEFIELD mynumber \#0.0% } what happens is if the
percentage is 13.3% it shows as 3.3%.
we currently have { MERGEFIELD Contribution \# .00.0% }. For some reason
they have a . in front of the 00.
 
P

Peter Jamieson

What do you see when you just have

{ MERGEFIELD Contribution }

?

Peter Jamieson
 
L

LaurieB

Peter,
We took the switch out and just used { MERGEFIELD Contribution }. Here are
some of the different results that I copied from the merged document to here:
0.153, 0.15, 0.25, 0.237083, 0.1122, 0.0.

I hope this helps and I really appreciate your prompt assistance with this.
 
P

Peter Jamieson

OK, try

{ ={ MERGEFIELD Contribution }*100 \#0.0% }

Both pairs of {} need to be the special field code braces that you can
insert using ctrl-F9 - everything else is ordinary text.

(That's assuming 0.153 should display as 15.3% )

Peter Jamieson
LaurieB said:
Peter,
We took the switch out and just used { MERGEFIELD Contribution }. Here
are
some of the different results that I copied from the merged document to
here:
0.153, 0.15, 0.25, 0.237083, 0.1122, 0.0.

I hope this helps and I really appreciate your prompt assistance with
this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top