I'm using a RecordViewPanel component for my Android application and I need a lookup component to be used with another dataset, i.e.
RecordViewPanel.DataSource = dsOrders;
Among other fields I’m using CODE_CUSTOMER. CODE_CUSTOMER should be used as a lookup field in a lookup component, letting the user see the "Name" of the customer on one hand and letting the application store the corresponding CODE on the other.
I tried to use "ControlAttributes" as "Lookup" and "CustomControl" as "LookupComboEdit" but I couldn’t get the expected result.
Actually I'm using a wwRecordPanel with a LookupComboEdit. In the OnBeforeDropDown event I open the Customers Dataset and it works, but I can't show the Customer CODE instead of its ‘description’ .
In Delphi 7 I use a wwRecordPanel and a wwDBLookupCombo to solve this issue.
Please sign in to leave a comment.