IF Field breaking bullets

A

Andre'' The Hunter

Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
 Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
 Bullet 1
Bullet 2
 Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
 Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
 Bullet 1
Bullet 3
 Bullet 4
 Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1.

EXAMPLE 3
 Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
 Bullet 4" }
 Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
 Bullet 2
 Bullet 5

any help would be appreciated

Andre'
 
M

macropod

Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
 
M

macropod

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

macropod said:
Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no
leading/trailing space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Andre'' The Hunter said:
Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
 Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
 Bullet 1
Bullet 2
 Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
 Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
 Bullet 1
Bullet 3
 Bullet 4
 Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1.

EXAMPLE 3
 Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
 Bullet 4" }
 Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
 Bullet 2
 Bullet 5

any help would be appreciated

Andre'
 
A

Andre'''' The Hunter

thanks for quick response!
took me a bit of fiddling to understand...but it works!

thank you!

Andre'

macropod said:
Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Andre'' The Hunter said:
Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
 Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
 Bullet 1
Bullet 2
 Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
 Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
 Bullet 1
Bullet 3
 Bullet 4
 Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1.

EXAMPLE 3
 Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
 Bullet 4" }
 Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
 Bullet 2
 Bullet 5

any help would be appreciated

Andre'
 
M

macropod

You're welcome.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Andre'''' The Hunter said:
thanks for quick response!
took me a bit of fiddling to understand...but it works!

thank you!

Andre'

macropod said:
Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want
to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no
leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Andre'' The Hunter said:
Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
 Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
 Bullet 1
Bullet 2
 Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
 Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
 Bullet 1
Bullet 3
 Bullet 4
 Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1.

EXAMPLE 3
 Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
 Bullet 4" }
 Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
 Bullet 2
 Bullet 5

any help would be appreciated

Andre'
 
T

THE Burg

This answer seems to be closest to what I am trying to accomplish, but I
can't seem to get it to work. What I have is a mail merge document. I want
my results to look like this:

1. Dimensions for this part are:
a. “F†Dimension: 1.014 ± 0.005
b. “G†Dimension: 2.75 ± 0.03
I'm using a numbered list for this and the values are actually mail merge
fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension, then
there will be other dimensions. If there is an "H" dimension, I want it to
show up on the next line as item c. If there is no "H" dimension, I want
item c to be the next dimension in the sequence. I've tried everything I
THINK you were talking about and I still loose the b label and sometimes the
indentation. In some cases, the next line did have the correct item letter
(c), in others, it became item b.

So, I'm looking at a conditional carriage return that doesn't blow up my
list, plus conditional text (the " "H" Dimension:") and as an additional
challenge, I'd like to put the quotation marks around that H in that
conditional text, which I've not been able to figure out how to do either!

Don't know what I've missed from your post to the other persons question,
but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

macropod said:
For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

macropod said:
Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no
leading/trailing space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Andre'' The Hunter said:
Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
 Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
 Bullet 1
Bullet 2
 Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
 Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
 Bullet 4" }
 Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
 Bullet 1
Bullet 3
 Bullet 4
 Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1.

EXAMPLE 3
 Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
 Bullet 4" }
 Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
 Bullet 2
 Bullet 5

any help would be appreciated

Andre'
 
G

Graham Mayor

Macropod may have other ideas, but I don't think this can be achieved with a
numbered style. You can however achieve it using bookmarks using SET fields
to create the count sequence thus:

1. Dimensions for this part are:¶
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F }¶
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension: {
Mergefield G }{ IF { Mergefield H } <> "" "¶
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}¶
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I" Dimension: {
Mergefield I }¶

The curly quotes in the conditional field are a complication but configured
with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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

THE said:
This answer seems to be closest to what I am trying to accomplish,
but I can't seem to get it to work. What I have is a mail merge
document. I want my results to look like this:

1. Dimensions for this part are:
a. "F" Dimension: 1.014 ± 0.005
b. "G" Dimension: 2.75 ± 0.03
I'm using a numbered list for this and the values are actually mail
merge fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension,
then there will be other dimensions. If there is an "H" dimension, I
want it to show up on the next line as item c. If there is no "H"
dimension, I want item c to be the next dimension in the sequence.
I've tried everything I THINK you were talking about and I still
loose the b label and sometimes the indentation. In some cases, the
next line did have the correct item letter (c), in others, it became
item b.

