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.

GO_ITEM built-in<br />

Description<br />

GO_ITEM navigates to an indicated item. GO_ITEM succeeds even if the target item has the Keyboard<br />

Navigable property set to No.<br />

Syntax<br />

PROCEDURE GO_ITEM<br />

(item_id Item);<br />

PROCEDURE GO_ITEM<br />

(item_name VARCHAR2);<br />

Built-in Type restricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

item_id Specifies the unique ID that <strong>Form</strong> <strong>Builder</strong> assigns to the item when created.<br />

The data type of the ID is Item.<br />

item_name Specifies the string you defined as the name of the item at design time. The<br />

data type of the name is VARCHAR2.<br />

GO_ITEM restrictions<br />

246<br />

GO_ITEM(’emp.ename’);<br />

• In Enter Query mode, GO_ITEM cannot be used to navigate to an item in a different block.<br />

• You cannot use GO_ITEM to navigate to a non-navigable item, such as a VARCHAR2 item or<br />

display item.<br />

GO_ITEM examples<br />

/*<br />

** Built-in: GO_ITEM<br />

** Example: Invoke a dialog window by navigating to<br />

** an item which is on the canvas which the window<br />

** displays.<br />

*/<br />

PROCEDURE Open_Preference_Dialog IS<br />

BEGIN<br />

Go_Item(’pref_dialog.printer_name’);<br />

END;

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

Saved successfully!

Ooh no, something went wrong!