Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
jt jt is offline
external usenet poster
 
Posts: 1
Default Newbie Newbie Newbie

I've done some php so I should catch on. I just cannot find a page
some place that give me enough cod to begin fiddling with

If Rollnumber is a number, then display RollNumber if not display
nothing.

{MERGEFIELD RollNumber}
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Newbie Newbie Newbie

One way would be to use a conditional field to trap the error that results
if you calculate a no numeric result e.g.

{ If { ={ Mergefield Rollnumber } * 1 } "!*" "{ Mergefield
Rollnumber }"}

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"jt" wrote in message
...
I've done some php so I should catch on. I just cannot find a page
some place that give me enough cod to begin fiddling with

If Rollnumber is a number, then display RollNumber if not display
nothing.

{MERGEFIELD RollNumber}



Reply
Thread Tools
Display Modes

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML word Newbie Designingsally Microsoft Word Help 1 September 15th 09 09:28 AM
[newbie] faq 1.0 Jon Microsoft Word Help 8 April 13th 09 09:33 PM
Newbie macro help please Barnet New Users 23 February 23rd 09 06:43 PM
Newbie Questions Martin Page Layout 4 February 2nd 06 06:08 PM
[newbie] better vba coding [email protected] Microsoft Word Help 5 September 14th 05 06:23 PM


All times are GMT +1. The time now is 07:39 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"