Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incorrect Totals due to database relationship

Status
Not open for further replies.

IceRuby

Technical User
Jan 20, 2004
85
AU
Hi there
I am using Crystal Reports Version 9.0.
My report in the majority has a one to many relationship however in rare instances the table which typically has the many relationships only has the one and the table normally only holding one has many. Any ideas of solving this issue would be great (!!) but first problem firs, the some totals are correct and some are incorrect.
e.g
Group #1 - Work Order no.
Group #2 - Resource No.
Total Allocated Hrs Total Hrs worked
#38 12.00 5.00
#52 19.00 26.00

I tried using a running total to sum hours, evaluate on change of resource no. and reset on change on group but am still getting incorrect values. (even worse than if I just use summary values) Main issue is duplicates where more than records on on side than the other.

Thanks for your help in advance.



 
Please provide a sample of detail level data so we can see how the running totals need to be set up.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top