title: Get the result from the Query
body: <p>I write this code :</p>
  
  <pre><code>Var Q : TFDQuery;
  begin
  Q := TFDQuery.Create(Self);
  Q.Connection := FDConnection1;
  Q.Params.CreateParam(ftString,'N',ptOutput);// Try also ptResult
  Q.Params.CreateParam(ftInteger,'ID',ptInput);
  Q.SQL.Text := 'SELECT NOM FROM EMPLOYEE WHERE ID_EMP = :ID';
  Q.Params.ParamByName('ID').Value := 1;
  Q.Active := True;
  ShowMessage( VarToStr(Q.Params.ParamByName('N').Value) );
  </code></pre>
  
  <p>The result should be the name of the employer.</p>
  
  <p>I get an error :</p>
  
  <blockquote>
    <p>'N' parameter not found</p>
  </blockquote>
  
  <p>How can I get the result from the Query using the parameter?</p>
  
  <p>If I can't , what is the the function of :</p>
  
  <ul>
  <li><p>ptOutput</p></li>
  <li><p>ptResult</p></li>
  </ul>