Concatenate Related Records

MilaK

Registered User.
Local time
Today, 14:28
Joined
Feb 9, 2015
Messages
285
Hello,

I’m using Allen Browne’s ConcatRelated records function in Expr2: ConcatRelated("Exp","amplicons_failed_amps_with_depth","[sample_id] = """ & [sample_id] & """") to list records on a multi-page report. Each page pertains to a different record. The limit is 255 characters and the rest gets cut off. Is there another solution?

I’ve tried to populate a listbox and then loop through all the items and concatenate them but this does not work on the multi-page report.

Here is the query:
SELECT [tbl_failed_amplicons].[gene] & ' exon (' & [tbl_failed_amplicons].[Exon] & ') at depth ' & [tbl_failed_amplicons].[Depth] AS failed_amp, tbl_failed_amplicons.sample_id
FROM tbl_Samples INNER JOIN tbl_failed_amplicons ON tbl_Samples.sample_id = tbl_failed_amplicons.sample_id
WHERE (((tbl_failed_amplicons.sample_id)=[Reports]![rpt_Project_Report]![sample_id]));

Please suggest something,

Thank
 
I've used Allen Browne's ConcatRelated function combine records with the same id from a table and to display them in a textbox on a report. This method has a 250 characters limit and cuts off some of the records. Is there another way to make this work? Thanks
 
http://allenbrowne.com/ser-63.html on Allen's site mentions the issue of truncation (255 char limit issue) and that can be caused by several things such as the type of query. There are a few suggestions there, hopefully that can sort it out, but I have had situations where I still couldn't get it to display over 255.
 
I found a solution how to overcome this issue.
 

Users who are viewing this thread

Back
Top Bottom