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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DELETE_TREE_NODE built-in<br />

Description<br />

86<br />

Removes the data element from the tree.<br />

Syntax<br />

PROCEDURE DELETE_TREE_NODE<br />

(item_name VARCHAR2,<br />

node NODE);<br />

PROCEDURE DELETE_TREE_NODE<br />

(item_id ITEM,<br />

node NODE);<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode no<br />

Parameters<br />

item_name Specifies the name of the object created at design time.<br />

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

Item_id Specifies the unique ID that <strong>Form</strong> <strong>Builder</strong> assigns to the<br />

item when created. Use the FIND_ITEM built-in to<br />

return the ID to an appropriately typed variable. The<br />

data type of the ID is ITEM.<br />

node Specifies a valid node.<br />

Usage Notes<br />

Removing a branch node also removes all child nodes.<br />

DELETE_TREE_NODE examples<br />

/*<br />

** Built-in: DELETE_TREE_NODE<br />

*/<br />

-- This code finds a node with the label "Zetie"<br />

-- and deletes it and all of its children.<br />

DECLARE<br />

htree ITEM;<br />

delete_node FTREE.NODE;<br />

BEGIN<br />

-- Find the tree itself.<br />

htree := Find_Item(’tree_block.htree3’);

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

Saved successfully!

Ooh no, something went wrong!