Thanks for listening. I'm using CR 8.5.
I have a report which is set up to print information for one department based on the parameter it is passed. The report should show the department name and department number in the page header. In the detail it should show all 10 digit account numbers and subtotal them, then show all 4 digit account numbers and subtotal them and then show a grand total. THe problem is that sometimes there are no 10 digit accounts but there are 4 digit accounts for a department. In this case, Crystal will not show the department name or any 4 digit accounts even though they exist. What am I doing wrong here?
Here is my selection formula in the MAIN report:
Length({AccountSheets.Account}) <> 4 and
{Departments.Number} = {?DepartmentNumber}and
{BudgetAccounts.AcctType} = "I"
Here is my selection formula in the SUB report:
Length({AccountSheets.Account}) = 4 and
{Departments.Number} = {?Pm-Departments.Number} and
{BudgetAccounts.AcctType} = "I"
Here are the shared variables I am using which are declared in the header of my SUB report:
Shared StringVar account := {BudgetAccounts.Account};
Shared StringVar description := {AccountSheets.Description};
" "
I have a report which is set up to print information for one department based on the parameter it is passed. The report should show the department name and department number in the page header. In the detail it should show all 10 digit account numbers and subtotal them, then show all 4 digit account numbers and subtotal them and then show a grand total. THe problem is that sometimes there are no 10 digit accounts but there are 4 digit accounts for a department. In this case, Crystal will not show the department name or any 4 digit accounts even though they exist. What am I doing wrong here?
Here is my selection formula in the MAIN report:
Length({AccountSheets.Account}) <> 4 and
{Departments.Number} = {?DepartmentNumber}and
{BudgetAccounts.AcctType} = "I"
Here is my selection formula in the SUB report:
Length({AccountSheets.Account}) = 4 and
{Departments.Number} = {?Pm-Departments.Number} and
{BudgetAccounts.AcctType} = "I"
Here are the shared variables I am using which are declared in the header of my SUB report:
Shared StringVar account := {BudgetAccounts.Account};
Shared StringVar description := {AccountSheets.Description};
" "