Subject Re: [IBO] errors with TIB_LookupCombo
Author Ryan Nilsson-Harding
I'm not sure on what code to assign in the OnCustomCompareStr event.

What is the code actually supposed to do?
How does this event manipulate the outcome?
How do I handle the outcome?

The help for this event is quite brief.

Rgds,
-Ryan

> You must assign code to the TIB_Connection.OnCustomCompareStr and
> OnCustomCompareText functions. For example, if you dataset is
> using a character of none (equivalent to ASCII) then you can
> simply embed code that uses the VCL CompareStr and CompareText
> functions (IBO uses the AnsiCompareStr and AnsiCompareText
functions
> by default).