My report consist of a Main report and a subreport. I am trying to get a list of cases where their is a victim on the case, but no Restitution assessment exists for the Defendant.
Subreport - I have pulled a Case list where Defendant has been assessed Restitution ( Recievable type: "R"). 6 Group created: (court,location,case_type,case_number,Party,ID)
Case number, Party/ID, Rec_type: R, $##.##
Shared variable: shared stringvar v_true := totext(if isnull(case_number) or (case_number) = "" then true else false)
--Variable was placed on last group (ID)
Main report:I have pulled a Case list where there is a Victim record existing.
Case number, PartyName, Party type: V
Variables from subreport defined in main report and placed in group 6 (ID) :
shared stringvar v_true ; v_true
When linking subreport to Main Report - subreport results displays a blank subreport box for cases with no Restitution assessments and subreport box with data where the case has assessments.
I would like to only see those cases that have blank subreport box.
When I try creating a group selection
{@v_true} = true
I get an error message "A string is required here".
When I try {@v_true} = totext(true)
I get "This formula cannot be used because it must be evaluated later".
Can anyone help?
Subreport - I have pulled a Case list where Defendant has been assessed Restitution ( Recievable type: "R"). 6 Group created: (court,location,case_type,case_number,Party,ID)
Case number, Party/ID, Rec_type: R, $##.##
Shared variable: shared stringvar v_true := totext(if isnull(case_number) or (case_number) = "" then true else false)
--Variable was placed on last group (ID)
Main report:I have pulled a Case list where there is a Victim record existing.
Case number, PartyName, Party type: V
Variables from subreport defined in main report and placed in group 6 (ID) :
shared stringvar v_true ; v_true
When linking subreport to Main Report - subreport results displays a blank subreport box for cases with no Restitution assessments and subreport box with data where the case has assessments.
I would like to only see those cases that have blank subreport box.
When I try creating a group selection
{@v_true} = true
I get an error message "A string is required here".
When I try {@v_true} = totext(true)
I get "This formula cannot be used because it must be evaluated later".
Can anyone help?