<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Comments for Understanding ClientDataSet Indexes</title>
<link rel="alternate" type="text/plain" href="http://dn.codegear.com/article/29056" title="Understanding ClientDataSet Indexes" />
<link rel="self" type="application/atom+xml" href="http://dn.codegear.com/article/29056/feed" title="Comments for Understanding ClientDataSet Indexes" />
<id>http://dn.codegear.com/article/29056</id>
<updated>2008-11-21T15:18:06-08:00</updated>
<entry>
<title>PERFECT</title>
<author>
<name>Paulo Eduardo Bitar Jr</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=35998</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=35998</id>
<updated>2003-12-30T05:47:58-08:00</updated>
<published>2003-12-30T05:47:58-08:00</published>
<summary>PERFECT</summary>
<content>This was what I was looking for... It Worked 100%</content>
</entry>
<entry>
<title>re: InternalCalc fields</title>
<author>
<name>Cary Jensen</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34606</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34606</id>
<updated>2003-05-09T11:49:25-07:00</updated>
<published>2003-05-09T11:49:25-07:00</published>
<summary>re: InternalCalc fields</summary>
<content>Cool technique. Thanks for sharing it.</content>
</entry>
<entry>
<title>re: Problem indexing LargeInts with Delphi 7</title>
<author>
<name>MARCELLO DIAS</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34394</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34394</id>
<updated>2003-04-02T10:23:41-07:00</updated>
<published>2003-04-02T10:23:41-07:00</published>
<summary>re: Problem indexing LargeInts with Delphi 7</summary>
<content>I happens with SmallInt too.I took me a week of nightmare to discover that.Regards,Marcello Dias</content>
</entry>
<entry>
<title>InternalCalc fields</title>
<author>
<name>Dave Rowntree</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34388</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34388</id>
<updated>2003-04-02T02:59:24-07:00</updated>
<published>2003-04-02T02:59:24-07:00</published>
<summary>InternalCalc fields</summary>
<content>Cary rightly says: &quot;You cannot include virtual fields, such as calculated or aggregate fields, in an index&quot;You also cannot use LookupFields in an index.You can, however, use InternalCalc fields in an index.One use of an InternalCalc field for indexing is to indirectly index a CDS based on a LookupField. For example:In your app you have a main CDS and a lookup CDS. Lets call them cdsMain and cdsLookup.In cdsMain you have added a LookupField which has it's LookupDataSetproperty set to cdsLookup.Add an InternalCalc field to cdsMain. Lets call it 'IntCalc'. In thecdsMain.OnCalcFields event put something like:  DataSet.FieldByName('IntCalc').Value :=    cdsLookup.Lookup('LookupKeyField',     DataSet.FieldByName('KeyField').Value,'LookupResultField');where:  -'LookupKeyField' is the LookupKeyFields property from your LookupField.  -'KeyField' is the KeyFields property from your LookupField.  -'LookupResultField' is the LookupResultField property from yourLookupField.Your IntCalc field will then show the same information as the LookupField.If you then set the cdsMain.IndexFieldNames to 'IntCalc' cdsMain will be ordered by the LookupField value.</content>
</entry>
<entry>
<title>re: Problem indexing LargeInts with Delphi 7</title>
<author>
<name>Dave Rowntree</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=34387</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=34387</id>
<updated>2003-04-02T02:30:21-07:00</updated>
<published>2003-04-02T02:30:21-07:00</published>
<summary>re: Problem indexing LargeInts with Delphi 7</summary>
<content>There is a problem using LargeInt fields with D6 and D7. See QC2626, QC1050, and QC3496.http://qc.borland.com/wc/wc.exe/details?ReportID=2626</content>
</entry>
<entry>
<title>Problem indexing LargeInts with Delphi 7</title>
<author>
<name>Steven Kamradt</name>
<uri>http://threads.codegear.com/threads/threads.exe/userall?commentid=33279</uri>
</author>
<id>http://threads.codegear.com/threads/threads.exe/view?commentid=33279</id>
<updated>2002-10-07T16:08:31-07:00</updated>
<published>2002-10-07T16:08:31-07:00</published>
<summary>Problem indexing LargeInts with Delphi 7</summary>
<content>Is it just me or is there a problem indexing Largeints with Delphi 7 and the ClientDataset?  Indexing appears to work for other data types, but not largeints.  The server in this case is on the other side of a Soap provider.</content>
</entry>
</feed>
