I am designing a report that shows rental charges for any given month. The effective charge date of the charges should always be less than or equal to the effective date entered under the parameter by the user.
The table is PML_LEASE__LEASE_RECURRING_CHG_LOG
This table contains the record "Charge_Type"
This table also contains the record "effective charge date"
This table also contains the record "amount" associated with a particular charge type and effective date
for e.g. if we have two charge types Rent & Parking
Rent
Effective date: 01/01/2013 $1,000
11/01/2013 $1,500
01/01/2014 $1,700
Parking
Effective date: 01/01/2013 $20
10/01/2013 $50
12/01/2013 $80
Right now i have the following:
Record Selection formula.
{PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date} <= {?Effective Date}
Group Selection formula.
{PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date}=maximum({PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date},{PML_LEASE__LEASE_RECURRING_CHG_LOG.Charge_Type})
How can i design the select formula to print a charge which has a date of 11/01/2013 and also print the parking charge that fall in that date range? I want to group the report by leases and then by charge type. Will it still work?
Cheers
The table is PML_LEASE__LEASE_RECURRING_CHG_LOG
This table contains the record "Charge_Type"
This table also contains the record "effective charge date"
This table also contains the record "amount" associated with a particular charge type and effective date
for e.g. if we have two charge types Rent & Parking
Rent
Effective date: 01/01/2013 $1,000
11/01/2013 $1,500
01/01/2014 $1,700
Parking
Effective date: 01/01/2013 $20
10/01/2013 $50
12/01/2013 $80
Right now i have the following:
Record Selection formula.
{PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date} <= {?Effective Date}
Group Selection formula.
{PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date}=maximum({PML_LEASE__LEASE_RECURRING_CHG_LOG.Effective_Date},{PML_LEASE__LEASE_RECURRING_CHG_LOG.Charge_Type})
How can i design the select formula to print a charge which has a date of 11/01/2013 and also print the parking charge that fall in that date range? I want to group the report by leases and then by charge type. Will it still work?
Cheers