Subject Re: [IBO] TIB_LookupEnh
Author Geoff Worboys
> Is possible to configure a TIB_LookupEnh to work showing only the
> LookupSource table without I have to set a Datasource to main table?
> I can do it with tib_lookupcombo but with TIB_LookupEnh, I don't
> know which settings I have to do.

Short answer is No, TIB_LookupEnh cannot work this way. LookupEnh is
implemented quite differently to LookupCombo - specifically it is tied
to the main dataset just like standard IB_Edit controls etc. This
provides various advantages (such as the ability to disconnect from
the lookup dataset to allow sharing), but it also means that it cannot
operate without the main dataset.

You could fudge a main dataset and tie the TIB_LookupEnh control to a
parameter that does nothing on the main dataset (using the ParamName
property). Thats about the only way I can think of achieving what you
want using LookupEnh.

Geoff Worboys
Telesis Computing