JVCL Help:TJvDBLookupList

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvLookupControl
TJvDBLookupList
TJvPopupDataList
run\JvDBLookup.pas


Summary

Provides a list of lookup items for filling in fields that require data from another dataset.

run\JvDBLookup.pas


Pascal

 run\JvDBLookup.pas
 TJvDBLookupList = class(TJvLookupControl);


Description

  1. JVCLInfo

Use TJvDBLookupList to provide users with a convenient list of lookup items to set a field value using the values of a field in another dataset. Lookup list boxes usually display values that are a represent a more meaningful description of the actual field value.
TJvDBLookupList provides a list of lookup items for filling in fields that require data from another dataset. Use TJvDBLookupList to provide users with a convenient list of lookup items to set a field value using the values of a field in another dataset. Lookup list boxes usually display values that are a represent a more meaningful description of the actual field value.
The relationship between field values and the corresponding values in the lookup dataset can be set using the properties LookupSource, LookupField and LookupDisplay.
This component provides the following:

  • You can select any number of fields to be displayed in the lookup list.
  • End-users can incrementally search through the lookup list by directly typing into the control.This is a great advantage when using lookup tables that contain hundreds of even thousands of records.
  • You can perform a lookup on a Query or QBE result. It even incrementally searches on the query result.
  • The component does not have to be bound, or assigned, to a table's field (DataField andDataSource properties) which gives you greater flexibility in using this lookup list for general tasks where a source table is not involved.

If DataSource and DataField properties is set, when a user selects a list item, the corresponding field value is changed in the underlying dataset.

run\JvDBLookup.pas


About

Navigation

run\JvDBLookup.pas



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