Topic: As works Halcyon filters

Suffered all the day long but and it did not turn out to apply the filter to Halcyon
dtmodule. Table1.Filter: = ' (numb_calc = ' "+ dtmodule. Table2CODE.AsString + '") and (cod_dep = ' "+ dtmodule. Table3CODE.AsString + '") ';
Produces an error
Project1.exe raised exeption class EHalcyonExpression with message ' The two sides of an operation do not match'
With  component DBTable all works
What I here an error?