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

Creating an exclusion (exception) report

Status
Not open for further replies.

skries

MIS
Jul 23, 2004
21
0
0
US
Crystal 8.5
SQL Database

There are 2 tables 'WorkOrders' & 'TimeCharges'.

I want to show all work order records only when there is no matching record in the timecharges table. Essentially I am trying to display when time has not been applied against a work order.

Linking field is 'wonumber'





 
Hi
what commom field do you link
you might try a right other join to get the result that does not match your commom field.
example
if you have a order number that matches the time it will not diplay only the ones not matching
thats a right other join

cheers

pg

pgtek
 
1. Outer join on wonumber

2. Record selection criterion:

IsNull({TimeCharges.Time})

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top