Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2007

Tip: Looking for answers? Try searching our database.

Access 2003 qry merge to word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LaurieB - 19 Jul 2007 16:54 GMT
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.
Signature

LaurieB

Peter Jamieson - 19 Jul 2007 18:25 GMT
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
> 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.
LaurieB - 19 Jul 2007 20:20 GMT
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.
Signature

LaurieB

> If you use Alt-f9 to look at the underlying field code, what do you see?
>
[quoted text clipped - 12 lines]
> > of
> > 07.3% not have the 0 show.
Peter Jamieson - 19 Jul 2007 21:48 GMT
What do you see when you just have

{ MERGEFIELD Contribution }

?

Peter Jamieson

> We tried using { MERGEFIELD mynumber \#0.0% } what happens is if the
> percentage is 13.3% it shows as 3.3%.
[quoted text clipped - 19 lines]
>> > of
>> > 07.3% not have the 0 show.
LaurieB - 20 Jul 2007 17:26 GMT
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.
Signature

LaurieB

> What do you see when you just have
>
[quoted text clipped - 27 lines]
> >> > of
> >> > 07.3% not have the 0 show.
Peter Jamieson - 20 Jul 2007 20:21 GMT
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
> Peter,
> We took the switch out and just used { MERGEFIELD Contribution }.  Here
[quoted text clipped - 39 lines]
>> >> > of
>> >> > 07.3% not have the 0 show.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.