Solved

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

Posted on 2014-11-20
5
104 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 36

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 36

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

730 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