Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Mysql Table Post Data

Hi.

I have a small application to process invoices.

I create the invoice, but when a change the values the invoice table still have the last value.

I have tried to commit data, but the table still have the firts values.

What are the problem???

I use D7, Mysql 5, ZeosLib.

Code:


zroqCalc.Close;
zroqCalc.Sql.Clear;
zroqCalc.Sql.Add(SQL STATEMENT );
zroqCalc.Open;
ztDocumentos.edit;
ztDocumentosdesconto.Value := zroqCalcsumvdesconto.Value;
ztDocumentosTotalIva.Value := zroqCalcsumviva.Value;
ztDocumentosTotaliLiquido.Value := zroqCalcsumPIliquido.Value;
ztDocumentosTotalDoc.Value := zroqCalcsumPIliquido.Value - zroqCalcsumvdesconto.Value + zroqCalcsumviva.Value;
ztDocumentos.Post;

Thank's in advance
Sign In or Register to comment.