ASK WITHIN IF (PLEASE PLEASE PLEASE)

C

Cheryl

I want to ask the user if the client owes any money and if so, to insert
something. I have {IF {ASK "Does the client owe the firm money for late
annual reports?"} = "yes""Please also forward your cheque in the sum of
$180.00 to our firm with the enclosed documents"}

Of course it doesn't work; I hardly expected it to. I've never done this
kind of thing before and Word's help was useless.
 
G

Greg Maxey

Cheryl

It sounds like you are talking about Word Fields and not VBA.
{ ASK MoneyDue "Does the client owe ..." }{ IF { MoneyDue } = "Yes""Please.
.. . " }

The ASK field fires the prompt sets the bookmark value. The IF fields
compares the value of the REF field to the sting "yes" and provides the
desired text if the condition is met. All field codes braces { } must be
entered with CTRL+F9.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top