RecordChangeComplete and Primary Key constraint
From: Olivier Matrot (olivier.matrot_at_online.nospam)
Date: 09/29/04
- Next message: Brendan Reynolds: "Re: ADOBD / JET Transaction Problems"
- Previous message: Gareth Sharp: "Re: ADOBD / JET Transaction Problems"
- Next in thread: Olivier Matrot: "Re: RecordChangeComplete and Primary Key constraint"
- Reply: Olivier Matrot: "Re: RecordChangeComplete and Primary Key constraint"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 12:28:56 +0200
Hello,
Correct me if I'm wrong but it seems that the status of a field that is
underlying a primary key constraint is not set to an ERROR value in the the
RecordChangeComplete Event when the record in error violates the primary key
constraint.
My tests shows that only the pError parameter is set.
The problem here is because pError is specific to the OLE DB Provider used,
there is no simple way to determine that a constraint Error has occured.
TIA.
- Next message: Brendan Reynolds: "Re: ADOBD / JET Transaction Problems"
- Previous message: Gareth Sharp: "Re: ADOBD / JET Transaction Problems"
- Next in thread: Olivier Matrot: "Re: RecordChangeComplete and Primary Key constraint"
- Reply: Olivier Matrot: "Re: RecordChangeComplete and Primary Key constraint"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|