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.

Usage Notes<br />

string TRUE or FALSE.<br />

ALLOW_MULTI-SELECT Returns the character<br />

string TRUE or FALSE.<br />

The values returned by datasource RECORD_GROUP and QUERY_TEXT do not necessarily reflect<br />

the current data or state of the tree. The values returned are those that were set in <strong>Form</strong> <strong>Builder</strong> and not<br />

those set using the SET_TREE_PROPERTY built-in.<br />

GET_TREE_PROPERTY examples<br />

/*<br />

** Built-in: GET_TREE_PROPERTY<br />

*/<br />

-- This code could be used to find out how many nodes are<br />

-- in a given tree.<br />

DECLARE<br />

htree ITEM;<br />

node_count NUMBER;<br />

BEGIN<br />

-- Find the tree itself.<br />

htree := Find_Item(’tree_block.htree3’);<br />

-- Get the node count of the tree.<br />

node_count := Ftree.Get_Tree_Property(htree,<br />

Ftree.NODE_COUNT);<br />

...<br />

END;<br />

229

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

Saved successfully!

Ooh no, something went wrong!