using the if statement to display a picture

M

Mark Wallace

I would like to use a Word template to display one of two pictures
i.e If the field value is 0 display picture A
otherwise display picture B

in a document

Any ideads how this could be done?
 
G

Graham Mayor

Assuming a form field Text1 then something along the lines of

{ IF { REF Text1 } = "0" "{ INCLUDEPICTURE "D:\\My Documents\\My
Pictures\\Image A.tif" }" "{ INCLUDEPICTURE "D:\\My Documents\\My
Pictures\\Image B.tif" }" }

will do the trick.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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