MS access avoiding duplicate details

时间:2015-12-08 19:27:05

标签: ms-access

I currently have a report with a group value-indexes and the details of those value-indexes. ex:

select r from Rent r 
left join r.roomPaymentList payment
where payment.paymentDueDate < :date
or r.roomPaymentList is empty

a,b,c are value index of a group and the names are values from details. I'm trying to avoid repetition of details-value. So:

a
   Harry 
   Potter               
b                
   Harry                        
   Potter
c
   Ron               
   Wesley

How do I achieve this? EDIT: I reformatted the example to better understand what's going on

0 个答案:

没有答案