Solved

How preparing a report including a window for a subfrom containing a small list of names

Posted on 2014-11-20
5
103 Views
Last Modified: 2014-11-26
Hi,

I am preparing a report to be printed, based on a form, This works fine.
The form contains a subform..linked to the form.  I usually prepare the report, with one line for any record of the subform. This works fine too.
But now I have a subform with only one column of short names.. And I don't want to waste one line per record on my report.. I would like these names to be set on the report like a series of continuous names, separated by something like a dot or a comma..

Thanks for any help

Jacques
0
Comment
Question by:weissenb
  • 2
  • 2
5 Comments
 
LVL 84
ID: 40455845
You'd have to create that in a query, and then use the query to drive that report. You can use the Concat function found here:

http://www.experts-exchange.com/Database/MS_Access/A_2380-Domain-Aggregate-for-Concatenating-Values-by-Group-in-Microsoft-Access.html
0
 
LVL 35

Expert Comment

by:PatHartman
ID: 40456052
Or, you can set the subform to show multiple columns.  You should be able to get 4-5 columns across if you are only showing one field.
0
 

Author Comment

by:weissenb
ID: 40456322
Thanks Scott,  I will go through the concat function. But the document is not so easy to understand..how I can do this in a query (My report is based on 3 queries, because I have some relations that need this).   But OK,  I will take the time if I am not able to follow PatHartman proposition..

Thanks also  PatHartman : this could really be the solution.  You saw it right, I never have more then 5 records in my subform (and only one field). So, if I could make MSAccess display them in a single (an unique) row, it would be perfect..But I don't see how I can display the 1-Field records of my subform in columns and not in rows.
0
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40457509
Here are two pictures that may help.  
Design viewReport view
0
 

Author Closing Comment

by:weissenb
ID: 40467979
This is just what I needed

Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question