sc_select_where(add)
|
|
This is possible, during grid execution time to add a field/condition to the search WHERE clause.
Ex. 1: It adds the content between the quotes (") in the grids select. if (empty({sc_where_current})) { sc_select_where(add) = "where campoX > [global]"; } else { sc_select_where(add) = "AND campoX > [global_variable]"; }
Note: This command must be in the context of "process before the select".
|
Macro Scope
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
allMacros onInit
|
allMacros onHeader onInit
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
|