Hello all
I am having dificulties of putting this sql formula into a crystal report.
when i am trying to use a running total field i cant use another running total.
thank you for a quick advice
select count(subcount)from (
select count(str_person_id) subcount from (
select c.str_person_id
from ent_card c, ent_card_events e
where c.int_card_key=e.int_card_key
and e.int_card_status_key=4
)
group by str_person_id
)
where subcount=1
I am having dificulties of putting this sql formula into a crystal report.
when i am trying to use a running total field i cant use another running total.
thank you for a quick advice
select count(subcount)from (
select count(str_person_id) subcount from (
select c.str_person_id
from ent_card c, ent_card_events e
where c.int_card_key=e.int_card_key
and e.int_card_status_key=4
)
group by str_person_id
)
where subcount=1