Hi,
I have to make visible or not some objects depending on the value of a boolean parameter.
I do not understand how to set the print_if properties of this objects.
If it's possible, please show me some examples,
thanks.
SELECT $P(pShow) as fShow FROM table1
...
MyProject.MakeNewReport( ReportName, DBFile, "SELECT * FROM TableXXX "
...
if ShowPicture1 = True Then
mVReport.SetParameterValue( "ShowPic1", True)
else
mVReport.SetParameterValue( "ShowPic1", False )
end if
if ShowPicture2 = True Then
mVReport.SetParameterValue( "ShowPic2", True)
else
mVReport.SetParameterValue( "ShowPic2", False )
end if
...
$P(ShowPic1)= "true"
mVReport.SetParameterValue( "ShowPic1", "true" )
And you have declared ShowPic1 as a Boolean on the Parameters tab on the left in the design mode of the Report Editor, right?