Field - Control the text that appears or not appears

J

Jorge mst

Hello


I have a field like this: {SET seetext “1}
And I have many field like this : {IF {REF seetext }=â€1†“text to appearâ€
“â€}
When I put the first field to : SET seetext “0â€
I hide the text “text to appear†in my word document. The problem is if
“text to appear†is a Title numbered:
1 “text to appearâ€
1.1 “text to appearâ€
2 “text to appearâ€

It’s a problem because the numbers don’t disappear and when I put SET
seetext “0†they look like this:
1
1.1
2

And I want the numbers to disappears because I need to control the text with
just a change in the variable seetext.

Anybody can help me with a trick or a different solution for my objective?
Tanks in advance
 
M

macropod

Hi Jorge,

You need to put the whole paragraph into your IF test. In effect, that results in the field being attached to the following
paragraph, but that's of no great consequence.
 

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