473,811 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Distinct records in report

Hi all,

I'm new to Reports, so please bear with me.

I have a query that produces a list of participants by project. It
also produces a list of files by project (participants and files are
both many-to-many joins with project):

_Project_ _Participants_ _Files_
Project1 participant1 file1
Project1 participant1 file2
Project1 participant1 file3
Project1 participant2 file1
Project1 participant2 file2
Project1 participant2 file3

What I want in the report that's based on this query is something like
this (my reports so far are exactly this pretty):

_Project_
Project1

_Participants_
participant1
participant2

_Files_
file1
file2
file3

Basically, I need something like a DISTINCT for participants and files,
I only want one of each unique value for each project.

Thanks for any help in advance (especially if it doesn't involve VB :)

Cheers,

Dave.

Mar 2 '06 #1
1 1674
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the report create 2 groupings: one for Projects, the other for
Participants. Each should have a Header section. Place the data
control for Projects in the Projects Header section and the data control
for the Participants in the Participants section.

In the Details section place the Files data control.

Done.
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBRAdfy4echKq OuFEgEQImkgCfTC fNOasR2SR+EGDVg 2MijzOePKkAn0kl
11kdADsz9V78bs7 p1XQQyhSd
=1WeB
-----END PGP SIGNATURE-----
Dave wrote:
Hi all,

I'm new to Reports, so please bear with me.

I have a query that produces a list of participants by project. It
also produces a list of files by project (participants and files are
both many-to-many joins with project):

_Project_ _Participants_ _Files_
Project1 participant1 file1
Project1 participant1 file2
Project1 participant1 file3
Project1 participant2 file1
Project1 participant2 file2
Project1 participant2 file3

What I want in the report that's based on this query is something like
this (my reports so far are exactly this pretty):

_Project_
Project1

_Participants_
participant1
participant2

_Files_
file1
file2
file3

Basically, I need something like a DISTINCT for participants and files,
I only want one of each unique value for each project.

Thanks for any help in advance (especially if it doesn't involve VB :)

Mar 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5685
by: Yasin | last post by:
Hi I have one reports which shows the Account wise daily transaction during the day.(pl's find below report layout format with column description) May or may not be each account have multiple transaction during the day. My report break and compute as shown below.
9
6153
by: Dave M | last post by:
All I've got a database that keeps track of sales of widgets. Each company that belongs to my organiztion is to report their widget sales or no sales every month. There are several different types of widgets. Not all companies sell or report all types of widgets. We want to report how many companies have reported or not reported their
4
3302
by: dixie | last post by:
I have a report which has records of students in various courses. It would normally show say 400 entries for 80 students doing an average of 5 courses each. I want to say on the report how many different students there are. Normally, I'd just use "No. Students = " & Count() , but this just gives me 400 - how do I do a count of Distinct Surnames on a report? dixie
5
53504
by: Fred Zuckerman | last post by:
Can someone explain the difference between these 2 queries? "Select Distinct id, account, lastname, firstname from table1" and "Select DistinctRow id, account, lastname, firstname from table1" Thanks, Fred Zuckerman
0
4693
by: Jasper Jones | last post by:
I have a Crystal report that shows me a list of sales and which customer bought them, I would like to get a distinct list of customers, is this possible with crystal's formulas? This is my query: crReportDocument.RecordSelectionFormula = "{sales.city} = 'London')" It produces records like this
7
4656
by: CampbellJD1 | last post by:
I am using Access 2003 Professional. I have been working with Access for some time and I have created an MDB with a Linked Table and the Data there is temporarily transferred to other Table for different reports. I now have the task of a Daily report which I have been able to get to the point where it does 90% of what I need. I have been searching Google and Answer for the last three days on getting Access to do a Distinct Record Count in a...
1
3740
by: RussCRM | last post by:
I need some help getting unique records from our database! I work for a small non-profit homeless shelter. We keep track of guest information as well as what services we have offered for statistical purposes. I've been using Here’s the situation: I have two main tables: Guest (stores data such as GuestID, First Name, Last Name, etc.) and Services (stores data such as the type of service the guest used (Shelter Bed, Lunch, Dinner,...
7
6277
by: AccessHunter | last post by:
Hi, Please help with this problem. I have a report that displays a list of Case/Judge Records. using the following fields, Case Nbr, Case Seq Nbr, Judge Name, Attorney name 723187, 1 , Judge1 , Att1
4
3713
by: omnittha | last post by:
I would like to pull unique records of a SINGLE column but not the other related columns. When I use DISTINCT, it pulls up all the records which are unique across the columns. Here is the code.... SELECT distinct columnA,columnB,columnC FROM Table ORDER by columnA,columnB,columnC; What I would like to see, is Distinct records from column A, and not from other columns. But I would like to have the records from other columns to show up...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10386
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10133
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.