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.

FIND_CANVAS built-in<br />

Description<br />

Searches the list of canvases and returns a canvas ID when it finds a valid canvas with the given name.<br />

You must define an appropriately typed variable to accept the return value. Define the variable with a<br />

type of Canvas.<br />

Syntax<br />

FUNCTION FIND_CANVAS<br />

(canvas_name VARCHAR2);<br />

Built-in Type unrestricted function<br />

Returns Canvas<br />

Enter Query Mode yes<br />

Parameters<br />

canvas_name Specifies the VARCHAR2 canvas name you gave the canvas when defining<br />

it.<br />

FIND_CANVAS examples<br />

124<br />

DECLARE<br />

my_canvas Canvas;<br />

BEGIN<br />

my_canvas := Find_Canvas(’my_canvas’);<br />

END;

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

Saved successfully!

Ooh no, something went wrong!