The client need a report to show the calculation for each quarter based on the user defined time periods ("From" and "To" date parameters). The "From" and "To" date parameters are ranged among 3 different date fields. If the parameter is put from 01/01/2003 to 06/30/2003, the report should show all the calculations broken down by each Quarter. And, the Q1 and Q2 should be shown for each group.
Here is defined in the record selection formula:
{table.datefield1} in {FromDate?} to {ToDate} and
{table.datefield2} in {FromDate?} to {ToDate} and
{table.datefield3} in {FromDate?} to {ToDate} and
I tried to do the group by {FromDate} parameter. But, it seems that Crystal report doesn't allow it. When I click on the "Insert group" option, I don't see any parameters on the list. Then, I tried to put the parameter {FromDate} inside a formula and grouped off that formula, but I can't see it either on the list. Is this a limitation?
The format is kind like a cross tab:
Q1 2003 Q2 2003
================== ============
Locations | Totals Totals
------------------ ------------
Loc 1 | 15 16
Loc 2 | 13 19
Loc 3 | 40 35
Loc 4 | 12 20
If the parameter is put from 01/01/2003 to 06/30/2003, the report should show all the calculations broken down by each Quarter. And, the Q1 and Q2 should be shown for each group.
Is this something that can be done?
Any help is greatly appreciated.
manlia
Here is defined in the record selection formula:
{table.datefield1} in {FromDate?} to {ToDate} and
{table.datefield2} in {FromDate?} to {ToDate} and
{table.datefield3} in {FromDate?} to {ToDate} and
I tried to do the group by {FromDate} parameter. But, it seems that Crystal report doesn't allow it. When I click on the "Insert group" option, I don't see any parameters on the list. Then, I tried to put the parameter {FromDate} inside a formula and grouped off that formula, but I can't see it either on the list. Is this a limitation?
The format is kind like a cross tab:
Q1 2003 Q2 2003
================== ============
Locations | Totals Totals
------------------ ------------
Loc 1 | 15 16
Loc 2 | 13 19
Loc 3 | 40 35
Loc 4 | 12 20
If the parameter is put from 01/01/2003 to 06/30/2003, the report should show all the calculations broken down by each Quarter. And, the Q1 and Q2 should be shown for each group.
Is this something that can be done?
Any help is greatly appreciated.
manlia