N
Noel
Hi. Can Duane or anyone else help here please? I have used
Duanes Concatenate program to allow me to group together
multiple child records in a Mail Merge. Everything works
well but now I have found that, with more than a certain
number of child records, the merge just stops mid record.
It seems to be related somehow to the number of characters
in the block of child records (around 219, ignoring Tabs)
but as these dont come from an actual field, I cant see
why it has a limit. For info, I have two queries. The
first builds a Student record grouping and spaces them
with Tabs as follows
Student: Chr$(9) & [Students Master].[FirstName] & " " &
[Surname] & Chr(9) & [Students Master].[Subject] & Chr(9)
& [Placements].[YearGroup]
Then in a second, the Concatenate program is called up to
allow the child records to be grouped and presented in the
Mail Merge document as field name Student Details as
follows
Student Details: Concatenate("SELECT Student FROM [Select
Placements BEd Yr1 SBW] WHERE [Schools and Offers].
[SchoolID] =" & [Schools and Offers].[SchoolID],Chr(13) &
Chr(10))
As I say, Student and Student Details arent actual fields
in a table, so dont have a set size. The queries show all
the child records in full so why do they get chopped off
when grouped in the MMerge. I cant see any sizing to be
done in the MMerge doc and it doesnt help if I provide
lots of space around the Student Details field. Any ideas?
Thanks, Noel
Duanes Concatenate program to allow me to group together
multiple child records in a Mail Merge. Everything works
well but now I have found that, with more than a certain
number of child records, the merge just stops mid record.
It seems to be related somehow to the number of characters
in the block of child records (around 219, ignoring Tabs)
but as these dont come from an actual field, I cant see
why it has a limit. For info, I have two queries. The
first builds a Student record grouping and spaces them
with Tabs as follows
Student: Chr$(9) & [Students Master].[FirstName] & " " &
[Surname] & Chr(9) & [Students Master].[Subject] & Chr(9)
& [Placements].[YearGroup]
Then in a second, the Concatenate program is called up to
allow the child records to be grouped and presented in the
Mail Merge document as field name Student Details as
follows
Student Details: Concatenate("SELECT Student FROM [Select
Placements BEd Yr1 SBW] WHERE [Schools and Offers].
[SchoolID] =" & [Schools and Offers].[SchoolID],Chr(13) &
Chr(10))
As I say, Student and Student Details arent actual fields
in a table, so dont have a set size. The queries show all
the child records in full so why do they get chopped off
when grouped in the MMerge. I cant see any sizing to be
done in the MMerge doc and it doesnt help if I provide
lots of space around the Student Details field. Any ideas?
Thanks, Noel