Report Editor - Expression : Parameters Help
You can use parameters, defined on the Parameters tab of the left sidebar, in the expression. To do this – just double-click the necessary parameter in the list.
- For the JavaScript expression – a global function call $P('param_name') will be added at the cursor position.
- For the SQL expression - $P(param_name) macro will be added.
The default value will be used in Preview mode. If a parameter is marked with Interactive flag, the value will be asked from the user.
You can also declare parameter right in the expression input field and make adjustments to it later on the Parameters tab.