Subject Re: [IBO] TIB_Dataset.EndCallbackFreeze and Access Violation
Author Geoff Worboys
> Sample application sent to Geoff and Jason. Anybody else
> willing to give a try?

Marcin,

Got it, and can see the error you are referring to.

If you change so that
TIB_LookupCombo.LookupField = NAZWA

the problem goes away. The LookupField should be set to the
descriptive field of the lookup dataset (usually the field on which
the lookup is ordered) and NOT on the key field. Or to put it
another way...

When the lookup dataset is activated by the control the LookupField
(which comes from the lookup dataset) is the value displayed. When
the lookup dataset is not activated then the control uses the
DisplayField value (which comes from the main dataset). I hope this
makes sense.

I need to investigate in more detail to see exactly what is happening
in the demo that you sent, so that I can at least give an appropriate
error.


HTH

Geoff Worboys
Telesis Computing