|Subject||Re: [IBO] TIB_LookupEnh|
> Is possible to configure a TIB_LookupEnh to work showing only theShort answer is No, TIB_LookupEnh cannot work this way. LookupEnh is
> 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.
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.