473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Help with grouping Fields in reports.

Im trying to create a report that list my contents in order of

M S G R D S

In 2 and 3 there is multiable values from the column which is causing my report to look like this

1 1 1 1 1 1
1 1 2 1 1 1
1 1 3 1 1 1
1 2 1 1 1 1
1 2 2 1 1 1
1 2 3 1 1 1
1 3 1 1 1 1
1 3 2 1 1 1
1 3 3 1 1 1

I want my report to look like this But cant seem to figure out how to take multiple information from a column retaining to the first field and group it. I think Im wording that right.

1 1,2,3 1,2,3 1 1 1
2 1,2,3, 1,2,3, 1 1 1

And so on...
Dec 6 '10 #1
2 1494
NeoPa
32,556 Expert Mod 16PB
Unless there is a good reason not to, this can most easily be achieved by doing a GROUP BY query and building the report off that.

Otherwise, a bit more involved but still possible, there is an option in a report definition called Sorting and Grouping (View / Sorting and Grouping). From here you can set which fields from the record source are grouped. For each group set up there is both a Group Header and a Group Footer. If you design your report to show data, not in the Detail section which is most usual, but in the matching Group Footer section, then you will be able to show what you need even if the underlying record source is not grouped.
Dec 7 '10 #2
NeoPa
32,556 Expert Mod 16PB
Oh no. I just reread your question and realised you were asking for something quite a lot more complicated than the usual aggregating or grouping. For help with that part of the issue (You will need to do this within a query after all) see Listing Items Within GROUP BY Set. You should understand that this is treating relational data in a non-relational way, so the proposed solution is a kludge and Access (an RDBMS - Relational DataBase Management System) was never designed to work that way. Within its limits though, it may provide your solution.

My best advice is not to go that way at all. Find a design that works within the Relational Concept if you can. Otherwise the solution can be found within the linked thread.
Dec 7 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Graham | last post by:
Hi, I am having trouble getting XSL to count the members of a group. What I am trying to do is group by <objectid.Contactid> and count the number of <activityid>'s for each <objectid.contactid>....
0
by: Maqsood Ahmed | last post by:
Hello! I am new to Crystal Reports and I have been trying this for last 3, 4 days. Scenario 1: I have a strongly typed DataSet (.xsd) and I don't populate it from Database. I have added a...
1
by: BiATZIFLOM | last post by:
Hi there i need some help with quick reports for borland. i have the following: C++ builder 5 Form with a QuickReport on Using BDE SQL Query: select * from contact, contactperson where...
2
by: spirytuspl | last post by:
i got problem with creating reports and would appreciate if someone would point me out to some good tutorials on the topic, or simply explain where should i start and what should i do.. i'm quite...
7
by: John | last post by:
I am using Crystal Reports in my application I made using Visual Studio.NET. I installed my application on the client machine, with all the DLLs required(added the merge modules), the engine and...
0
by: KK | last post by:
Hi, How to combine summary, detail reports into one report? I have a summary report summary.rpt, detail report detail.rpt I want to export these reports into a pdf file. I want to display...
5
by: Gordon Youd | last post by:
Randy Harris and Bob Quintal have tried to help me with my data base report problem, for which I thank them. The suggestions they gave me still do not seem to work and I am still getting false...
4
by: midlothian | last post by:
I need to create a large book of work for my company, with many different reports using different data. It all needs to come together in one book, to be saved in PDF format. Some of the reports in...
4
by: gnawz | last post by:
I need to generate 3 kinds of reports... I have a date field in MySQl database whose data type id DATETIME daily I need to show reports of sales of the day so my SQL should be sth like $sql =...
2
by: dez5000 | last post by:
I have a query that is pulling a list of patients seen within a certain time frame at certain locations and it also shows whether they had a certain test done. I want to report by location the list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.