1. I have 2 tables that are related by primary key.
A) tblPeople: Fields are - MemberID(autonumber and primary key) LastName, FirstName, Class, Level.
[img]/forums/images/smilies/cool.gif[/img] tblAnnualAppealHistory: Fields are - MemberID(foreign key points to primary key), Year, AmountContributed. Thus, tblAnnualAppealHistory has 4 records for each record in the tblPeople table.
What I want is:
I want to print the Year field value as Coulumn Headings - 1997 1998 1999 2000 across the top.
I want the values in the table that correspond to the year to be printed under the appropriate year.
EXAMPLE: 1997 1998 1999 2000
--------------- 1-------3------ 5-------7
---------------- 2-------4-------6-------8
-----------------11-----20-----55------9
I want the names printed only once: EXAMPLE
-----------------1997 ------1998--------1999-------2000
Joe Doe-------1------------3---------------5 ---------7
Jane Doe------2-----------4---------------6----------8
Bob xxx---------11---------33-------------55---------66
As it now stands:
I get the year across the top of the page.
I get the correct amount printed in the correct column.
But I get the name repeatedly printed beside the amount - therefore the name appears 4 times- once in each column.
I have tried different grouping sorting methods but can't get it. Any ideas?
Soc



