Hello
I use CR9 on a Windows XP computer connecting to an Access XP database via ODBC DSN.
I have two issues to request assistance on with regards to passing parameters to a subreport.
The first issue involves the use of a parameter where one of the entries is ALL. For example, I have a parameter called Programs that includes ALL so that the main report selection would be ({?ProgramParam} = "ALL" or {Programs} = {?ProgramParam}). I know that when linking another field (without ALL) from subreport to main report the record selection formula would be {Programs} = (?Pm-?ProgramParam) but how to include if the user selects "ALL"?
The second question involves passing a boolean parameter to a subreport. For instance I have the parameter fields of ?CMG and ?MRP in parameter group 2 and a formula for the data element indicating:
If {?CMG} then {@CMGName) else
If (?MRP} then (@MRPName)
Again, the same header and formula is in the subreport so how can I pass this parameter or is it even possible?
All assistance greatly appreciated!
Shelby
I use CR9 on a Windows XP computer connecting to an Access XP database via ODBC DSN.
I have two issues to request assistance on with regards to passing parameters to a subreport.
The first issue involves the use of a parameter where one of the entries is ALL. For example, I have a parameter called Programs that includes ALL so that the main report selection would be ({?ProgramParam} = "ALL" or {Programs} = {?ProgramParam}). I know that when linking another field (without ALL) from subreport to main report the record selection formula would be {Programs} = (?Pm-?ProgramParam) but how to include if the user selects "ALL"?
The second question involves passing a boolean parameter to a subreport. For instance I have the parameter fields of ?CMG and ?MRP in parameter group 2 and a formula for the data element indicating:
If {?CMG} then {@CMGName) else
If (?MRP} then (@MRPName)
Again, the same header and formula is in the subreport so how can I pass this parameter or is it even possible?
All assistance greatly appreciated!
Shelby