So, I'm looking at a conditional carriage return that doesn't blow up
my list, plus conditional text (the " "H" Dimension:") and as an
additional challenge, I'd like to put the quotation marks around that
H in that conditional text, which I've not been able to figure out
how to do either!

Don't know what I've missed from your post to the other persons
question, but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

macropod said:
For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as
a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

macropod said:
Hi Andre,

Here are two workarounds showing how you can embed one or more
bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement
as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

message Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF
field as part of a bulleted list, the indent is correct but the
bullet is removed. The problem seems to be caused by the carriage
return in the result of the IF field. this causes the bullet to be
removed on whichever line the field is placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
? Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the
condition is true then Bullet 2 is inserted, otherwise Bullet 3
and 4 are inserted.

RESULT 1
? Bullet 1
Bullet 2
? Bullet 5

however, the problem is that the bullet point for Bullet 2 is
removed.

EXAMPLE 2
? Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
? Bullet 1
Bullet 3
? Bullet 4
? Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet
for the first one. the perplexing case is when the IF conditional
field is inserted after Bullet 1.

EXAMPLE 3
? Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
? Bullet 4" }
? Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
? Bullet 2
? Bullet 5

any help would be appreciated

Andre'
 
G

Graham Mayor

The curly quotes did not survive the posting and as shown will produce
straight quotes instead. To produce curly quotes for H the quotes after the
slashes { SET q1 "\"" }{ SET q2 "\"" } are left ALT+0147 and right ALT+0148
curly quotes respectively. The other curly quotes, not in the field, will be
converted by autoformat as you type them in.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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


Graham said:
Macropod may have other ideas, but I don't think this can be achieved
with a numbered style. You can however achieve it using bookmarks
using SET fields to create the count sequence thus:

