How can i set KeyValue to load text of an item on UniDBLookupComboBox when it is with the property "RemoteQuery" set to "True"? When i use a Data Source linked to the "ListSource" this works perfectly. But when i try to do using RemoteQuery, the UniDBLookupComboBox field doesn't display the selected item.
I tried to run manually the event to force item load:
UniDBLookupComboBoxEmployeeRemoteQuery('My item value', UniDBLookupComboBoxEmployee.Items);
UniDBLookupComboBoxEmployee.KeyValue := 'My item value';
But it doesn't work, the field keeps empty.
How to reproduce: Add a button to "DBLookupComboBox - Custom Remote Query" example and in the "OnClick" event try to select an item like:
UniDBLookupComboBox1.KeyValue := 1651; // or [].Text := '1651';