I have a table called tblMainData with the following fields: 1. PersonID 2. Surname 3. Name 4. Address 5. Four other fields containing some dates related to each Person (Date1, Date2, Date3, Date4)
I have a second table called tblPersonTelephone with the following fields:
- PersonTelephoneID (Autonumber)
- PersonID (related with PersonID of tblMainData)
- TelephoneID (the actual telephone number)
I have a query with all of the above, thus having as many records as the total of the population of telephone numbers that exist.
I want to have a report with one row having the PersonID, Surname, Name and the Dates, and in a second row (for each record of PersonID), showing the address and all telephones for each PersonID.
In order to do this, I tried to put the records for the first row in a Grouping Heading for PersonID, and in the Detail row I put the address field and TelephoneID field.
If one person has two telephone numbers, the result is that the report has the one row having the PersonID, Surname, Name and the Dates, and the report also shows a second and third row for each telephone number. It also show the address twice (one for each Telephone number)
Is is possible to not show the address twice, or even to show the various Telephone Numbers in one row instead of as many rows as the population of Telephone Numbers?
Thank you Demetris