[View Borland Home Page][View Product List][Search This Web Site][View Available Downloads][Join Borland Online][Enter Discussion Area][Send Email To Webmaster]
Delphi Devsupport

Frequently Asked Questions

Providing lookup capability

Question:

How do I provide lookup capability using ClientDataSets?

Answer:

Add an automation method to the server which can perform

the lookup for you and return the result.  You could do

this in the OnGetText method of a TField object.  Then you

would just use a regular TDBEdit instead of a data aware

component like the TDBLookupComboBox.  Some master tables

that change infrequently you may want to store locally.

With the data stored locally you could use an automation

method to check for changes and refresh the client if

necessary.

Back To Faq Index
Borland Online
Trademarks & Copyright © 1997 Borland International, Inc.