$WBSRQ - sub report with SQL where clause

Availability
$WBSRQ  is available for use with all WBSP commands:

Syntax
$WBSRQ{reportfilename|whereclause}
$WBSRQ[reportfilename|whereclause]

Parameters
reportfilename - full path and file name of the sub report file
whereclause - the condition(s) that records must satisfy to be included in the report.

Returns
Source code of the processed report. If source code contains  <body> and </body> tags, function will include only the source code between these tags.

To learn more about sub reports, please read "WhizBase sub reports" page.