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.

Data Type property<br />

Description<br />

Specifies what kinds of values <strong>Form</strong> <strong>Builder</strong> allows as input and how <strong>Form</strong> <strong>Builder</strong> displays those<br />

values.<br />

Applies to check box, display item, list item, radio group, text item, custom item, and form parameter<br />

(form parameter supports CHAR, DATE, DATETIME, and NUMBER only)<br />

Note: All data types do not apply to each item type.<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Usage Notes<br />

• In <strong>Form</strong> <strong>Builder</strong> 6.0 and later, it is recommended that you use only the standard data types CHAR,<br />

DATE, DATETIME, and NUMBER for data. These data types are based on native ORACLE data<br />

types, and offer better performance and application portability. The other data types are valid only<br />

for text items, and are included primarily for compatibility with previous versions. You can achieve<br />

the same formatting characteristics by using a standard data type with an appropriate format mask.<br />

• The data type of a base table item must be compatible with the data type of the corresponding<br />

database column. Use the CHAR data type for items that correspond to ORACLE VARCHAR2<br />

database columns.<br />

• Do not create items that correspond to database CHAR columns if those items will be used in<br />

queries or as the join condition for a master-detail relation; use VARCHAR2 database columns<br />

instead.<br />

• <strong>Form</strong> <strong>Builder</strong> will perform the following actions on items, as appropriate:<br />

remove any trailing blanks<br />

change the item to NULL if it consists of all blanks<br />

remove leading zeros if the data type is NUMBER, INT, MONEY, RINT, RMONEY, or RNUMBER<br />

(unless the item’s format mask permits leading zeros)<br />

• The form parameter Data Type property supports the data types CHAR, DATE, and NUMBER.<br />

ALPHA<br />

Contains any combination of letters (upper and/or lower case).<br />

646<br />

Default Null<br />

Example "Employee", "SMITH"<br />

CHAR<br />

Supports VARCHAR2 up to 2000 characters. Contains any combination of the following characters:<br />

• Letters (upper and/or lower case)<br />

• Digits<br />

• Blank spaces

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

Saved successfully!

Ooh no, something went wrong!