Good Morning Mr Rao, I made a test with oCN:InsertSQ() and it's also returning a wrong sentence. It's returning this: INSERT INTO `folha` ( `cemp`,`nfolha`,`cmat`,`cvandes`,`cvdorig`,`val_inf`, `val_calc` ,`total_inc`,`filial`,`clotacao`,`prazo`,`situacao` ) VALUES ...