
September 2nd, 2006, 09:35 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 2
Time spent in forums: 3 m 6 sec
Reputation Power: 0
|
|
|
Cystal Reports Help
I am a complete noob with crystal reports and am in real trouble with monthly billing, so any help would be greatly appreciated.
our billing period is from 7/31 - 8/30, and the reports are run on 8/31. We found a bunch of mistakes and had them fixed but now I need to be able to rerun
the report for that time period today. All my time formulas are below, please help.
Report Date
"For the Month of " & ToText(CurrentDate - 15, "MMMM") & " " & ToText(CurrentDate - 365, "yyyy") & " & " & ToText(CurrentDate - 25, "yyyy")
Current Year
If {orders.DATE} in Maximum(LastFullMonth) to CurrentDate - 1 then 1
Previous Year
If {orders.DATE} in Maximum(LastFullMonth) - 365 to CurrentDate - 366 then 1
|