Hi,
I am using
this.chkComplianceStatus.Text = "{Fields.COMPLIANCE_STATUS_CODE} - {Fields.COMPLIANCE_STATUS_DESC}";
this.chkComplianceStatus.Value = "= IIf(Fields.RANK_NUM = Parameters.al_rank_num.Value,True,False)";
for the checkbox to be checked.But the checkbox is not getting checked, the above expression is always returning false
FalseValue = "= False";
TrueValue = "= True";
Fields.RANK_NUM is of type Number
Parameters.al_rank_num is of type integer
I also tried this.chkComplianceStatus.Value = "= IIf(Fields.RANK_NUM.ToString() = Parameters.al_rank_num.Value.ToString(),True,False" +
")"; to make sure bothe types are same so that it will return true, still this is returning false. Can i convert integer type to string this way in the expression itself?
I don't know where i am going wrong.Please let me know
Thanks in advance
Gopinath
I am using
this.chkComplianceStatus.Text = "{Fields.COMPLIANCE_STATUS_CODE} - {Fields.COMPLIANCE_STATUS_DESC}";
this.chkComplianceStatus.Value = "= IIf(Fields.RANK_NUM = Parameters.al_rank_num.Value,True,False)";
for the checkbox to be checked.But the checkbox is not getting checked, the above expression is always returning false
FalseValue = "= False";
TrueValue = "= True";
Fields.RANK_NUM is of type Number
Parameters.al_rank_num is of type integer
I also tried this.chkComplianceStatus.Value = "= IIf(Fields.RANK_NUM.ToString() = Parameters.al_rank_num.Value.ToString(),True,False" +
")"; to make sure bothe types are same so that it will return true, still this is returning false. Can i convert integer type to string this way in the expression itself?
I don't know where i am going wrong.Please let me know
Thanks in advance
Gopinath