11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BREAK built-in<br />

Description<br />

Halts form execution and displays the Debugger, while the current form is running in debug mode. From<br />

the Debugger you can make selections to view the values of global and system variables. The BREAK<br />

built-in is primarily useful when you need to inspect the state of a form during trigger execution.<br />

Syntax<br />

PROCEDURE BREAK;<br />

24<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

none<br />

BREAK restrictions<br />

If the current form is not running in debug mode, issuing a call to the BREAK built-in subprogram has<br />

no effect.<br />

BREAK examples<br />

/*<br />

** Built-in: BREAK<br />

** Example: Brings up the debugging window for a particular<br />

** value of the ’JOB’ item anytime the user<br />

** changes records.<br />

** trigger: When-New-Record-Instance<br />

*/<br />

BEGIN<br />

IF :Emp.Job = ’CLERK’ THEN<br />

Break;<br />

Call_<strong>Form</strong>(’clerk_timesheet’);<br />

Break;<br />

END IF;<br />

END;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!