Rodrigo Mendes
Member
My query return one row, but the method RowsProcessed not return count.
orclqryOrigem.Close;
orclqryOrigem.SetVariable('codigo', orcldtstFuncApoioORIGEM.AsString);
orclqryOrigem.Execute;
if orclqryOrigem.RowsProcessed > 0 then
orcldtstFuncApoioORIGEM_CALC.Value := orclqryOrigem.Field('descricao');
orclqryOrigem.Close;
orclqryOrigem.SetVariable('codigo', orcldtstFuncApoioORIGEM.AsString);
orclqryOrigem.Execute;
if orclqryOrigem.RowsProcessed > 0 then
orcldtstFuncApoioORIGEM_CALC.Value := orclqryOrigem.Field('descricao');