I Have a TDBLookupComboBox (named: lkpControl) control with this definition:
TDataSource : qrySource
DataField: FK_Field
TListSource: qryLookup
KeyField: Code_Field
All functions well but if i read programmatically the keyvalue as:
Variable = lkpControl->KeyValue
An
exception is thrown saying that qrySource:Code_Field does not exist. It
seems that the control is trying to read the value of the KeyField from
qrySource instead of qryLookup.
Any Idea?
Thanks in advance