Are "NC" and "Completed" the only possible results for that field? Do you want to show all records for any group that contains "Completed" or only those rows with "Completed"?
Real SQl would do this best, in Crystal you might create a formula of:
if {table.result} = "Completed" then
1
else
0
Group by the Orderno and in the suppress for the Group and details place:
sum({@MySumFormula},{table.group}) = 0
Now the report will only display those that meet your criteria, and you can use a conventional right click field->Insert->Summary-Count to show a count of the orders in the group footer.
I am working with live data and everything worked until one more record was entered.
these 2 orders have to be grouped by Contract but it is not happening.
Is there way? So I am using combination of Order and Stage to determine Complete Orders. It works fine. I am filtering Complete Orders out by having
sum({@MySumFormula},{table.group}) > 0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.