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
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. -- Cheers macropod [MVP - Microsoft Word] "Jorge mst" wrote in message news:24BC3F78-92CB-4825-B167-436605F2586D@microsoft.com... > 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 >