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