#1   Report Post  
lost in cincy
 
Posts: n/a
Default insert fields

I'm using If fields and seem to be repeting the same steps. The typeacct is
usually A but the COL changes, but I when they match i need to include the
form abc. Is there a short cut to complete this task?? (does this make
sense?)

For ex.{if { MERGEFIELD Typeacct ="A" "{if {MERGEFIELD col }="Anderson"
"{includetext "f:\\forms\\abc" \* Mergeformat }" "" }" ""}
  #2   Report Post  
Greg Maxey
 
Posts: n/a
Default

Lost in Cincy,

Your example doesn't match your field. "A" and "Anderson" do not match.

If you are trying to match "A" and "A" you can use either of these fields
(Note I have abbreaviated your mergefield names):

{ IF { Typeacct } = { Col }"Do This""Do That" }




{ IF { Compare{ Typeacct }={ Col } } = 1 "Do This""Do That" }

If you want a condition match "A" to "Anderson" then you would need
something like:





{ IF { Typeacct } = "A"{ IF { Col }="Anderson""Do This""Do That"}"Do
That" }

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

lost in cincy wrote:
I'm using If fields and seem to be repeting the same steps. The
typeacct is usually A but the COL changes, but I when they match i
need to include the form abc. Is there a short cut to complete this
task?? (does this make sense?)

For ex.{if { MERGEFIELD Typeacct ="A" "{if {MERGEFIELD col
}="Anderson" "{includetext "f:\\forms\\abc" \* Mergeformat }" "" }"
""}



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
Custom Fields in Word 2002 (XP) [email protected] Microsoft Word Help 1 January 20th 05 04:46 AM
Attempting to auto-update fields in a word document Sanin R Microsoft Word Help 1 January 7th 05 07:39 PM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 05:01 PM
The Insert Key cjkoeb Microsoft Word Help 6 December 1st 04 02:25 AM
Insert merge fields C Tate Page Layout 6 November 27th 04 04:04 PM


All times are GMT +1. The time now is 01:53 PM.

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"