K
KRISH
I am having two tables [Applicant] and [Institute]
Main fields in [Applicant] are:
[Applicant ID], [FullName], [Programme], [Status]
Main fields in [Institute] are:
[Applicant ID], [Inst code], [Dept code]
Relationship is one-to-many. One applicant can opt more
than one institute.
Now I need institute-wise report, shows No. of applicants
applied, rejected, finally considered under each programme
(Prog1, Prog2). [Status] is Null if application considered
otherwise Rejected if rejected.
Finally considered = Applied - Rejected.
My problem is I am getting result which includes the
number counting all whereever the applicant applies means
say if ID001 applied for 4 institutions then 4. But I want
only 1 for each [inst code] applied.
Note: Applicant can opt more than one department under
each inst.
Any help is greately appreciated. Thanks
Krish
Main fields in [Applicant] are:
[Applicant ID], [FullName], [Programme], [Status]
Main fields in [Institute] are:
[Applicant ID], [Inst code], [Dept code]
Relationship is one-to-many. One applicant can opt more
than one institute.
Now I need institute-wise report, shows No. of applicants
applied, rejected, finally considered under each programme
(Prog1, Prog2). [Status] is Null if application considered
otherwise Rejected if rejected.
Finally considered = Applied - Rejected.
My problem is I am getting result which includes the
number counting all whereever the applicant applies means
say if ID001 applied for 4 institutions then 4. But I want
only 1 for each [inst code] applied.
Note: Applicant can opt more than one department under
each inst.
Any help is greately appreciated. Thanks
Krish