title: Multiple-step operation generated errors. Check each status value
body: <p>Need some help for this error message that appears on delphi 7
  First, i will describe some script:
  On mySQL procedure script:</p>
  
  <pre><code>CREATE PROCEDURE ActualStok()
  
  NOT DETERMINISTIC
  CONTAINS SQL
  SQL SECURITY DEFINER
  COMMENT ''
  
  BEGIN
  
   SELECT B.KD_BRG, B.NAMA_BRG, B.UKURAN, B.SATUAN,
   (B.JUMLAH_BRG-(SELECT IFNULL(SUM(D.JUMLAH_PAKAI_BRG),0)
                      FROM DETAIL_PAKAI_BRG D
   WHERE (D.STATUS_AMBIL='0') AND (D.KD_BRG=B.KD_BRG) AND (D.UKURAN=B.UKURAN)
                                                      AND (D.SATUAN=B.SATUAN))),
   B.KETERANGAN_BRG
   FROM BARANG B;
  END;
  </code></pre>
  
  <p>Then i check that procedure --> CALL ActualStok();
  And it's work. mySQL show me the expected result, and fine. There is no error.</p>
  
  <p>So on delphi program, i try to execute this script:</p>
  
  <p>procedure TFrmPersediaan.Button1Click(Sender: TObject);</p>
  
  <pre><code>begin
     FrmDtm.ADOQBarang.Close;
     FrmDtm.ADOQBarang.SQL.Clear;
     FrmDtm.ADOQBarang.SQL.Add('CALL ActualStok()');
     FrmDtm.ADOQBarang.Open;
  end;
  </code></pre>
  
  <p>Delphi shows me a error message "Multiple-step operation generated errors. Check each status value."</p>
  
  <p>Please somebody to help me to solve this problem.
  Thank you for any participant.</p>