J
Jeremy Noland
I've asked for help on a crosstab (currently on page 9).
Basically I have two separate tables (Training_Table, and
Background_Table) :
From the two tables I need to count the number of
[Training_Table].[Training_Type] which is a list of MPH,
MSPH, DrPH, Post Docs, Distance Learning, Lab-Training,
Course, or Mentoring, and group this way :
Distance Learning, Lab-Training, Mentoring, Course as one
single type (Short Term)
MPH and MSPH as one single type
Count the number of Females and Males (which I have the
data stored in : [Background_Table].[Sex] as 'M' or 'F'
and THEN group by Country of Origin ( [Background_Table].
[Country]. It should look like this (in a report):
MS/MPH DrPH Post Docs Short Term
M F M F M F M F
Country:
Bangladesh 0 0 1 0 10 4 8 17
China 1 0 0 0 0 3 12 9
India 0 0 0 4 2 0 0 0
And so on...Can anyone help...I've tried SQL code, and
Inner Joins, and cannot get this to work out combined by
types, etc.
Thanks in advance,
Jeremy
Basically I have two separate tables (Training_Table, and
Background_Table) :
From the two tables I need to count the number of
[Training_Table].[Training_Type] which is a list of MPH,
MSPH, DrPH, Post Docs, Distance Learning, Lab-Training,
Course, or Mentoring, and group this way :
Distance Learning, Lab-Training, Mentoring, Course as one
single type (Short Term)
MPH and MSPH as one single type
Count the number of Females and Males (which I have the
data stored in : [Background_Table].[Sex] as 'M' or 'F'
and THEN group by Country of Origin ( [Background_Table].
[Country]. It should look like this (in a report):
MS/MPH DrPH Post Docs Short Term
M F M F M F M F
Country:
Bangladesh 0 0 1 0 10 4 8 17
China 1 0 0 0 0 3 12 9
India 0 0 0 4 2 0 0 0
And so on...Can anyone help...I've tried SQL code, and
Inner Joins, and cannot get this to work out combined by
types, etc.
Thanks in advance,
Jeremy