1. Dimensions for this part are:¶
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F
}¶ { SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension:
{ Mergefield G }{ IF { Mergefield H } <> "" "¶
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}¶
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I"
Dimension: { Mergefield I }¶

The curly quotes in the conditional field are a complication but
configured with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.



THE said:
This answer seems to be closest to what I am trying to accomplish,
but I can't seem to get it to work. What I have is a mail merge
document. I want my results to look like this:

1. Dimensions for this part are:
a. "F" Dimension: 1.014 ± 0.005
b. "G" Dimension: 2.75 ± 0.03
I'm using a numbered list for this and the values are actually mail
merge fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension,
then there will be other dimensions. If there is an "H" dimension, I
want it to show up on the next line as item c. If there is no "H"
dimension, I want item c to be the next dimension in the sequence.
I've tried everything I THINK you were talking about and I still
loose the b label and sometimes the indentation. In some cases, the
next line did have the correct item letter (c), in others, it became
item b.

So, I'm looking at a conditional carriage return that doesn't blow up
my list, plus conditional text (the " "H" Dimension:") and as an
additional challenge, I'd like to put the quotation marks around that
H in that conditional text, which I've not been able to figure out
how to do either!

Don't know what I've missed from your post to the other persons
question, but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

macropod said:
For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as
a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Hi Andre,

Here are two workarounds showing how you can embed one or more
bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement
as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

message Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF
field as part of a bulleted list, the indent is correct but the
bullet is removed. The problem seems to be caused by the carriage
return in the result of the IF field. this causes the bullet to be
removed on whichever line the field is placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
? Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the
condition is true then Bullet 2 is inserted, otherwise Bullet 3
and 4 are inserted.

RESULT 1
? Bullet 1
Bullet 2
? Bullet 5

however, the problem is that the bullet point for Bullet 2 is
removed.

EXAMPLE 2
? Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
? Bullet 1
Bullet 3
? Bullet 4
? Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet
for the first one. the perplexing case is when the IF conditional
field is inserted after Bullet 1.

EXAMPLE 3
? Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
? Bullet 4" }
? Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
? Bullet 2
? Bullet 5

any help would be appreciated

Andre'
 
T

THE Burg

Thank you! That worked great!

I'm pretty good at teaching myself things like this, but there is no way to
find everything when self taught -- you guys have been a GREAT resource when
I've gotten hung up!

Graham Mayor said:
The curly quotes did not survive the posting and as shown will produce
straight quotes instead. To produce curly quotes for H the quotes after the
slashes { SET q1 "\"" }{ SET q2 "\"" } are left ALT+0147 and right ALT+0148
curly quotes respectively. The other curly quotes, not in the field, will be
converted by autoformat as you type them in.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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


Graham said:
Macropod may have other ideas, but I don't think this can be achieved
with a numbered style. You can however achieve it using bookmarks
using SET fields to create the count sequence thus:

1. Dimensions for this part are:¶
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F
}¶ { SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension:
{ Mergefield G }{ IF { Mergefield H } <> "" "¶
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}¶
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I"
Dimension: { Mergefield I }¶

The curly quotes in the conditional field are a complication but
configured with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.



THE said:
This answer seems to be closest to what I am trying to accomplish,
but I can't seem to get it to work. What I have is a mail merge
document. I want my results to look like this:

1. Dimensions for this part are:
a. "F" Dimension: 1.014 ± 0.005
b. "G" Dimension: 2.75 ± 0.03
I'm using a numbered list for this and the values are actually mail
merge fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension,
then there will be other dimensions. If there is an "H" dimension, I
want it to show up on the next line as item c. If there is no "H"
dimension, I want item c to be the next dimension in the sequence.
I've tried everything I THINK you were talking about and I still
loose the b label and sometimes the indentation. In some cases, the
next line did have the correct item letter (c), in others, it became
item b.

So, I'm looking at a conditional carriage return that doesn't blow up
my list, plus conditional text (the " "H" Dimension:") and as an
additional challenge, I'd like to put the quotation marks around that
H in that conditional text, which I've not been able to figure out
how to do either!

Don't know what I've missed from your post to the other persons
question, but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as
a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Hi Andre,

Here are two workarounds showing how you can embed one or more
bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement
as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

message Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF
field as part of a bulleted list, the indent is correct but the
bullet is removed. The problem seems to be caused by the carriage
return in the result of the IF field. this causes the bullet to be
removed on whichever line the field is placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
? Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the
condition is true then Bullet 2 is inserted, otherwise Bullet 3
and 4 are inserted.

RESULT 1
? Bullet 1
Bullet 2
? Bullet 5

however, the problem is that the bullet point for Bullet 2 is
removed.

EXAMPLE 2
? Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
? Bullet 1
Bullet 3
? Bullet 4
? Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet
for the first one. the perplexing case is when the IF conditional
field is inserted after Bullet 1.

EXAMPLE 3
? Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
? Bullet 4" }
? Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
? Bullet 2
? Bullet 5

any help would be appreciated

Andre'
 
T

THE Burg

Now, Word just seems to want to be contrary! I thought this was all working
great. In print layout, when connected to the data source, I was able to
step through the records and everything looked great -- first line of list
would have an "a.", numbering would carry on correctly, and the needed lines
would be there while the unneeded would not.

When I merged it to the printer though, the line counter got messed up -- it
would START at the number of items that were in the list! If there were 13
items in the list, it would start at "m." -- if there were 19 items, it would
start at "s."

I tried merging to a seperate document which solved this problem (any idea
what this is about?) Then to get page numbering right, I changed my footer
to use {SECTIONPAGES} instead of {NUMPAGES} and set up the document to start
section numbering at one. Again, in print view, everything looks good (page
1 of 2 on first page of section -- page 2 of 2 on second) but when I printed
it, it shows page 1 of 1 on the first page and page 2 of 2 on the second!

I'm not going to waste any more paper on this right now, but would like to
fix it so everything will work if I need to update and reprint it!

Thanks for any help you can give!

Graham Mayor said:
The curly quotes did not survive the posting and as shown will produce
straight quotes instead. To produce curly quotes for H the quotes after the
slashes { SET q1 "\"" }{ SET q2 "\"" } are left ALT+0147 and right ALT+0148
curly quotes respectively. The other curly quotes, not in the field, will be
converted by autoformat as you type them in.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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


Graham said:
Macropod may have other ideas, but I don't think this can be achieved
with a numbered style. You can however achieve it using bookmarks
using SET fields to create the count sequence thus:

1. Dimensions for this part are:¶
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F
}¶ { SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension:
{ Mergefield G }{ IF { Mergefield H } <> "" "¶
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}¶
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I"
Dimension: { Mergefield I }¶

The curly quotes in the conditional field are a complication but
configured with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.



THE said:
This answer seems to be closest to what I am trying to accomplish,
but I can't seem to get it to work. What I have is a mail merge
document. I want my results to look like this:

1. Dimensions for this part are:
a. "F" Dimension: 1.014 ± 0.005
b. "G" Dimension: 2.75 ± 0.03
I'm using a numbered list for this and the values are actually mail
merge fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension,
then there will be other dimensions. If there is an "H" dimension, I
want it to show up on the next line as item c. If there is no "H"
dimension, I want item c to be the next dimension in the sequence.
I've tried everything I THINK you were talking about and I still
loose the b label and sometimes the indentation. In some cases, the
next line did have the correct item letter (c), in others, it became
item b.

So, I'm looking at a conditional carriage return that doesn't blow up
my list, plus conditional text (the " "H" Dimension:") and as an
additional challenge, I'd like to put the quotation marks around that
H in that conditional text, which I've not been able to figure out
how to do either!

Don't know what I've missed from your post to the other persons
question, but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement as
a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

Hi Andre,

Here are two workarounds showing how you can embed one or more
bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "¶
"{IF BkMrk1 <> 0 "Cascade 1A¶
Cascade 1B¶
"}{IF BkMrk2 <> 0 "Cascade 2A¶
Cascade 2B¶
"}{IF BkMrk3 <> 0 "Cascade 3A¶
Cascade 3B¶
"}{IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}

For nesting:
{QUOTE "¶
"{IF BkMrk1 <> 0 "¶
Nested 1A¶
Nested 1B¶
" {IF BkMrk2 <> 0 "Nested 2A¶
Nested 2B¶
" {IF BkMrk3 <> 0 "Nested 3A¶
Nested 3B¶
" {IF BkMrk4 <> 0 "Cascade 4A¶
Cascade 4B¶
"}}}}}

In both cases, format the ¶ appearing after the 'QUOTE' statement
as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

message Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF
field as part of a bulleted list, the indent is correct but the
bullet is removed. The problem seems to be caused by the carriage
return in the result of the IF field. this causes the bullet to be
removed on whichever line the field is placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
? Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the
condition is true then Bullet 2 is inserted, otherwise Bullet 3
and 4 are inserted.

RESULT 1
? Bullet 1
Bullet 2
? Bullet 5

however, the problem is that the bullet point for Bullet 2 is
removed.

EXAMPLE 2
? Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
? Bullet 4" }
? Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
? Bullet 1
Bullet 3
? Bullet 4
? Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet
for the first one. the perplexing case is when the IF conditional
field is inserted after Bullet 1.

EXAMPLE 3
? Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
? Bullet 4" }
? Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
? Bullet 2
? Bullet 5

any help would be appreciated

Andre'
 
D

Darren Cole

Hi

I've just converted to Office 2003 from 2000. A mailmerge document I have used for 2 years is suddenly going wrong with its page numbering. For each record in the data six pages are produced. Each set of six pages is in a separate section allowing me to set up headers and footers appropriately and, in the past, to print page 1 of 6, page 2 of 6 etc.

Now, although everything looks good on screen, when printed I get page 1 of 1, page 2 of 2 etc.

As an aside one merge documet is working, and as far as I can see, is exactly the same as the others. I have 'broken' this document by printing (when the 'Reveiew' toolbar shows Final and all comments were removed. The other documents had no comments so I put some in and tried printing. It was still broken.

Did you ever find a fix for your problem, other than the annoying suggestion to put a bookmark on the final page?

Thanks in advance for any help you might be able to give me.

Regards

Darren



THEBur wrote:

Now, Word just seems to want to be contrary!
28-Oct-08

Now, Word just seems to want to be contrary! I thought this was all working
great. In print layout, when connected to the data source, I was able to
step through the records and everything looked great -- first line of list
would have an "a.", numbering would carry on correctly, and the needed lines
would be there while the unneeded would not

When I merged it to the printer though, the line counter got messed up -- it
would START at the number of items that were in the list! If there were 13
items in the list, it would start at "m." -- if there were 19 items, it would
start at "s.

I tried merging to a seperate document which solved this problem (any idea
what this is about?) Then to get page numbering right, I changed my footer
to use {SECTIONPAGES} instead of {NUMPAGES} and set up the document to start
section numbering at one. Again, in print view, everything looks good (page
1 of 2 on first page of section -- page 2 of 2 on second) but when I printed
it, it shows page 1 of 1 on the first page and page 2 of 2 on the second

I'm not going to waste any more paper on this right now, but would like to
fix it so everything will work if I need to update and reprint it

Thanks for any help you can give

:

Previous Posts In This Thread:

On 10 September 2007 03:26
andrethehunter wrote:

IF Field breaking bullets
Hello
i'm have having a problem in Word 2003 for PC. When I create an IF field as
part of a bulleted list, the indent is correct but the bullet is removed. The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed
A few examples follow (? is the bullet point)

EXAMPLE
??? Bullet
{ IF "T" = "T" "Bullet 2" "Bullet
??? Bullet 4"
??? Bullet

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted

RESULT
??? Bullet
Bullet
??? Bullet

however, the problem is that the bullet point for Bullet 2 is removed

EXAMPLE
??? Bullet
{ IF "T" = "F" "Bullet 2" "Bullet
??? Bullet 4"
??? Bullet

notice that the IF field should display Bullet 3 and 4 no

RESULT
??? Bullet
Bullet
??? Bullet
??? Bullet

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is inserted
after Bullet 1

EXAMPLE
??? Bullet 1{ IF "T" = "T"
Bullet 2"
Bullet
??? Bullet 4"
??? Bullet

this should insert a hard return before Bullet 2. this results in

RESULT
Bullet
??? Bullet
??? Bullet

any help would be appreciate

Andre'

On 10 September 2007 05:29
macropod wrote:

Hi Andre,Here are two workarounds showing how you can embed one or more
Hi Andre

Here are two workarounds showing how you can embed one or more bulleted paragraphs in an IF test, according on whether you want to
cascade or nest the fields

For cascading
{QUOTE "?
"{IF BkMrk1 <> 0 "Cascade 1A??
Cascade 1B??
"}{IF BkMrk2 <> 0 "Cascade 2A??
Cascade 2B??
"}{IF BkMrk3 <> 0 "Cascade 3A??
Cascade 3B??
"}{IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}

For nesting:
{QUOTE "??
"{IF BkMrk1 <> 0 "??
Nested 1A??
Nested 1B??
" {IF BkMrk2 <> 0 "Nested 2A??
Nested 2B??
" {IF BkMrk3 <> 0 "Nested 3A??
Nested 3B??
" {IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}}}}

In both cases, format the ?? appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------


On 10 September 2007 05:41
macropod wrote:

Re: IF Field breaking bullets - correction
For cascading:
{QUOTE "??
"{IF BkMrk1 <> 0 "Cascade 1A??
Cascade 1B??
"}{IF BkMrk2 <> 0 "Cascade 2A??
Cascade 2B??
"}{IF BkMrk3 <> 0 "Cascade 3A??
Cascade 3B??
"}{IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}

For nesting:
{QUOTE "??
"{IF BkMrk1 <> 0 "Nested 1A??
Nested 1B??
" {IF BkMrk2 <> 0 "Nested 2A??
Nested 2B??
" {IF BkMrk3 <> 0 "Nested 3A??
Nested 3B??
" {IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}}}}

In both cases, format the ?? appearing after the 'QUOTE' statement as a non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------


On 10 September 2007 21:46
andrethehunter wrote:

thanks for quick response!
thanks for quick response!
took me a bit of fiddling to understand...but it works!

thank you!

Andre'

:

On 11 September 2007 06:08
macropod wrote:

You're welcome.
You're welcome.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

On 24 October 2008 15:09
THEBur wrote:

This answer seems to be closest to what I am trying to accomplish, but I can't
This answer seems to be closest to what I am trying to accomplish, but I
can't seem to get it to work. What I have is a mail merge document. I want
my results to look like this:

1. Dimensions for this part are:
a. ???F??? Dimension: 1.014 ?? 0.005
b. ???G??? Dimension: 2.75 ?? 0.03
I'm using a numbered list for this and the values are actually mail merge
fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension, then
there will be other dimensions. If there is an "H" dimension, I want it to
show up on the next line as item c. If there is no "H" dimension, I want
item c to be the next dimension in the sequence. I've tried everything I
THINK you were talking about and I still loose the b label and sometimes the
indentation. In some cases, the next line did have the correct item letter
(c), in others, it became item b.

So, I'm looking at a conditional carriage return that doesn't blow up my
list, plus conditional text (the " "H" Dimension:") and as an additional
challenge, I'd like to put the quotation marks around that H in that
conditional text, which I've not been able to figure out how to do either!

Don't know what I've missed from your post to the other persons question,
but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

:

On 25 October 2008 03:15
Graham Mayor wrote:

Macropod may have other ideas, but I don't think this can be achieved with a
Macropod may have other ideas, but I don't think this can be achieved with a
numbered style. You can however achieve it using bookmarks using SET fields
to create the count sequence thus:

1. Dimensions for this part are:?
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F }?
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension: {
Mergefield G }{ IF { Mergefield H } <> "" "?
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}?
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I" Dimension: {
Mergefield I }?

The curly quotes in the conditional field are a complication but configured
with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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

THE Burg wrote:

On 25 October 2008 03:24
Graham Mayor wrote:

The curly quotes did not survive the posting and as shown will produce
The curly quotes did not survive the posting and as shown will produce
straight quotes instead. To produce curly quotes for H the quotes after the
slashes { SET q1 "\"" }{ SET q2 "\"" } are left ALT+0147 and right ALT+0148
curly quotes respectively. The other curly quotes, not in the field, will be
converted by autoformat as you type them in.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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


Graham Mayor wrote:

On 27 October 2008 13:31
THEBur wrote:

Thank you! That worked great!
Thank you! That worked great!

I'm pretty good at teaching myself things like this, but there is no way to
find everything when self taught -- you guys have been a GREAT resource when
I've gotten hung up!

:

On 28 October 2008 10:04
THEBur wrote:

Now, Word just seems to want to be contrary!
Now, Word just seems to want to be contrary! I thought this was all working
great. In print layout, when connected to the data source, I was able to
step through the records and everything looked great -- first line of list
would have an "a.", numbering would carry on correctly, and the needed lines
would be there while the unneeded would not.

When I merged it to the printer though, the line counter got messed up -- it
would START at the number of items that were in the list! If there were 13
items in the list, it would start at "m." -- if there were 19 items, it would
start at "s."

I tried merging to a seperate document which solved this problem (any idea
what this is about?) Then to get page numbering right, I changed my footer
to use {SECTIONPAGES} instead of {NUMPAGES} and set up the document to start
section numbering at one. Again, in print view, everything looks good (page
1 of 2 on first page of section -- page 2 of 2 on second) but when I printed
it, it shows page 1 of 1 on the first page and page 2 of 2 on the second!

I'm not going to waste any more paper on this right now, but would like to
fix it so everything will work if I need to update and reprint it!

Thanks for any help you can give!

:

EggHeadCafe - Software Developer Portal of Choice
ADO Connection Performance Test - A must see!!!
http://www.eggheadcafe.com/tutorial...0-92a9871115ac/ado-connection-performanc.aspx
 
S

Stefan Blom

The available workarounds are described at
http://word.mvps.org/FAQs/AppErrors/PageXofY.htm.

--
Stefan Blom
Microsoft Word MVP



Hi

I've just converted to Office 2003 from 2000. A mailmerge document I have
used for 2 years is suddenly going wrong with its page numbering. For
each record in the data six pages are produced. Each set of six pages is
in a separate section allowing me to set up headers and footers
appropriately and, in the past, to print page 1 of 6, page 2 of 6 etc.

Now, although everything looks good on screen, when printed I get page 1
of 1, page 2 of 2 etc.

As an aside one merge documet is working, and as far as I can see, is
exactly the same as the others. I have 'broken' this document by printing
(when the 'Reveiew' toolbar shows Final and all comments were removed.
The other documents had no comments so I put some in and tried printing.
It was still broken.

Did you ever find a fix for your problem, other than the annoying
suggestion to put a bookmark on the final page?

Thanks in advance for any help you might be able to give me.

Regards

Darren



THEBur wrote:

Now, Word just seems to want to be contrary!
28-Oct-08

Now, Word just seems to want to be contrary! I thought this was all
working
great. In print layout, when connected to the data source, I was able to
step through the records and everything looked great -- first line of list
would have an "a.", numbering would carry on correctly, and the needed
lines
would be there while the unneeded would not.

When I merged it to the printer though, the line counter got messed up --
it
would START at the number of items that were in the list! If there were
13
items in the list, it would start at "m." -- if there were 19 items, it
would
start at "s."

I tried merging to a seperate document which solved this problem (any idea
what this is about?) Then to get page numbering right, I changed my
footer
to use {SECTIONPAGES} instead of {NUMPAGES} and set up the document to
start
section numbering at one. Again, in print view, everything looks good
(page
1 of 2 on first page of section -- page 2 of 2 on second) but when I
printed
it, it shows page 1 of 1 on the first page and page 2 of 2 on the second!

I'm not going to waste any more paper on this right now, but would like to
fix it so everything will work if I need to update and reprint it!

Thanks for any help you can give!

:

Previous Posts In This Thread:

On 10 September 2007 03:26
andrethehunter wrote:

IF Field breaking bullets
Hello,
i'm have having a problem in Word 2003 for PC. When I create an IF field
as
part of a bulleted list, the indent is correct but the bullet is removed.
The
problem seems to be caused by the carriage return in the result of the IF
field. this causes the bullet to be removed on whichever line the field is
placed.
A few examples follow (? is the bullet point):

EXAMPLE 1
??? Bullet 1
{ IF "T" = "T" "Bullet 2" "Bullet 3
??? Bullet 4" }
??? Bullet 5

Bullet 2,3 and 4 are being inserted by an IF Field and if the condition is
true then Bullet 2 is inserted, otherwise Bullet 3 and 4 are inserted.

RESULT 1
??? Bullet 1
Bullet 2
??? Bullet 5

however, the problem is that the bullet point for Bullet 2 is removed.

EXAMPLE 2
??? Bullet 1
{ IF "T" = "F" "Bullet 2" "Bullet 3
??? Bullet 4" }
??? Bullet 5

notice that the IF field should display Bullet 3 and 4 now

RESULT 2
??? Bullet 1
Bullet 3
??? Bullet 4
??? Bullet 5

in this case Bullet 4 was inserted correctly. but again no bullet for the
first one. the perplexing case is when the IF conditional field is
inserted
after Bullet 1.

EXAMPLE 3
??? Bullet 1{ IF "T" = "T" "
Bullet 2" "
Bullet 3
??? Bullet 4" }
??? Bullet 5

this should insert a hard return before Bullet 2. this results in:

RESULT 3
Bullet 1
??? Bullet 2
??? Bullet 5

any help would be appreciated

Andre'

On 10 September 2007 05:29
macropod wrote:

Hi Andre,Here are two workarounds showing how you can embed one or more
Hi Andre,

Here are two workarounds showing how you can embed one or more bulleted
paragraphs in an IF test, according on whether you want to
cascade or nest the fields:

For cascading:
{QUOTE "??
"{IF BkMrk1 <> 0 "Cascade 1A??
Cascade 1B??
"}{IF BkMrk2 <> 0 "Cascade 2A??
Cascade 2B??
"}{IF BkMrk3 <> 0 "Cascade 3A??
Cascade 3B??
"}{IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}

For nesting:
{QUOTE "??
"{IF BkMrk1 <> 0 "??
Nested 1A??
Nested 1B??
" {IF BkMrk2 <> 0 "Nested 2A??
Nested 2B??
" {IF BkMrk3 <> 0 "Nested 3A??
Nested 3B??
" {IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}}}}

In both cases, format the ?? appearing after the 'QUOTE' statement as a
non-bullet paragraph with a 1pt font and no leading/trailing
space.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------


On 10 September 2007 05:41
macropod wrote:

Re: IF Field breaking bullets - correction
For cascading:
{QUOTE "??
"{IF BkMrk1 <> 0 "Cascade 1A??
Cascade 1B??
"}{IF BkMrk2 <> 0 "Cascade 2A??
Cascade 2B??
"}{IF BkMrk3 <> 0 "Cascade 3A??
Cascade 3B??
"}{IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}

For nesting:
{QUOTE "??
"{IF BkMrk1 <> 0 "Nested 1A??
Nested 1B??
" {IF BkMrk2 <> 0 "Nested 2A??
Nested 2B??
" {IF BkMrk3 <> 0 "Nested 3A??
Nested 3B??
" {IF BkMrk4 <> 0 "Cascade 4A??
Cascade 4B??
"}}}}}

In both cases, format the ?? appearing after the 'QUOTE' statement as a
non-bullet paragraph with a 1pt font and 1pt less leading or
trailing space than a standard bullet paragraph.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------


On 10 September 2007 21:46
andrethehunter wrote:

thanks for quick response!
thanks for quick response!
took me a bit of fiddling to understand...but it works!

thank you!

Andre'

:

On 11 September 2007 06:08
macropod wrote:

You're welcome.
You're welcome.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

On 24 October 2008 15:09
THEBur wrote:

This answer seems to be closest to what I am trying to accomplish, but I
can't
This answer seems to be closest to what I am trying to accomplish, but I
can't seem to get it to work. What I have is a mail merge document. I
want
my results to look like this:

1. Dimensions for this part are:
a. ???F??? Dimension: 1.014 ?? 0.005
b. ???G??? Dimension: 2.75 ?? 0.03
I'm using a numbered list for this and the values are actually mail merge
fields. (e.g. {MERGEFIELD "F"})

After the "G" dimension, there may or may not be an "H" dimension, then
there will be other dimensions. If there is an "H" dimension, I want it
to
show up on the next line as item c. If there is no "H" dimension, I want
item c to be the next dimension in the sequence. I've tried everything I
THINK you were talking about and I still loose the b label and sometimes
the
indentation. In some cases, the next line did have the correct item
letter
(c), in others, it became item b.

So, I'm looking at a conditional carriage return that doesn't blow up my
list, plus conditional text (the " "H" Dimension:") and as an additional
challenge, I'd like to put the quotation marks around that H in that
conditional text, which I've not been able to figure out how to do either!

Don't know what I've missed from your post to the other persons question,
but must be something.

I'm using Word 2003.

Any help would be GREATLY appreciated!

:

On 25 October 2008 03:15
Graham Mayor wrote:

Macropod may have other ideas, but I don't think this can be achieved with
a
Macropod may have other ideas, but I don't think this can be achieved with
a
numbered style. You can however achieve it using bookmarks using SET
fields
to create the count sequence thus:

1. Dimensions for this part are:?
{ SET Count 1 }{ Count \*alphabetic }. "F" Dimension: { Mergefield F }?
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "G" Dimension: {
Mergefield G }{ IF { Mergefield H } <> "" "?
{ SET Count { ={ Count } +1 } }{ SET q1 "\"" }{ SET q2 "\"" }{ Count
\*alphabetic}. { q1 }H{ q2 } Dimension: { Mergefield H }"}?
{ SET Count { ={ Count } +1 } }{ Count \*alphabetic }. "I" Dimension: {
Mergefield I }?

The curly quotes in the conditional field are a complication but
configured
with the two fields { SET q1 "\"" }{ SET q2 "\"" }
You will need { SET Count { ={ Count } +1 } }{ Count \*alphabetic }.
at the start of each subsequent line of the numbering sequence.


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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

THE Burg wrote:

On 25 October 2008 03:24
Graham Mayor wrote:

The curly quotes did not survive the posting and as shown will produce
The curly quotes did not survive the posting and as shown will produce
straight quotes instead. To produce curly quotes for H the quotes after
the
slashes { SET q1 "\"" }{ SET q2 "\"" } are left ALT+0147 and right
ALT+0148
curly quotes respectively. The other curly quotes, not in the field, will
be
converted by autoformat as you type them in.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


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


Graham Mayor wrote:

On 27 October 2008 13:31
THEBur wrote:

Thank you! That worked great!
Thank you! That worked great!

I'm pretty good at teaching myself things like this, but there is no way
to
find everything when self taught -- you guys have been a GREAT resource
when
I've gotten hung up!

:

On 28 October 2008 10:04
THEBur wrote:

Now, Word just seems to want to be contrary!
Now, Word just seems to want to be contrary! I thought this was all
working
great. In print layout, when connected to the data source, I was able to
step through the records and everything looked great -- first line of list
would have an "a.", numbering would carry on correctly, and the needed
lines
would be there while the unneeded would not.

When I merged it to the printer though, the line counter got messed up --
it
would START at the number of items that were in the list! If there were
13
items in the list, it would start at "m." -- if there were 19 items, it
would
start at "s."

I tried merging to a seperate document which solved this problem (any idea
what this is about?) Then to get page numbering right, I changed my
footer
to use {SECTIONPAGES} instead of {NUMPAGES} and set up the document to
start
section numbering at one. Again, in print view, everything looks good
(page
1 of 2 on first page of section -- page 2 of 2 on second) but when I
printed
it, it shows page 1 of 1 on the first page and page 2 of 2 on the second!

I'm not going to waste any more paper on this right now, but would like to
fix it so everything will work if I need to update and reprint it!

Thanks for any help you can give!

:

EggHeadCafe - Software Developer Portal of Choice
ADO Connection Performance Test - A must see!!!
http://www.eggheadcafe.com/tutorial...0-92a9871115ac/ado-connection-performanc.aspx
 

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