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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XI - problem to create report

Status
Not open for further replies.

campia

Technical User
Apr 20, 2007
77
BE
Hi,

I need to create a report that shows me the solved incidents:
same day
1day-5days
5days-10d
10-15
15-20
+20days

How can I create this kind of report, any idea?

Thanks in advance.
andré
 
Use a Select Case formula that returns the labels above. Then, group on or create a CrossTab using that formula.

Something like
Code:
Select Case DateDiff({incident_date}, currentdate)
Case 0: "Same Day"
Case is 1 to 5: "1day-5days"
...
- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
I use this formula:

Select Case DateDiff("d",{Object.Creation Date}, {Object.Solved Date})
Case 0
formula="Same Day"
Case 1 to 5
formula="1day-5days"
Case 5 to 10
formula="5days-10days"
Case 10 to 15
formula="10days-15days"
Case 15 to 20
formula="15days-20days"
Case Else
formula="over 20days"
End select

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top