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 / May 2004

Tip: Looking for answers? Try searching our database.

% Format Lost

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack - 19 May 2004 11:29 GMT
I am merging from access. I have created a query and used
calculations. I've formatted the calculated fields to
display as a percentage with no decimal places. When
opening the query the formatting works. When I merge to
Word the formatting is lost and istead of saying 40%, it
will come up as 0.41354836739. Any support would be very
helpful.

Jack
Graham Mayor - 19 May 2004 12:27 GMT
Word is now expected to provide the formatting and from your calculation has
worked out the result to be
0.41354836739 which equates to a round figure of 41%
To get it to display that, you would need to use a calculated field in Word
eg

{={Mergefield fieldname} * 100 \# "0%"}

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP

  Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> I am merging from access. I have created a query and used
> calculations. I've formatted the calculated fields to
[quoted text clipped - 5 lines]
>
> Jack
Jack - 19 May 2004 17:11 GMT
This may sound like I know nothing, but when I enter that
formula a santax error comes up, or a undefined bookmark,
ANDORRAPE. messsge comes up. What is the exact code I
would need to input for the merge field "andorrapercent"
for example? Also it is in the formula menu under table?

Thanks

Jack

>-----Original Message-----
>Word is now expected to provide the formatting and from your calculation has
[quoted text clipped - 16 lines]
>
>.
Graham Mayor - 19 May 2004 17:28 GMT
If the data field is called 'andorrapercent'

then the construction would be:
{={Mergefield andorrapercent} * 100 \# "0%"}

Note that you need to enter this manually using CTRL+F9 to set each pair of
field boundaries - see http://www.gmayor.com/formatting_word_fields.htm
which I updated as a result of your question.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP

  Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> This may sound like I know nothing, but when I enter that
> formula a santax error comes up, or a undefined bookmark,
[quoted text clipped - 34 lines]
>>
>> .
Jack - 19 May 2004 17:51 GMT
I am still trying to resolve this, but I get the error
message "!santex error, andorrape" I am using Word 2000
(I don't know if this makes a difference)

Thanks

Jack

>-----Original Message-----
>If the data field is called 'andorrapercent'
[quoted text clipped - 46 lines]
>
>.
Jack - 19 May 2004 18:08 GMT
I have now figured it out, blame it on a long day at
work. Thank you VERY much,

Jack

>-----Original Message-----
>I am still trying to resolve this, but I get the error
[quoted text clipped - 69 lines]
>>
>.
 
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.