Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Redundant Records Post Reply Post New Topic
Author Message
Sabrina
Newbie
Newbie
Avatar

Joined: 04 Feb 2010
Location: United States
Online Status: Offline
Posts: 4
Quote Sabrina Replybullet Topic: Redundant Records
    Posted: 24 Feb 2010 at 11:33am

I have to create a Budget report showing the ORIGINAL Budget Amounts” (Revision # 0001), the “Total of Budget Revisions” and then to “Revised Total Budget” for each task.

 

I used the following formula for the Original Budget Amount:

 

If {PJREVCAT.RevId} = "0001" then

{PJREVCAT.Amount}

Else 0

 

I have 2 problems:

 

1.     If  there are 3 tasks per Budget, it displays the 5 task amount in the Original Budget column comparing it to only one task amount for the other columns, i.e. I have now 9 (3*3) lines instead of 5 lines.

2.     If there are 2 budgets revisions (”0002”,”0003”), they also show up for each task displaying 0.

 

I am currently getting a result per job similar to this:

 

Task

Original Budget

Total of Budget Revisions

Revised Total Budget

000000

2000

500

2500

101101

100

2400

2500

101102

200

2300

2500

000000

2000

-1900

100

101101

100

0

100

101102

200

-100

100

000000

2000

-1700

300

101101

100

200

300

101102

200

100

300

000000

0

500

2500

101101

0

2400

2500

101102

0

2300

2500

000000

0

-1900

100

101101

0

0

100

101102

0

-100

100

000000

0

-1700

300

101101

0

200

300

101102

0

100

300

000000

0

500

2500

101101

0

2400

2500

101102

0

2300

2500

000000

0

-1900

100

101101

0

0

100

101102

0

-100

100

000000

0

-1700

300

101101

0

200

300

101102

0

100

300

 

I appreciate your help. 


Sabrina

 



Edited by Sabrina - 24 Feb 2010 at 11:33am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.