thebigbadwolf
Programmer
Hello everyone!
I am using CR9 i could use some help on this one...
i have 2 subreports in the report footer section (a,b) and i would like to pass the formula from the main report's select expert to the select expert of the two subreports automatically.
I need it automatically because crystal reports is used from another program and when i filter some data (from this program) (ex. equipment_code=abcd) a statement is created on select expert-main report (ex. equipment_code:="abcd")
I have tried to create a formula like
shared stringvar filter_:=
(if not isnull(RecordSelection) then RecordSelection else "1=1")
and place it to the select expert in the subreports but this message appears telling me that "a boolean is required here" which is correct and incorrect at the same time if you get what i mean.
Is there a solution to this odd question?
ps.main report and subreports uses a common table which is not connected because CR appears only one line of the data, not the whole list.
I am using CR9 i could use some help on this one...
i have 2 subreports in the report footer section (a,b) and i would like to pass the formula from the main report's select expert to the select expert of the two subreports automatically.
I need it automatically because crystal reports is used from another program and when i filter some data (from this program) (ex. equipment_code=abcd) a statement is created on select expert-main report (ex. equipment_code:="abcd")
I have tried to create a formula like
shared stringvar filter_:=
(if not isnull(RecordSelection) then RecordSelection else "1=1")
and place it to the select expert in the subreports but this message appears telling me that "a boolean is required here" which is correct and incorrect at the same time if you get what i mean.
Is there a solution to this odd question?
ps.main report and subreports uses a common table which is not connected because CR appears only one line of the data, not the whole list.