A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Duplicate Data in Report



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2009, 02:05 PM posted to microsoft.public.access.gettingstarted
Alex123
external usenet poster
 
Posts: 3
Default Duplicate Data in Report

Hello,

I'm running a report based on a query that is based on three tables, PO,
list of products in stock, SO.
The three tables are related by product number.
I wanted to see stock status, any open PO and any open SO by product in stock.
So I created a query as such PO - Prod in stk - SO

I run the corresponding report, group it by product and this is what I get:

Prod1
PO1 SO1
PO1 SO2
PO2 SO1
PO2 SO2

So I get double data. Iif I consolidate by PO I get the following:
Prod1
PO1
SO1
SO2
PO2
SO1
SO2

-- I don't want the SO data to repeat itself. This is what I'm looking for:
Prod1
PO1 SO1
PO2 SO2
or
Prod1
PO1
SO1
SO2
PO2

Can you let me know how I can do this ?

Thanks,
Alex

  #2  
Old June 23rd, 2009, 02:17 PM posted to microsoft.public.access.gettingstarted
Fred
external usenet poster
 
Posts: 1,451
Default Duplicate Data in Report

Alex,

From the way it looks, you are trying to list data of fundamentally
different natures and relationships in groups in reports. IMHO this is very
unusual and will require a very complicate unusual solution. Are you sure
you don't want to go the more typical route....2 reports: Products with PO's
under them, and then products with SO's under them?
  #3  
Old June 23rd, 2009, 02:32 PM posted to microsoft.public.access.gettingstarted
Alex123
external usenet poster
 
Posts: 3
Default Duplicate Data in Report

Hello Fred,

This is exactly what we're trying to walk away from. The goal was to combine
the two reports you describe into one so our mgmt can see the information
quickly.

Even though the data PO and SO are in two unrelated tables, listing them
next to each other would not be contradictory from a business standpoint.

If you know how to do this, I'll be more than happy to know.

Thanks,
Alex

"Fred" wrote:

Alex,

From the way it looks, you are trying to list data of fundamentally
different natures and relationships in groups in reports. IMHO this is very
unusual and will require a very complicate unusual solution. Are you sure
you don't want to go the more typical route....2 reports: Products with PO's
under them, and then products with SO's under them?

  #4  
Old June 23rd, 2009, 05:25 PM posted to microsoft.public.access.gettingstarted
Damon Heron[_3_]
external usenet poster
 
Posts: 257
Default Duplicate Data in Report

have you considered the use of subreports? That is one way of combining two
sets of data with one relationship -Products.

Damon

"Alex123" wrote in message
...
Hello Fred,

This is exactly what we're trying to walk away from. The goal was to
combine
the two reports you describe into one so our mgmt can see the information
quickly.

Even though the data PO and SO are in two unrelated tables, listing them
next to each other would not be contradictory from a business standpoint.

If you know how to do this, I'll be more than happy to know.

Thanks,
Alex

"Fred" wrote:

Alex,

From the way it looks, you are trying to list data of fundamentally
different natures and relationships in groups in reports. IMHO this is
very
unusual and will require a very complicate unusual solution. Are you
sure
you don't want to go the more typical route....2 reports: Products with
PO's
under them, and then products with SO's under them?



  #5  
Old June 23rd, 2009, 05:43 PM posted to microsoft.public.access.gettingstarted
Dale_Fye via AccessMonster.com
external usenet poster
 
Posts: 128
Default Duplicate Data in Report

How about creating the main report, which just has your Prod in Stk info.

Then, have two subreports sub_PO and sub_SO, where you place these subs in
the details section of your main report. They should be linked (master/child)
to the main report on the product number field. This would look something
like:

Product 1
PO1
PO2
SO1
SO2

HTH
Dale

Alex123 wrote:
Hello,

I'm running a report based on a query that is based on three tables, PO,
list of products in stock, SO.
The three tables are related by product number.
I wanted to see stock status, any open PO and any open SO by product in stock.
So I created a query as such PO - Prod in stk - SO

I run the corresponding report, group it by product and this is what I get:

Prod1
PO1 SO1
PO1 SO2
PO2 SO1
PO2 SO2

So I get double data. Iif I consolidate by PO I get the following:
Prod1
PO1
SO1
SO2
PO2
SO1
SO2

-- I don't want the SO data to repeat itself. This is what I'm looking for:
Prod1
PO1 SO1
PO2 SO2
or
Prod1
PO1
SO1
SO2
PO2

Can you let me know how I can do this ?

Thanks,
Alex


--
HTH

Dale Fye

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...arted/200906/1

  #6  
Old June 23rd, 2009, 09:30 PM posted to microsoft.public.access.gettingstarted
Alex123
external usenet poster
 
Posts: 3
Default Duplicate Data in Report

The subreports work great.
Thanks Everyone!
Alex


"Dale_Fye via AccessMonster.com" wrote:

How about creating the main report, which just has your Prod in Stk info.

Then, have two subreports sub_PO and sub_SO, where you place these subs in
the details section of your main report. They should be linked (master/child)
to the main report on the product number field. This would look something
like:

Product 1
PO1
PO2
SO1
SO2

HTH
Dale

Alex123 wrote:
Hello,

I'm running a report based on a query that is based on three tables, PO,
list of products in stock, SO.
The three tables are related by product number.
I wanted to see stock status, any open PO and any open SO by product in stock.
So I created a query as such PO - Prod in stk - SO

I run the corresponding report, group it by product and this is what I get:

Prod1
PO1 SO1
PO1 SO2
PO2 SO1
PO2 SO2

So I get double data. Iif I consolidate by PO I get the following:
Prod1
PO1
SO1
SO2
PO2
SO1
SO2

-- I don't want the SO data to repeat itself. This is what I'm looking for:
Prod1
PO1 SO1
PO2 SO2
or
Prod1
PO1
SO1
SO2
PO2

Can you let me know how I can do this ?

Thanks,
Alex


--
HTH

Dale Fye

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...arted/200906/1


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.