Duane: Generic concatenate function

G

Guest

I have dowloaded and imported the generic concatenate function into my
application from
http://www.rogersaccesslibrary.com/OtherLibraries.asp#Hookom,Duane.
I have a report that I filter by date range and customer name and get
several deliveries that were made based on the criteria. Each delivery may
or may not have a description txt field in the tblDelivery which is attached
to the main report.

on the report footer I have field called showAll that I have put
=Concatenate("SELECT DeliveryDescription FROM tblDelivery WHERE DeliveryID
=" & [DeliveryID]) as the recordsource but nothing gets displayed when i run
the report.
But when I move this field to the page footer section, it only shows what
entry is on the first Delivery that gets printed.

How do I get this to work. ie to go throw all deliveries that meets the
criteria and then get any descriptions that exist and print them out on the
showAll textfield on the report footer?

Thanks
 
G

Guest

I expect DeliveryID is the primary key in tblDelivery. If this is the case,
the function would only return at the most one description. I assume you want
to return results from more than one record in tblDelivery.

You really need to provide some information about your table structure if
you want help with function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top