[DUG] ClientDataset and Key Violation
Rohit Gupta
rohit at cfl.co.nz
Tue Jan 16 12:13:51 NZDT 2007
Found it,
It fails on an index being of type largeint. If its changed to string
which we dont want to do, then it works fine.
The million dollar question is why does it fail only on two out several
hundred workstations ? Does anyone know what dlls in windows implement
ole ?
Traci P Sumpter wrote:
> On some DB's sending a null value to a Not Null field causes this same error
> message. The other thing is it cannot determine the primary key, check
> field definitions if this could be the problem.
>
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
> Behalf Of Rohit Gupta
> Sent: Tuesday, 16 January 2007 11:34 a.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: [DUG] ClientDataset and Key Violation
>
> Using D7. Only two workstations at one site out hundreds have this problem.
> The Clientdataset bombs out when being loaded with data manually from a
> memory list. It is not consistent. They unique key constraint is not
> violated.
>
> I have googled it and looked up many entries - none of them are relevant.
>
> Any ideas anyone ??
>
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
--
*Rohit Gupta*
* B.E. Elec. M.E. Mem IEEE Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
**
*Tel* +64 9 4892280
*Fax* +64 9 4892290
*Email *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web *www.cfl.co.nz <http://www.cfl.co.nz/>
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20070116/ef70f67d/attachment.html
More information about the Delphi
mailing list