Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
raj
 
Posts: n/a
Default noobs question - formatting and hiding fields

i have some templates i am modifying. the data for the templates come from
a database using xml.

its in the following format

{MERGEFIELD "Client Phone Number:" "repeater=1" "xPath=
Client\Forms\ClientPhoneNo" "TableName=" "mask=" \* MERGEFORMAT}

i want to format the darn thing to (###)###-####
i want make sure it is numeric if its not then i don t want the above
formatting and just add as it is.

please help

thanks


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default noobs question - formatting and hiding fields

See "Formatting Word fields with switches" on fellow MVP Graham Mayor's
website at

http://www.gmayor.com/formatting_word_fields.htm


--
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

"raj" wrote in message
...
i have some templates i am modifying. the data for the templates come from
a database using xml.

its in the following format

{MERGEFIELD "Client Phone Number:" "repeater=1" "xPath=
Client\Forms\ClientPhoneNo" "TableName=" "mask=" \* MERGEFORMAT}

i want to format the darn thing to (###)###-####
i want make sure it is numeric if its not then i don t want the above
formatting and just add as it is.

please help

thanks



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:50 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"