PDA

View Full Version : another puzzle


janrif
04-19-2007, 07:44 AM
Sorry to hog the board w my stuff but here goes:

Advanced Search:
(category = waiting and flag does not = completed) or (flag = blue flag and Template ItemID does not = xxxx)

xxxx = one item w a blue flag

|---------------------------[ Start ] -------------------------|

This produces results that includes the one item w ItemID xxxx that includes a blue flag

I also indented the ItemID. The result was the same.

|--------------------------- [ End ] --------------------------|

I solved this by replacing ItemID with

Template Item does not equal Search

|--------------------------- [ End ] --------------------------|

With this change, UR cleaned up the results but I don't understand the problem with the first grouping.

quant
04-19-2007, 08:08 AM
definitely indenting problem ...

first of all, put the parenthesis somewhere in your search so that we know what you are trying to achieve ...

janrif
04-19-2007, 09:18 AM
Originally posted by quant
definitely indenting problem ...

first of all, put the parenthesis somewhere in your search so that we know what you are trying to achieve ...
Sorry don't know what you mean. All search criteria were at top level or I would have indented.

quant
04-19-2007, 09:40 AM
what do you want?

(category = waiting AND flag does not = completed) OR ( flag = blue flag AND Template ItemID does not = xxxx)

or do you want

category = waiting AND (flag does not = completed OR flag= blue flag) AND Template ItemID does not = xxxx


???

janrif
04-19-2007, 10:19 AM
Originally posted by quant
what do you want? See original msg edited w format you've requested.....I think.

quant
04-19-2007, 10:23 AM
ok, then do ...

category = waiting
and flag does not = completed
[indent] or flag = blue flag
[indent] and Template ItemID does not = xxxx

janrif
04-19-2007, 11:45 AM
Originally posted by quant
ok, then do ...

category = waiting
and flag does not = completed
[indent] or flag = blue flag
[indent] and Template ItemID does not = xxxx This doesn't work as it still produces the item w the ItemID. See attached zip to see "Flag = waiting" in search results.

quant
04-19-2007, 12:12 PM
Originally posted by janrif
This doesn't work as it still produces the item w the ItemID. See attached zip to see "Flag = waiting" in search results.

the search dump is non-conclusive cause I dont see ItemID in the search pane.

The "flag=waiting" is included in the results cause it has purple flag and its itemID is most probably not equal to 31389.

janrif
04-19-2007, 01:05 PM
Originally posted by quant
the search dump is non-conclusive cause I dont see ItemID in the search pane.

The "flag=waiting" is included in the results cause it has purple flag and its itemID is most probably not equal to 31389. OK