<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><blockquote><div><pre class="u-article" style="color: rgb(31, 31, 31); font-family: menlo, consolas, monospace; font-stretch: inherit; white-space: pre-wrap; word-wrap: break-word; position: relative;">And the detExecute log DOES show the SQL with parameters replaced (as I imagined).</pre></div>
</blockquote><div>What version?I used last stable 1.4 release and test this code :<br></div>
<blockquote><div>procedure TForm1.SQLConnector1Log(Sender: TSQLConnection;EventType: TDBEventType; const Msg: String);<br></div>
<div>begin<br></div>
<div>ShowMessage(Msg);<br></div>
<div>end;<br></div>
<div> </div>
<div> </div>
<div>procedure TForm1.Button1Click(Sender: TObject);<br></div>
<div>begin<br></div>
<div>  SQLConnector1.LogEvents:=[detExecute];<br></div>
<div>  SQLConnector1.Connected:=True;<br></div>
<div>  SQLQuery1.SQL.Text:='INSERT INTO test(id,name) VALUE(:id,:name);';<br></div>
<div>  SQLQuery1.ParamByName('id').AsInteger:=1;<br></div>
<div>  SQLQuery1.ParamByName('name').AsString:='AABBCC';<br></div>
<div>  SQLQuery1.ExecSQL;<br></div>
<div> </div>
<div>end;     <br></div>
<div> </div>
</blockquote><div> </div>
<div>ShowMessage just show :<br></div>
<blockquote><div>TQuerySQLStatement : INSERT INTO test(id,name) VALUE(:id,:name);<br></div>
</blockquote><div> </div>
<div>Am I doing something wrong? :/<br></div>
<div> </div>
<div>Ara<br></div>
<div> </div>
<div> </div>
<pre>
-- 
http://www.fastmail.com - A no graphics, no pop-ups email service
</pre>
</body>
</html>