You will need to clean this up.
Create a select query that uses a left outer join. You can use a Command Object to do this.
It might look something like this (add the fields you want on the report).
SELECT CTIl.datafieldname, CTIL.DatafieldName,CTIL.Reference,TILA.datafieldname
From CTIL
LEFT OUTER JOIN TILA ON CTIL.Reference = TILA.Reference
You then layout your report sections something like this...
GrpHeader (CTILReference)
Detail (Information from TILA table)
The details will change everytime the GroupHeader changes. If everything is working correctly only the those details for that reference number will show.
Hope this will get you started in the right direction.
Regards,
John W.