SysTableLookup::filterLookupPreRun_2DS Method

Simulates the code that is performed in the kernel to allow filtering to work properly in custom lookup forms with two data sources.

client public static boolean filterLookupPreRun_2DS(
    FormStringControl _lookupControl, 
    FormStringControl _controlToFilter, 
    FormDataSource _formDataSource, 
    FormDataSource _formDataSource2)

Run On






The control that contains the field value to look up.


The control on the lookup form that is bound to the field on which to filter the value.


The first FormDataSource value on the lookup form.


The second FormDataSource value on the lookup form where the autoSearch parameter should be set to false in case of filtering.

Return Value

true if the value in the control contains a value on which to filter; otherwise, false.


This method should be called before the Super method call in the run method of the custom lookup form.

See Also

SysTableLookup Class