I'm working with an evaluation copy of uniGUI. I'm having difficulty implementing a uniDBLookupComboBox.
Link the uniDBLookupComboBox to a primary TDataset using the DataSource and DataField properties.
Link the uniDBLookupComboBox to a lookup TDataset using the ListSource, KeyField and ListField properties.
Open the respective datasets.
Insert a new record into the primary TDataset. (This will result in an "empty" row.)
This causes an EVariantTypeCastError exception. 'Could not convert variant of type (UnicodeString) into type (Integer)'
I would appear that the uniDBLookupComboBox is attempting to Locate the corresponding lookup record using a null value from the primary dataset.
Is there a way around this difficulty?
Many thanks,
MV