Hello everybody, I got an issue where I have a report where the following parameter is being actually throwing off a error message.
<div>This happened after another error before where the error said: </div> <div>
The value provided for the report parameter 'CT4_QT1_EID1011_PropertyStatusID_EQ' is not valid for its type.
<div>
Which had the parameter as:</div> <div>
<ReportParameter Name="CT4_QT1_EID1011_PropertyStatusID_EQ">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<DefaultValue>
<Values>
<Value>=19</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>Status</Prompt>
</ReportParameter>
</div> </div> <div>Note: This only happens when selecting one of the four options,but selecting the other three, it works and runs great.</div> <div>Why is this only showing for this option?</div> <div>--------------------------------------------------------------</div><div></div> <div>When changing the <DataType> to String, the error below happens only when selecting the same option of four, but when selecting the other three, it runs great and displays data.</div>
Conversion failed when converting the varchar value '19,20,101' to data type int.
<div>
Now the following is the parameter itself is defined in the database as: PropertyStatusID(int, not null)</div> <div></div> <div></div>