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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using doen't contain and without

Status
Not open for further replies.

surad

Technical User
Mar 10, 2003
37
US
I am trying to write query that pulls data that ommit certain group and certain process but not sure how to use does not contain in the proper format in crystal.

My queries are as follows:

1) All cases opened where the Originator Workgroup does not contain “Support” AND the case was closed without dispatch.

2)All cases opened where the Originator Workgroup does not contain “Support” AND the case was dispatched to a queue OTHER than User Support as first dispatch.

3)All cases opened where the Originator Workgroup does not contain “Support” AND the case was dispatched to User Support as first dispatch.

Thanks,
Yuri
 
What version of Crystal? If, CR9, use COMMANDs or Views where you can leverage subqeries (NOT IN...) .
Doing this with subreport is possible but too painful... :eek:)

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
The easiest way to do this is with a subselect inserted into your select statement. Something along the lines of

(select count(*) from table tinner where tinner.workgroup = table.workgroup and tinner.workgroupmember = "support") = 0

Without your actual table structures, db type and crystal version I can't give you anything more exact.

Lisa
 
I am using Crytal Reports version 8.5.
 
Please provide sample detail level data before applying the record selection criteria described above and also a sample of how you would like the report to look.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top