[DUG] ClientDataset and Key Violation
Rohit Gupta
rohit at cfl.co.nz
Tue Jan 16 15:02:50 NZDT 2007
You were right Matt. When I personally investigated the PC, I found
multiple copies of midas.dll And the path did not include system32.
So its fixed now.
Matthew Comb wrote:
>
> Are you absolutely sure you are actually picking up the new version?
>
>
>
> The midas dll registers itself in the registry, and merely putting the
> midas dll in the same dir as your application or even Delphi may not
> do the trick.
>
>
>
> Matt.
>
>
>
>
>
> ------------------------------------------------------------------------
>
> *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 1:00 p.m.
> *To:* NZ Borland Developers Group - Delphi List
> *Subject:* Re: [DUG] ClientDataset and Key Violation
>
>
>
> The same version of midas works everywhere else. Using the latest
> midas (10.0) also produces the error.
>
> Matthew Comb wrote:
>
> 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> [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> <mailto: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 <mailto:Delphi at ns3.123.co.nz>
>> http://ns3.123.co.nz/mailman/listinfo/delphi
>>
>>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz <mailto:Delphi at ns3.123.co.nz>
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz <mailto: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.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/2add810c/attachment.html
More information about the Delphi
mailing list