Returns the second search control value, when BETWEEN is selected as a search option. This code should go to AfterTableInit or BeforeDisplay event of List or Print pages.
Syntax
getSecondFieldValue(field);
Arguments
field
the name of the field.
Return value
Returns the second search control value, when BETWEEN is selected as a search option.
Examples
Print the second search value of Horsepower field on the screen ( in case of BETWEEN search ).
dynamic srchObj = SearchClause.getSearchObject("Cars");
MVCFunctions.Echo(srchObj.getSecondFieldValue("Horsepower"));
See also:
•Search API: setSecondFieldValue()
•Example: Print search parameters on the List page