title: How to avoid "Type mismatch in expression" in ClientDataSet Filter
body: <p>The erro msg "Type mismatch in expression" appear when I run this code:    </p>
  
  <pre><code>CDSIndicados.Filtered := False;
  CDSIndicados.Filter   := 'EDICOES_ID like ' + QuotedStr(IntToStr(Integer(cxComboBox1.Properties.Items.Objects[cxComboBox1.ItemIndex])));
  CDSIndicados.Filtered := True;
  </code></pre>
  
  <p>I know this message may appear when there is an error in the data type of the field. But I could not fix. Was that it?</p>