Well this doesn't appear to be working correctly because I'm getting some weird output and I'm having to correct some of the formula.
In your second formula:
Whileprintingrecords;
NumberVar total_days;
total_days := DateDiff("d", BeginDate, EndDate);
when I tried to save, I just get an error...
I will post details in a bit.
I would expect to see 22 for the first record because that's how many days it would have had the 'complaint opened' status:
6/3/2008 - 5/12/2008 = 22 days
I have this in CR2008:
Group1: Complaint Number
Group2: Status Date
Group3: Status
Details: Suppressed
I have Group 2 Name in the Group 3 header and the group 2 header is suppressed.
What I need is:
Complaint Number: 122
(status) (status date) (number of days in status)
Complaint Opened...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.