S
Steve Smith
In the filter and sort panel what is the order of operation precedence for
AND and OR? Can you truly make complex filters. For example: I'm making an
email merge and want to sent it to everyone with CODE = ABCD or EFGH and
RANGE of 40 to 43 if CODE is ABCD and RANGE of 21 to 24 if CODE is EFGH.
I've tried:
FIELD = ABCD
AND RANGE >=40
AND RANGE <= 43
OR FIELD = EFGH
AND RANGE >=21
AND RANGE <= 24
This seems to work at first glance. The Mail Merge Recipients box shows the
records I expect it to. The problem comes when I click OK. I don't see the
records I'm expecting to see at that point. When I open up the recipients
box again I find out that Word has added AND RANGE IS BLANK between my AND
RANGE >=XX and AND RANGE <= XX lines. It has also changed the AND RANGE <=
YY lines to OR RANGE <= YY.
Is this a bug or is there a way to do what I'm trying to do?
AND and OR? Can you truly make complex filters. For example: I'm making an
email merge and want to sent it to everyone with CODE = ABCD or EFGH and
RANGE of 40 to 43 if CODE is ABCD and RANGE of 21 to 24 if CODE is EFGH.
I've tried:
FIELD = ABCD
AND RANGE >=40
AND RANGE <= 43
OR FIELD = EFGH
AND RANGE >=21
AND RANGE <= 24
This seems to work at first glance. The Mail Merge Recipients box shows the
records I expect it to. The problem comes when I click OK. I don't see the
records I'm expecting to see at that point. When I open up the recipients
box again I find out that Word has added AND RANGE IS BLANK between my AND
RANGE >=XX and AND RANGE <= XX lines. It has also changed the AND RANGE <=
YY lines to OR RANGE <= YY.
Is this a bug or is there a way to do what I'm trying to do?