you mean something like this :
If Length(st) 0 Then Begin
SQLQuery1.SQL.Text := st;
End
Else Begin
exit;
End;
Try
SQLQuery1.Open;
Except
On e: Exception Do Begin
ShowMessage('Fehler ungültige Eingabe.'#13'Fehlermeldung:'#13 +
e.Message);
exit;
End;
After executing a query, is there a way to test if there were any
errors?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
On 29.07.2015 12:37 carra, Aradeonas wrote:
Ok.Now I want to work on file sync part and for that I need to choose a
library.Indy,Synapse or ... .
What you guys prefer in this case?Synapse is easy to use and I like it
but Indy seems larger and more powerful but I didn't work with it.
For this
Thank you very much for sharing.
Ara
--
http://www.fastmail.com - Access all of your messages and folders
wherever you are
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org