Hello
I have a query that obtains it's data from 3 tables. The output looks like:
club name, persons name, team type, team number
so with data:
GPBC, Tom, mixed, 1
GPBC, Tom, mens, 2
there is a record for each person and each team they play for. So there can
be several records for 1 person if they play in more than 1 team.
I would like to create report with a line for each person which includes all
the teams that they play for, like:
club name, persons name, team type, team number, team type, team number etc
so with data:
GPBC, Tom, mixed, 1, mens, 2
Hope that makes sense, I have tried to do this but failed, can you help
please.
Tom 4 1205
In message <ch**********@blackmamba.itd.rl.ac.uk>, Tom Weston
<t.********@dl.ac.uk> writes there is a record for each person and each team they play for. So there can be several records for 1 person if they play in more than 1 team. I would like to create report with a line for each person which includes all the teams that they play for, like: club name, persons name, team type, team number, team type, team number etc
so with data: GPBC, Tom, mixed, 1, mens, 2
Hope that makes sense, I have tried to do this but failed, can you help please.
Can you clarify what tables you have and the relationships between them?
--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.
In message <ch**********@blackmamba.itd.rl.ac.uk>, Tom Weston
<t.********@dl.ac.uk> writes Hello I have a query that obtains it's data from 3 tables. The output looks like: club name, persons name, team type, team number
so with data: GPBC, Tom, mixed, 1 GPBC, Tom, mens, 2
there is a record for each person and each team they play for. So there can be several records for 1 person if they play in more than 1 team. I would like to create report with a line for each person which includes all the teams that they play for, like: club name, persons name, team type, team number, team type, team number etc
so with data: GPBC, Tom, mixed, 1, mens, 2
Hope that makes sense, I have tried to do this but failed, can you help please.
I got a copy of the document you sent me by email. Generally I prefer to
see stuff posted to the newsgroup so that everyone can see it.
Have you investigated the crosstab query wizard. If so, what problems
did you have with it?
--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.
Bernard
The cross tab query does just what I want. Thanks for all your help.
Tom
"Bernard Peek" <ba*@shrdlu.com> wrote in message
news:Zp**************@shrdlu.com... In message <ch**********@blackmamba.itd.rl.ac.uk>, Tom Weston <t.********@dl.ac.uk> writesHello I have a query that obtains it's data from 3 tables. The output looks
like:club name, persons name, team type, team number
so with data: GPBC, Tom, mixed, 1 GPBC, Tom, mens, 2
there is a record for each person and each team they play for. So there
canbe several records for 1 person if they play in more than 1 team. I would like to create report with a line for each person which includes
allthe teams that they play for, like: club name, persons name, team type, team number, team type, team number
etc so with data: GPBC, Tom, mixed, 1, mens, 2
Hope that makes sense, I have tried to do this but failed, can you help please.
I got a copy of the document you sent me by email. Generally I prefer to see stuff posted to the newsgroup so that everyone can see it.
Have you investigated the crosstab query wizard. If so, what problems did you have with it? -- Bernard Peek London, UK. DBA, Manager, Trainer & Author. Will work for money. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Steve Jorgensen |
last post by:
Hi all,
I'm working on the schema for a database that must represent data about stock
& bond funds over time. My connundrum is that, for any of several dimension
fields, including the fund name...
|
by: mark |
last post by:
Access2000
How do I write a query that combines the CTC field from each record below into
one record? I need to concatenate the CTC field with a separator, like below:
...
|
by: snOOp |
last post by:
I am trying to combine the data from two similar tables into one
query, but I need for all of the records from both tables to show up
and I want the ones that have matching 'emplid' to be combined...
|
by: BeanCounterCPA |
last post by:
I have a database that has multiple records for a single individual.
For example, for a database that has the following fields for each
loan.
Member Loan Int
# # Rate Balance...
|
by: jhutchings |
last post by:
Hello everyone,
I have a database where I collect shipment data from various tables.
However, I have a problem. Whenever I want to see shipping data for
orders that were set to ship on or before...
|
by: musicloverlch |
last post by:
I have a table with multiple records in it. I am being forced to
combine multiple records into one record in order to be uploaded to a
website, and I only get one record per client. How can I...
|
by: rdraider |
last post by:
Hi all,
We have an app that uses SQL 2000. I am trying to track when a code field
(selcode) is changed on an order which then causes a status field (status)
to change. I tried a trigger but...
|
by: MackTheKnife |
last post by:
I have the following 3 SQL statements that need to be combined, if
possible. The output of one feeds the input of the next. I need to view
all of the defined output fields (the output needs to be...
|
by: bluereign |
last post by:
Thank you for your assistance. I am a novice looking to JOIN and append or combine records from 2 current Tables into 2 new Tables named below. I have been able to JOIN Tables with the script...
|
by: 6afraidbecause789 |
last post by:
Hi - I'm trying to make a Where statement but can't. I''ve put
multiple yes/no fields in a listbox as a field list according Don
Leverton's comments in the thread "query by field heading options"...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |