Error in MyQuery
Posted: Mon 24 Jun 2013 18:00
Hi !
I have a error in MyQuery.
In MyQuery, i have the following SQL:
And i generate SQL.
After post the record, i need to refresh only the current record.
MyQuery RefreshOptions:
roAfterInsert: True
roAfterUpdate: True
And my Application says: "Refresh failed. 0 Records Found";
I need help.
Thanks!
I have a error in MyQuery.
In MyQuery, i have the following SQL:
Code: Select all
select sf.id, sf.funcao, sf.solicitante, sf.motivo, sf.autorizacao, c.cargo, f.nome, m.motivo as motivo_nome, sf.situacao, sf.data_solicitacao, sf.prioridade, sf.anotacoes, sf.data_autorizacao, fs.nome as autorizacao_nome
from solicitacao_funcionario sf
left join cargo c on c.codigo=sf.funcao
left join usuario u on u.funcionario=sf.solicitante
left join funcionario f on f.id=u.funcionario
left join motivo m on m.codigo=sf.motivo
left join usuario us on us.funcionario=sf.autorizacao
left join funcionario fs on fs.id=us.funcionario
where sf.funcao like :funcao
order by sf.id asc
After post the record, i need to refresh only the current record.
MyQuery RefreshOptions:
roAfterInsert: True
roAfterUpdate: True
And my Application says: "Refresh failed. 0 Records Found";
I need help.
Thanks!