sc_where_orig
|
|
It allows the developer to recover the application's original WHERE clause, inserted directly into the query in the SQL menu or when creating the query.
Because it is a value recovery macro, it has a different syntax from other macros. we develop applications between curly brackets: {sc_where_orig}
The value retrieved by the macro is not affected by filters performed in the application or any changes made to the application through the macro sc_select_where(add).
See below some examples of the macro
Example 1 - Retrieving the WHERE clause value from the application's SQL
|
Macro Scope
|
calendar application
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
| allMacros
|
allMacros onFooter onHeader onInit
|
ajaxFieldonClick allMacros onFooter onGroupBy onHeader onInit onNavigate onRecord
|
allMacros onApplicationInit onFilterInit onFilterRefresh onFilterSave onFilterValidate
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
allMacros onFooter onHeader onInit onRecord
|
|