Passing Parameters
Hello,
Am using D7 and rbv7.03
I have the following code in my button OnClick event:
rbMyReport.Template.LoadFromFile;
rbMyReport.Parameters.Items['ppParameter1'].Value := 0;
rbMyReport.Print;
I want to test for the value of this parameter in the BeforePrint event of
the Detail Band of my report but cannot figure out how to do it. Can
someone help please or is there an example somewhere that I can study?
tia
Kevin
Am using D7 and rbv7.03
I have the following code in my button OnClick event:
rbMyReport.Template.LoadFromFile;
rbMyReport.Parameters.Items['ppParameter1'].Value := 0;
rbMyReport.Print;
I want to test for the value of this parameter in the BeforePrint event of
the Detail Band of my report but cannot figure out how to do it. Can
someone help please or is there an example somewhere that I can study?
tia
Kevin
This discussion has been closed.
Comments
Below is a good example of accessing Report Parameters from RAP. This
example accesses a boolean datatype but the general idea should be the same
in your case. Hope this helps.
http://www.digital-metaphors.com/tips/HideDetailWithParameters.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com