MySQL Forums
Forum List  »  Delphi

error sintax
Posted by: mauro rr
Date: May 17, 2011 06:51PM

'you have an error in your SQL sintax. Check the manual that corresponds to your mysql server version for the right sintax to use near "at line '.

When eqsaldo=0 (zero) I receive this message on my code (Delphi 7):

tabelas.THist.Open;
tabelas.THist.Insert;
tabelas.THistsaldoqtd.Value := eqsaldo;
tabelas.Thist.Post;
tabelas.Thist.Close;

"Thist" is a table, not query (SQL). The field "saldoqtd" is type int.
When eqsaldo > 0 (zero) the post is correct.
How solve this ?
Tks

Options: ReplyQuote


Subject
Written By
Posted
error sintax
May 17, 2011 06:51PM
May 17, 2011 07:40PM
May 17, 2011 08:21PM
May 18, 2011 09:32AM
May 18, 2011 03:28PM
May 18, 2011 09:54AM
May 18, 2011 01:31PM
May 18, 2011 04:13PM
May 18, 2011 05:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.