JVCL Help:TJvCustomCsvDataSet.FindByCsvKey

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Key lookup for datasets where CsvKeyDef is set.


Pascal

 functionFindByCsvKey(constKey: string): Boolean;


Parameters

Parameters Description
const Key: string The key values as Strings, separated by commas if there is more than one key field.


Return Value

Returns true if the record was found.


Description

If your key fields are defined as 'FOO,BAR' you can do a quick lookup for the record where FOO=Y and BAR=X, by calling FindByCsvKey('Y,X').


See Also

TJvCustomCsvDataSet.CsvKeyDef, TJvCustomCsvDataSet.CaseInsensitive


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page