de hecho ya lo intente asi
Código Delphi
[-]
if (cxComboBox1.Text='Mes')and (cxComboBox2.ItemIndex <>'') then
Q_PerNomina.AddWhere('MES='+QuotedStr(cxComboBox2.EditValue));
y me marca error no me deja correrlo
me marca
incopatibles type 'String' and 'Integer'