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

Different selection criteria but one report (extracting data)

Status
Not open for further replies.

tuigvlieg

Programmer
Feb 9, 2005
26
NL
Hi,

We are using Crystal version 8.5.3.936.

Situation I have is one table:

DOSIER Part Supplier TYPE trip
X A HENK C 2
Y B PIET C 5
2 R
5 R

I want a report that reports all type C per period. For every recort type C I want to count how many records are available with type R and I want to show details for type R also.

I don't know how to do this as all data is in the same table.

Please help



 
Link the table to itself as an alias, link on Dossier=Trip.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
Is there an inherent connection between individual type C and type R records? Your data suggests not.

If they are for particular suppliers, I would group by suppliers, maybe using Group Selection to suppress groups with no type Cs.

If they are two distinct things, then select both in a single table using Record Selection. Do a formula that defines suitable groups, something like
Code:
if {type} = "R" then "Type R"
else "Type C, supplier " & {supplier}

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top