CancelBatch and OLE Error 80040E20
From: David Rueter (nospam_drueter_at_assyst.com)
Date: 07/27/04
- Next message: Eduardo Martinez: "Re: OLE error"
- Previous message: Kevin: "Data type is not supported"
- Next in thread: Viatcheslav V. Vassiliev: "Re: CancelBatch and OLE Error 80040E20"
- Reply: Viatcheslav V. Vassiliev: "Re: CancelBatch and OLE Error 80040E20"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Jul 2004 10:46:18 -0700
I have a TADOStoredProc bound to data aware controls. (Happens to be
Intraweb controls--though I don't think that's relevant).
I have written an event handler for the WillChangeRecord event that takes
the updated values from the dataset, passes them to a stored procedure,
executes the stored procedure, then calls CancelBatch.
This seems like its should work, but I get an exception on the call to
Dataset.CancelBatch:
Project Test.exe raised exception class EOleException with message 'OLE
error 80040E20'. Process stopped. Use Step or Run to continue.
However, if I handle this exception and look at the
Dataset.Connection.Errors collection, Errors.Count = 0--IOW ADO is not
reporting any specific errors.
Delphi 6 Enterprise, Update Pack 2.
Any ideas what this error means / what I'm doing wrong? Any suggestions on
a better approach to what I am trying to do?
TIA,
David Rueter
drueter@assyst.com
- Next message: Eduardo Martinez: "Re: OLE error"
- Previous message: Kevin: "Data type is not supported"
- Next in thread: Viatcheslav V. Vassiliev: "Re: CancelBatch and OLE Error 80040E20"
- Reply: Viatcheslav V. Vassiliev: "Re: CancelBatch and OLE Error 80040E20"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|