Re: OLE DB (ADO) error messages
- From: "mibainfo" <balazm@xxxxxxxxx>
- Date: Tue, 14 Nov 2006 21:32:28 +0100
Solved:
Connection object has collection Errors.
Each error item has properties Description, Source, Number and NativeError.
This works. Never used before.
Before I have used E:EOleException.
In standard cases E.Message has qualified info string.
In SSCE only constantly "Errors occured.[,,,,,]".
E.ErrorCode is the same as errors.item[0].Number
Errors.item[i].Description contains right messages now (for SSCE)
Thanks
"mibainfo" <balazm@xxxxxxxxx> pí¹e v diskusním pøíspìvku
news:OYy8OYBCHHA.4992@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I have problem with traping errors.
All errors reports only this constant message box:
"Errors occured.[,,,,,]"
I use SSCE with Delphi and ADO (Connection, recordset and other objects).
Connection.Provider = 'Microsoft.SQLSERVER.MOBILE.OLEDB.3.0'.
Is there a chance to find error reason ?
ADO is no more good for SSCE ?
(SSCEEngine and errors - this works fine)
Thanks in advance,
Miro
.
- References:
- OLE DB (ADO) error messages
- From: mibainfo
- OLE DB (ADO) error messages
- Prev by Date: Re: OLE DB (ADO) error messages
- Next by Date: How to read data from stand alone SQL CE database on mobile device from VB.net 2005
- Previous by thread: Re: OLE DB (ADO) error messages
- Next by thread: How to read data from stand alone SQL CE database on mobile device from VB.net 2005
- Index(es):
Relevant Pages
|
|