how to conditionally show a picture in a document in function of a certain field when merging with a

P

Philip Leduc

Hi I know how to conditionally show text (without using VBA) and I know
VBA/VB6 from using it in MS Access , is there anybody that knows how to
conditionally show a picture in a document in function of a certain field
when merging with a database query with/or without using VBA? Thanks for
your help!
 
J

Jezebel

There's no direct way to do this other than write a macro that deletes or
obscures the picture according to the condition.
 
J

Jean-Guy Marcil

Philip Leduc was telling us:
Philip Leduc nous racontait que :
Hi I know how to conditionally show text (without using VBA) and I
know VBA/VB6 from using it in MS Access , is there anybody that knows
how to conditionally show a picture in a document in function of a
certain field when merging with a database query with/or without
using VBA? Thanks for your help!

You could try with an IF field:

{IF {MERGEFIELD name}= "Some value" "(Inline picture)" "Else nothing"}


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

Philip Leduc

Making the picture "inline" did the job, thanks. I needed that extra
knowledge from word, thanks!
 

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