I am relatively new to coding in word and have a problem with an if
statement. I'm not even sure what I want to do can be done, but I have an
this statement that looks to the conditionality of an Ask (ASK A). If the
value of the ask is equal to 'Y' then another four Asks (ASK B,C,D,E) are
executed. This side of the statement works fine, it's the other side of the
conditonality that causes the problem. If the initial Ask value is not equal
to 'Y' I need to manually assign values to the 4 ask values (B,C,D,E), as
apposed to prompting the user for them.
Everything that I have tried has failed so far. Any suggestions would be
greatly appreciated.
Thanks.
Graham Mayor - 05 May 2006 12:03 GMT
This is not vba but field programming and you need something like:
{ ASK A "Yes or No" }{ IF{ A \*Upper} = "Y*" "{ ASK B Prompt2 }{ Ask C
Prompt3 }" "{ SET B 3 }{ SET C 4 }" }
{ A \*Upper } { B } { C }
The second line demonstrates the content of the bookmarks B & C. You should
be able to work out the rest from that.
> I am relatively new to coding in word and have a problem with an if
> statement. I'm not even sure what I want to do can be done, but I
[quoted text clipped - 10 lines]
>
> Thanks.
Michael P - 05 May 2006 12:17 GMT
Thanks Graham.
> This is not vba but field programming and you need something like:
>
[quoted text clipped - 19 lines]
> >
> > Thanks.