obj
| Pointer to the OLE object to be released.
|
Kill_persistence_boolean
| A boolean value of NULL releases the object, ending its persistence.
A boolean value of TRUE releases only a persistent object. If you don't have a pointer to a persistent object, your code will misbehave. A boolean value of FALSE releases only a non-persistent object. If you don't have a pointer to a non-persistent object, you will get error FRM-40935. This is an optional parameter. If not supplied, the default value is NULL (release object unconditionally). |
You cannot set this property parameter...
| To this restricted setting
| If this target item condition is true:
|
(All)
| true/false
| ![]() |
ENABLED
| true/false
true | ![]() ![]() |
INSERT_ALLOWED
| true
true | ![]() ![]() |
NAVIGABLE
| true/false
true | ![]() ![]() |
QUERYABLE
(Query Allowed) | true
| ![]() |
UPDATE_ALLOWED
| true
true | ![]() ![]() |
UPDATE_NULL
(Update if NULL) | true
true | ![]() ![]() |
VISIBLE
| true/false
| ![]() ![]() |
Setting this property parameter...
| To this setting
| Also causes these propagated changes:
|
ENABLED
| False
| ![]() ![]() ![]() ![]() |
DISPLAYED
| False
| ![]() ![]() ![]() ![]() ![]() |
UPDATEABLE
| True
| ![]() |
UPDATE_NULL
| True
| ![]() |
obj
| A pointer to the OLE object.
|
memberid
| The member ID of the OLE property.
|
newval
| A new value of the specified type to replace the OLE property.
|
| The VT_TYPE of the original variant.
This is an optional parameter. If not specified, the default value for the NUMBER version of the procedure is VT_R8. For the VARCHAR2 version, the default is VT_BSTR. For the OLEVAR version, the default is VT_VARIANT: that is, whatever type the variant itself actually specifies . |
Current Status
| Target Status
|
|
|
|
| NEW
| QUERY
| INSERT
| CHANGED
|
NEW
| yes
| yes1
| yes2
| no
|
QUERY
| yes4
| yes
| no
| yes
|
INSERT
| yes4
| yes3
| yes
| no
|
CHANGED
| yes4
| no
| no
| yes
|
item_name
| Specifies the name of the object created at design time. The data type of the
name is VARCHAR2 string.
|
Item_id
| Specifies the unique ID that Form Builder assigns to the item when created.
Use the FIND_ITEM built-in to return the ID to an appropriately typed variable.
The data type of the ID is ITEM.
|
node
| Specifies a valid node.
|
property
| Specify one of the following properties:
NODE_STATE Possible values are EXPANDED_NODE, COLLAPSED_NODE, and LEAF_NODE. NODE_LABEL Sets the label of the node. NODE_ICON Sets the icon of the node. NODE_VALUE Sets the value of the node. |
| The actual value you intend to pass.
|
item_name
| Specifies the name of the object created at design time. The data type of the
name is VARCHAR2 string.
|
Item_id
| Specifies the unique ID that Form Builder assigns to the item when created.
Use the FIND_ITEM built-in to return the ID to an appropriately typed variable.
The data type of the ID is ITEM.
|
property
| Specify one of the following properties:
RECORD_GROUP Replaces the data set of the hierarchical tree with a record group and causes it to display. QUERY_TEXT Replaces the data set of the hierarchical tree with an SQL query and causes it to display. ALLOW_EMPTY_BRANCHES Possible values are PROPERTY_TRUE and PROPERTY_FALSE. |
| Specify the value appropriate to the property you are setting:
PROPERTY_TRUE The property is to be set to the TRUE state. PROPERTY_FALSE The property is to be set to the FALSE state. |
item_name
| Specifies the name of the object created at design time. The data type of the
name is VARCHAR2 string.
|
Item_id
| Specifies the unique ID that Form Builder assigns to the item when created.
Use the FIND_ITEM built-in to return the ID to an appropriately typed variable.
The data type of the ID is ITEM.
|
node
| Specifies a valid node.
|
selection_type
| Specifies the type of selection.
SELECT_ON Selects the node. SELECT_OFF Deselects the node. SELECT_TOGGLE Toggles the selection state of the node. |
| The unique ID Form Builder assinged to the visual attribute when you created
it. The data type is VISUALATTRIBUTE.
|
| The name you gave the visual attribute when you created it. The data type is
VARCHAR2.
|
Property
| Specify one of the following properties:
BACKGROUND_COLOR The color of the object's background region. FILL_PATTERN The pattern to be used for the object's fill region. Patterns are rendered in the two colors specified by Background Color and Foreground Color. FONT_NAME The font family, or typeface, that should be used for text in the object. The list of fonts available is system-dependent. FONT_SIZE The size of the font, specified in hundreds of points. FONT_SPACING The width of the font, that is, the amount of space between characters (kerning). FONT_STYLE The style of the font. FONT_WEIGHT The weight of the font. FOREGROUND_COLOR The color of the object's foreground region. For items, the Foreground Color attribute defines the color of text displayed in the item. WHITE_ON_BLACK Specifies that the object is to appear on a monochrome bitmap display device as white text on a black background. Specify the value to be applied to the given property. The data type of the property determines the data type of the value you enter. For instance, if you want to set the WHITE_ON_BLACK property to true, specify the constant PROPERTY_TRUE for the value. If you want to change the FONT_NAME for the item, specify the value, in other words, the label, as a VARCHAR2 string. PROPERTY_TRUE Specifies that the property is to be set to the TRUE state. PROPERTY_FALSE Specifies that the property is to be set to the FALSE state. If you want to reset the value of the property to be the value originally established for it at design time, enter two single quotes with no space between: ''. For example, SET_ITEM_PROPERTY('DEPTNO', FONT_SIZE, ''); would reset that format size to its design-time value. |
| The variant to be set.
|
newval
| The value to be given to the variant.
|
| The OLE VT_TYPE to be given to the variant.
This is an optional parameter. If not specified, the default value for the NUMBER version of the procedure is VT_R8. For the VARCHAR2 version, the default is VT_BSTR. For the OLEVAR version, the default is VT_VARIANT: that is, whatever type the variant value actually specifies . |
source_table
| A PL/SQL table whose dimensions and element values are to be given to the
variant.
|
arrspec
| Indicates which selected element or elements of the source table are to be
used in the creation of the new variant. For more information, see Specifiers for OLE Arrays
This is an optional parameter. If not specified, the entire source table is used.. |
If the operator selects...
| Form Builder returns
|
Button 1
| ALERT_BUTTON1
|
Button 2
| ALERT_BUTTON2
|
Button 3
| ALERT_BUTTON3
|
newval
| The value to be given to the newly-created OLE variant.
|
| The OLE VT_TYPE to be given to the newly-created variant.
This is an optional parameter. If not specified, the default value for the NUMBER version of the function is VT_R8. For the VARCHAR2 version, the default is VT_BSTR. For the table version, the default is determined from the PL/SQL types of the table For the OLEVAR version, the default is the type of the source variant. |
persistence
| Controls the persistence of the variant after its creation. A boolean value
of TRUE establishes the variant as persistent; a value of FALSE establishes the
variant as non-persistent.
This is an optional parameter. If not specified, the default value is non-persistent. |
source_table
| An existing PL/SQL table that is used to establish the bounds and values of
the newly-created variant table. The source table can be of any type.
|
arrspec
| Indicates which selected element or elements of a source table are to be used
in the creation of the new variant. The lower bound always starts at 1. For
more information, see Specifiers for OLE Arrays.
This is an optional parameter. If not specified, the entire source table or source variant is used. |
| An existing OLE variant whose value is to be given to the new variant. (This
source variant may be a table.)
|
| The OLE variant pointer to be changed into a variant.
|
| The OLE VT_TYPE to be given to the transformed variant.
This is an optional parameter. If not specified, the default value is VT_VARIANT. |
| The OLE variant that is the source array.
|
target_table
| The PL/SQL table to be populated.
|
arrspec
| Indicates which rows, columns, or elements of the source array are to be used.
See Specifiers for OLE Arrays for more information.
This is an optional parameter. If not specified, all elements in the source array are used. |
| The OLE variant to be read.
|
arrspec
| This parameter is used only if the OLE variant is an array. It indicates
which element of the array is to be read and returned.
See Specifiers for OLE Arrays for more information. |
| The existing OLE variant to be pointed to.
|
| The type to be assigned to the created OLE variant.
Permissible types are VT_BYREF, VT_PTR, and VT_NULL. This is an optional parameter. If not specified, the default value is VT_BYREF. |
Property
| Status and Use
|
Alias
| New. Creates an alias for an Oracle8 table name.
|
Column Name
| Extended. Now includes dot notation for items from column objects.
|
Detail Reference
| New. Identifies the REF item that forms a master-detail link.
|
DML Returning Value
| New. Controls Forms’ refreshing of screen with changed values after a
database insert or update.
|
Include REF Item
| New. Creates a hidden item called REF in the master block.
|
Relation Type
| New. Identifies the type of master-detail link (either relational join or
object REF).
|
Element
| Constraint/Note
|
blocks per form
| no practical limit
|
canvases/windows
| no practical limit
|
canvas width
| no practical limit
|
column name length
| 30 characters
|
boilerplate text
| no practical limit
|
database field references
| no practical limit
|
detail blocks per master
| no practical limit
|
global variable length
| 255 characters
|
identifiers (block names, field names, parameter list names, etc.)
| 30 characters
|
item max length
| 2,048 characters, for CHAR values
|
items per block
| no practical limit
|
join condition
| 255 characters
|
levels of menu nesting
|
|
list of values
| no practical limit
|
menu items
| no practical limit
|
menus
| no practical limit
|
named visual attributes
| 255 named visual attributes
|
PL/SQL strings
| no practical limit
|
WHERE Clause and ORDER BY Clause
| total of 32,000 characters
|
record group character columns
| 255 characters
|
record groups
| 255 columns
|
substitution parameters
| no practical limit
|
text item range checks per block
| no practical limit
|
triggers
| no practical limit
|
user-defined local variable name length
| 30 characters
|
Element
| Constraint/Note
|
open cursors (maximum)
|
|
open cursors (minimum)
| ![]() |
| ![]() |
| ![]() |
open cursors (minimum)
| ![]() |
| ![]() |
| ![]() |
To do this:
| Use this Form Builder tool:
|
Create modules.
| Object Navigator
|
Create blocks and items.
| Data Block Wizard
|
Apply standards.
| Object Library
|
Fine-tune the layout.
| Layout Wizard or Layout Editor
|
Set properties.
| Property Palette
|
Add code.
| PL/SQL Editor
|
Test the form.
| Forms Runtime Debugger
|
Datasource
| Allows Query
| Allows DML (INSERTS, UPDATES, and DELETES
| Allows Array Processing
| Allows Query by Example
|
Table
| yes
| yes
| yes
| yes
|
View
| yes
| yes (certain Join views may not allow DML)
| yes
| yes
|
FROM clause
| yes
| no
| yes (only for queried records)
| no
|
Procedure
| yes
| no (if your procedure uses a ref cursor variable)
| no (if your procedure uses a table of records)
| no
|
Transactional trigger
| yes
| yes
| no (if your trigger uses a table of records)
| no
|