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

Client

Parameters

Parameter

Description

_lookupControl

The control that contains the field value to look up.

_controlToFilter

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

_formDataSource

The first FormDataSource value on the lookup form.

_formDataSource2

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.

Remarks

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

See Also

SysTableLookup Class