View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003813 | JEDI VCL | 00 JVCL Components | public | 2006-07-14 03:29 | 2006-07-17 23:54 |
| Reporter | rbraasem | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0003813: Patial Key Locate in JvDbTreeView | ||||
| Description | The Locate in Change2 of TJvDBTreeView is new always using a complete key instead of a partial key. The line 1040 FDataLink.DataSet.Locate(FMasterField, TJvDBTreeNode(Node).FMasterValue, []); Should be changed in FDataLink.DataSet.Locate(FMasterField, TJvDBTreeNode(Node).FMasterValue, [loPartialKey]); I would do it myself, but I seem te bee locked out of SVN. (Can you also have a look at that). | ||||
| Tags | No tags attached. | ||||
|
|
why do you think so? After change node dataset must be located exactly on record with key=FMasterValue if You have records with keys "100","10","1", and IndexFieldNames<>KeyFieldName, and select node with FMasterValue="1", your method Change2 can locate wrong record |
|
|
You are right. I always looked at Partial key as "not using all the fields" by a compound index. I must look for an other solution of the problem. |