View Issue Details

IDProjectCategoryView StatusLast Update
0005529JEDI VCL00 JVCL Componentspublic2011-03-31 21:51
ReporterdcabaleAssigned Tojfudickar 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0005529: [TJvCustomCsvDataSet] Lookup function absence
DescriptionHi,
Lookup function is absent from TJvCustomCsvDataSet
NB: this explains this issue -> http://issuetracker.delphi-jedi.org/view.php?id=5468
Additional InformationI suggest to create a public Lookup function as follow:

function TJvCustomCsvDataSet.Lookup(const KeyFields: string;
  const KeyValues: Variant; const ResultFields: string): Variant;
begin
  Result := Null;
  if LocateRecord(KeyFields, KeyValues, []) then
      Result := FieldValues[ResultFields];
end;

NB: this requires having a LocateRecord function as described here -> http://issuetracker.delphi-jedi.org/view.php?id=5528
Tagslookup, TJvCsvDataSet

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-03-30 10:46 dcabale New Issue
2011-03-30 11:11 dcabale Tag Attached: lookup
2011-03-30 11:11 dcabale Tag Attached: TJvCsvDataSet
2011-03-31 21:51 jfudickar Status new => resolved
2011-03-31 21:51 jfudickar Resolution open => fixed
2011-03-31 21:51 jfudickar Assigned To => jfudickar