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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Report Sum with Multiple Relationships



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2010, 05:40 PM posted to microsoft.public.access.reports
pstrigen
external usenet poster
 
Posts: 2
Default Report Sum with Multiple Relationships

I am trying to sum a field in a query on a report but the object table(1) in
the query has a many-to-one relationship with another object table(2). I am
trying to sum a value in the object table(1) but the query shows a line for
each multiple relationship from object table(2) thus duplicating those
values. How do you only include one value from each record from object
table(1) and report all records from object table(2)?
  #2  
Old January 7th, 2010, 07:56 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Report Sum with Multiple Relationships

What about posting sample data for what you put in words?
Post the SQL of the query.

--
Build a little, test a little.


"pstrigen" wrote:

I am trying to sum a field in a query on a report but the object table(1) in
the query has a many-to-one relationship with another object table(2). I am
trying to sum a value in the object table(1) but the query shows a line for
each multiple relationship from object table(2) thus duplicating those
values. How do you only include one value from each record from object
table(1) and report all records from object table(2)?

  #3  
Old January 8th, 2010, 06:20 PM posted to microsoft.public.access.reports
pstrigen
external usenet poster
 
Posts: 2
Default Report Sum with Multiple Relationships

I worked around the issue. I just created a sub-report to minimize the
duplication issue.

Thanks,
Peter

"KARL DEWEY" wrote:

What about posting sample data for what you put in words?
Post the SQL of the query.

--
Build a little, test a little.


"pstrigen" wrote:

I am trying to sum a field in a query on a report but the object table(1) in
the query has a many-to-one relationship with another object table(2). I am
trying to sum a value in the object table(1) but the query shows a line for
each multiple relationship from object table(2) thus duplicating those
values. How do you only include one value from each record from object
table(1) and report all records from object table(2)?

 




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:07 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.