SBendBuckeye
Programmer
Crystal 8.5
Groups from Highest (Outer) to Lowest (Inner)
Group1 - Division
Group2 - Region
Group3 - LeaseHeader
Group4 - LeaseDetail
Detail is suppressed, everything prints in LeaseHeder footer. We have 2 kinds of leases, operating and finance. I have defined a RunningTotal variable AccDep which accumulates LeaseDetail information and resets on change of Group3.
For a finance lease NetVal is a calculation involving fields contained in the LeaseHeader record. An operating lease has a NetVal equal to a LeaseHeader field minus the accumulated depreciation (#AccDep) as follows:
NetVal formula field definition
If FinanceLease Then
LeaseHeader.Field1 + LeaseHeader.Field2, etc
Else
LeaseHeader.Field - #AccDep
Everything prints properly in the LeaseHeader footer and NetVal is correctly calculating for both lease types.
The problem I am having is that I cannot create another RunningTotal field. @NetVal does not show up in the list of selectable report items. If I try to do it with a formula field then I get an error that says it can not be created which I believe pertains to the fact @NetVal already has a running total field in it.
Here is what I would like to do:
RunningTotal for RegionNetVal definition
Sum @NetVal
Evaluate at change of Group3 (LeaseHeader)
Reset on change of Group2 (Region)
Any ideas and/or suggestions would be much appreciated!
Have a great day!
j2consulting@yahoo.com
Groups from Highest (Outer) to Lowest (Inner)
Group1 - Division
Group2 - Region
Group3 - LeaseHeader
Group4 - LeaseDetail
Detail is suppressed, everything prints in LeaseHeder footer. We have 2 kinds of leases, operating and finance. I have defined a RunningTotal variable AccDep which accumulates LeaseDetail information and resets on change of Group3.
For a finance lease NetVal is a calculation involving fields contained in the LeaseHeader record. An operating lease has a NetVal equal to a LeaseHeader field minus the accumulated depreciation (#AccDep) as follows:
NetVal formula field definition
If FinanceLease Then
LeaseHeader.Field1 + LeaseHeader.Field2, etc
Else
LeaseHeader.Field - #AccDep
Everything prints properly in the LeaseHeader footer and NetVal is correctly calculating for both lease types.
The problem I am having is that I cannot create another RunningTotal field. @NetVal does not show up in the list of selectable report items. If I try to do it with a formula field then I get an error that says it can not be created which I believe pertains to the fact @NetVal already has a running total field in it.
Here is what I would like to do:
RunningTotal for RegionNetVal definition
Sum @NetVal
Evaluate at change of Group3 (LeaseHeader)
Reset on change of Group2 (Region)
Any ideas and/or suggestions would be much appreciated!
Have a great day!
j2consulting@yahoo.com