TwwDBLookupComboDlg with composite keys
I am having issues with TwwDBLookupComboDlg when using composite keys (ie: LookupField := 'ID1;ID2').
When the key is empty (LookupValue is empty), DisplayValue still shows a string, most likely the first record in the dataset.
I attempted to fix this behaviour from outside the component but I am unable to change DisplayValue as it will be reassigned in the setter by doing something like:
if (component.lookupvalue = '') and (component.displayvalue <> '') then
component.displayvalue := '';
Anyone has any ideas or run into this issue and found a workaround?
I am on Delphi 2010, the InfoPowerStudio installer version is 2010.4455.0.0
Please sign in to leave a comment.