procedure ADOConnection1ExecuteComplete(Connection: TADOConnection; RecordsAffected: Integer;
const Error: Error; var EventStatus: TEventStatus; const Command: _Command; const Recordset: _Recordset);
begin
//ADO 錯誤訊息
if EventStatus=esErrorsOccured then
begin
ShowMessage(Error.Description);
end;
end;
const Error: Error; var EventStatus: TEventStatus; const Command: _Command; const Recordset: _Recordset);
begin
//ADO 錯誤訊息
if EventStatus=esErrorsOccured then
begin
ShowMessage(Error.Description);
end;
end;
沒有留言:
張貼留言