A script-enabled browser is required for this page to function properly.

SRW.UNKNOWN_QUERY built-in exception

This exception stops the report execution and raises the following error message:

REP-1427: Nonexistent query name referenced in SRW.SET_MAXROW.

Syntax

SRW.UNKNOWN_QUERY;

Usage notes

Reports Builder raises this exception when the SRW.SET_MAXROW packaged procedure is called with an unknown query.

Example

Suppose you want your own error message raised, instead of the default error message (above).  You could handle this exception in the following way:

EXCEPTION
when SRW.UNKNOWN_QUERY then
srw.message(4000, 'Contact Per Jensen:
SRW.UNKNOWN_QUERY.');  
raise srw.program_abort
;  

See also

About the Reports Builder built-in package (SRW)

SRW built-in package