Solved

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

Posted on 2014-11-20
5
94 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 34

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 34

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
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…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now