The filter definition is placed directly on CtrlActiveAll control in ProjProjectsListPage form. You can see there:
FilterDataSource: ProjTable
FilterField: Status
FilterExpression: (projActiveAll(%1))
And projActiveAll() is defined in SysQueryRangeUtil class.
- Create new Method in SysQueryRangeUtil class
public static str DNAgreementActive(DNActive _DNActive)
{
switch(_DNActive)
{
case DNActive::All:
return SysQuery::valueUnlimited();
case DNActive::Active:
return SysQuery::value(noyes::Yes);
case DNActive::InActive:
return SysQuery::value(noyes::No);
default:
return SysQuery::valueUnlimited();
}
}
No comments:
Post a Comment