T
Ted
I'm bumping up against the 255 character limit for concatenating with
a totals query.
I've got a table (tblGlebe) with the weekly events, names and times
for my swimming club. I've got to build a report (for the local
newspaper) showing each event, and the respective name & times
(field=swimmer, data already concatenated) of each club member. The
format of the report is that the names and times for each event appear
as in a single paragraph (rather than a long column) to the right of
the event name - hence concatenation.
So, I built a totals query (see below) that groups and concatentates
the swimmer field by event. When I run the report, I just group on the
event.
I'm using Duane Hookum's "Concatenate" function and this works nicely
(thank's Duane) except for my 255 character limit. That is, the
concatenated swimmer field cuts out at 255 characters.
SELECT event, Concatenate("SELECT Swimmer FROM tblGlebe WHERE
eventorder =" & [eventorder]) AS [Names]
FROM tblGlebe
GROUP BY event, Concatenate("SELECT Swimmer FROM tblGlebe WHERE
eventorder =" & [eventorder]);
Suggestions please.
There's probably a much easier way around this, but my brain's gone
numb.
Regards
Ted
a totals query.
I've got a table (tblGlebe) with the weekly events, names and times
for my swimming club. I've got to build a report (for the local
newspaper) showing each event, and the respective name & times
(field=swimmer, data already concatenated) of each club member. The
format of the report is that the names and times for each event appear
as in a single paragraph (rather than a long column) to the right of
the event name - hence concatenation.
So, I built a totals query (see below) that groups and concatentates
the swimmer field by event. When I run the report, I just group on the
event.
I'm using Duane Hookum's "Concatenate" function and this works nicely
(thank's Duane) except for my 255 character limit. That is, the
concatenated swimmer field cuts out at 255 characters.
SELECT event, Concatenate("SELECT Swimmer FROM tblGlebe WHERE
eventorder =" & [eventorder]) AS [Names]
FROM tblGlebe
GROUP BY event, Concatenate("SELECT Swimmer FROM tblGlebe WHERE
eventorder =" & [eventorder]);
Suggestions please.
There's probably a much easier way around this, but my brain's gone
numb.
Regards
Ted