Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
David A Wood David A Wood is offline
external usenet poster
 
Posts: 2
Default Syntax is Wrong but I Cannot See it

Hi

I have a field with 4 choice answers in a dropdown list

"Not Applicable"
"Broadly Compliant"
"Non compliant - minor risk"
"Non compliant - major risk"

Using multiple "IF" I have used the following code -

{IF{Article21Dropdown} = "Broadly compliant" " The responsible person had
ensured that his employees were provided with adequate safety training in a
manner appropriate to the risk identified by the risk assessment. "
{IF(Article21Dropdown} = " Non compliant - minor risk " " The responsible
person had not ensured that, where a dangerous substance was present in the
premises, the risk to relevant persons was eliminated or reduced so far as
was reasonably practicable." {IF{Article21Dropdown} = "Non compliant - major
risk" "The responsible person had not ensured that, where a dangerous
substance was present in the premises, the risk to relevant persons was
eliminated or reduced so far as was reasonably practicable." " "}"}"}

The aim?
"Not Applicable" - returns blank
"Broadly Compliant" - returns "The responsible person had ensured etc"..

Next two choices return the same text line "The responsible person had not
ensured that,... etc"

Have succeeded with a three state IF but failed with this..

Thanks for any help forthcoming.












 
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
Barcode Syntax MBurns Mailmerge 5 December 17th 09 03:16 AM
Footnotes have the wrong numbers and are put on the wrong page Adam Villani Microsoft Word Help 6 October 27th 09 10:22 AM
Hyperlink syntax AlecJames Microsoft Word Help 1 June 27th 09 02:07 PM
Syntax alex Mailmerge 3 November 28th 07 07:09 AM
Macro Syntax GregR New Users 2 May 2nd 05 06:43 PM


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