Re: Report help
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Thu, 04 Oct 2007 14:52:25 -0500
James wrote:
I have a table with customers and orders. It looks something like:
Date / Customer / Order
1/07 / James / Stapler
2/07 / James / Paperclips
3/07 / James / Post-Its
Is there a way to create a report so that it out puts all the orders for one
customer into one summary field like so?
Customer / Order
James / Stapler, Paperclips, Post-Its
You need to create a function to do that. There's a good
one at:
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Generic%20Function%20To%20Concatenate%20Child%20Records'
Strip the report's record source query down to just
SELECT DISTINCT Customer FROM Orders
Then use the function in your orders text box's control
source expression.
--
Marsh
MVP [MS Access]
.
- Prev by Date: Re: Date based query problem
- Next by Date: RE: Crosstab Reports
- Previous by thread: Date based query problem
- Next by thread: Re: Top Counts
- Index(es):
Relevant Pages
|