Re: Closing recordset generates exception
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Wed, 22 Aug 2007 18:36:45 +0100
Yes, the table exist within an old legacy database ( Pervasive SQL
9.5). Adding new records this way is no problem. This routine should
normally add only new records. Just during test/development phase I ran
into this exception and couldn't explain this 'Close exeption'
behaviour.
Have you examined the errors collection off your Conn object?
Is the number of errors > 0?
No clues from the errors collection?
In general I would expect either a
provider specific exception
ADO exception
I cant remember which category FK constraint violations fall in this.
Stephen Howe
.
- References:
- Closing recordset generates exception
- From: Hans van de Laar
- Re: Closing recordset generates exception
- From: Stephen Howe
- Re: Closing recordset generates exception
- From: Hans van de Laar
- Re: Closing recordset generates exception
- From: Stephen Howe
- Re: Closing recordset generates exception
- From: Hans van de Laar
- Closing recordset generates exception
- Prev by Date: Re: Closing recordset generates exception
- Next by Date: Re: Closing recordset generates exception
- Previous by thread: Re: Closing recordset generates exception
- Next by thread: Re: Closing recordset generates exception
- Index(es):
Relevant Pages
|
|