أستخدمت هذا الكود
كود :
If CheckBox1.Checked = True Then
report.SetParameterValue(0, "* " + CheckBox1.Text)
Else
report.SetParameterValue(0, Nothing)
If CheckBox2.Checked = True Then
report.SetParameterValue(1, "* " + CheckBox2.Text)
Else
report.SetParameterValue(1, Nothing)
If CheckBox3.Checked = True Then
report.SetParameterValue(3, "* " + CheckBox3.Text)
Else
report.SetParameterValue(3, Nothing)
End If
End If
End If