$WBQuery

Availability
$WBQuery is available for use with following recordset related WBSP commands:
UPDATE
DELETE
QUERY
Send Personal Mail (if recordset is used)
Send Bulk Mail

Syntax
$WBQuery
$WBQuery[]

Returns
WHERE clause of the SQL expression used to generate current recordset.

Here's an example:

[FormFields]
WB_BaseName=biblioA.mdb
WB_Command=D
WB_UID=ISBN
WB_RcdSet=Titles
wb_tempname=$default$
[MsgAndLbl]
WBM_Deleted=Operation completed! $WBDeleted record(s) removed from your database!<br>Recordset generated upon following condition(s):<br>$WBQuery 
 
After running this example by typing its URL followed by ?wbf_isbn=isbnvalue (e.g. http://localhost/delete.wbsp?wbf_isbn=0823058573), WBSP will display delete report with detailed search condition information:
Operation completed! 1 record(s) removed from your database!
Recordset generated upon following condition(s):
isbn = '0823058573'