Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
Quality Central
Delphi-BCB
Midas
Install
Java Midas
Socket Server
TClientDataSet
TDataSetProvider
TDCOMConnection
TMidasConnection
TOLEEnterpriseConnection
TProvider
TRemoteServer
TSimpleObjectBroker
TSocketConnection
TWebConnection
WebMidas
XML Midas
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Midas/TClientDataSet
[ Add a report in this area ]
Report #:
2011
Status:
Closed
'key violation' - InternalCalc field in nested CDS/poFetchDetailsOnDemand
Project:
Delphi
Build #:
6.240
Version:
6.0
Submitted By:
Dave Rowntree
Report Type:
Basic functionality failure
Date Reported:
8/5/2002 8:57:53 AM
Severity:
Commonly encountered problem
Last Updated:
10/6/2006 6:50:45 AM
Platform:
95, 98, 2000, NT, XP
Internal Tracking #:
143339
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
7.0.8.1
Duplicate of:
None
Voting and Rating
Overall Rating:
(3 Total Ratings)
4.00 out of 5
Total Votes:
2
Description
Use a nested CDS (has DataSetField set) with persistent fields, that has had an InternalCalc field added at design time. The master CDS is supplied by a DSP which uses poFetchDetailsOnDemand. The nested CDS has FetchOnDemand set to false.
If you open the master CDS, then call cdsMaster.FetchDetails, a 'key violation' exception will be raised by Midas.
This problem does not occur if poFetchDetailsOnDemand is not used.
Steps to Reproduce:
Download, unzip, compile and run the attached demo app. Follow the on screen steps.
Workarounds
None
Attachment
IntCalcFDOD.zip
Comments
Dave Rowntree at 5/11/2004 3:45:30 AM
-
Fixed in Midas.dll and dbclient.pas
View Your Reports
Search
Server Response from: CODE1
Developer Tools
Blackfish SQL
C++Builder
Delphi
Delphi for PHP
Delphi Prism
InterBase
JBuilder
J Optimizer
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Chats
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us