Using Crystal Reports 9 - SQL 2000 Database...
I have several hundred "accounts" which contain a date, account# and amount. I have used the Select statement to break these accounts into groups as follows.
//{@MakeAcct}
Select {Account}
Case "1001", "1005", "1006":
"Supplies"
Case "1002", "2003":
"Salary"
40 different account groups are created using this Select formula. By using the Crystal Reports Insert - Group command with the formula @MakeAcct I end up with a report that has all the correct accounts from the created groups. In the detail section there is one field named famount. I use a summary to place a Total of the famount for each group and a Grand Total at the report footer. The Select Expert uses a date range for record selection. This report will be used as a subreport.
What I need to do is get/create a Shared Variable for each group Total (40 shared variables - 1 for each group total) that can be used on the Main Report for calculations (an income statement). The summary total does not work for this as it has the same name for all the groups.
Thanks in advance
Dave
I have several hundred "accounts" which contain a date, account# and amount. I have used the Select statement to break these accounts into groups as follows.
//{@MakeAcct}
Select {Account}
Case "1001", "1005", "1006":
"Supplies"
Case "1002", "2003":
"Salary"
40 different account groups are created using this Select formula. By using the Crystal Reports Insert - Group command with the formula @MakeAcct I end up with a report that has all the correct accounts from the created groups. In the detail section there is one field named famount. I use a summary to place a Total of the famount for each group and a Grand Total at the report footer. The Select Expert uses a date range for record selection. This report will be used as a subreport.
What I need to do is get/create a Shared Variable for each group Total (40 shared variables - 1 for each group total) that can be used on the Main Report for calculations (an income statement). The summary total does not work for this as it has the same name for all the groups.
Thanks in advance
Dave