[DUG] ClientDataset and Key Violation

Matthew Comb matt at ferndigital.com
Tue Jan 16 12:41:48 NZDT 2007


You need build 668 to be exact, 666 was the last version to come with
Delphi.

Regards,

Matt.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Jeremy North
Sent: Tuesday, 16 January 2007 12:09 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] ClientDataset and Key Violation

Hi Rohit,

There is a bug in one of the versions of the midas dll which causes an
error when you have inserted over 35 records without applying updates.
I can't remember the exact number.

If you go to Dan Miser's website he generally has a copy of the latest
DLL there to download. They are fully backwards compatible and has had
a number of fixes. Perhaps the DLL versions are different between
workstations.

You could also try compiling you app with MidasLib in the uses clause
- which removes the need for deploying the DLL (but means you can't
use newer versions of it). If you aren't already doing this. I believe
MidasLib is in D7.

cheers,
Jeremy

On 1/16/07, Rohit Gupta <rohit at cfl.co.nz> wrote:
> 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




More information about the Delphi mailing list