Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull records except those containing a specific value

Status
Not open for further replies.

laina222

Technical User
Sep 7, 2001
172
US
Hi all - I'm very new to Business Objects so I will probably be asking a whole lot of questions in the near future.

I have a report I'm trying to create and one field I pulled displays several different alphanumeric codes, called "event code". I have a field called "contract#" and I want to pull all the contract#'s where they do not include a specific event code in their list.

Example:
Contract# 1234 has event codes 15, 48, 59 and 23.
Contract# 5678 has event codes 16, 48, 56 and 21.
I do not want records with event code 23, so the query should only pull contract# 5678, and not 1234.

Thanks for any help in advance!
 
In the query panel, just create a condition whereby

Event Code NE '23'
 
But then that would still pull all event codes for contract#s with event #23, and I don't want those records at all. If the event code exists for a contract#, then that contract# should not be pulled.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top