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.

Flag User Value Too Long property<br />

Description<br />

Specifies how <strong><strong>Form</strong>s</strong> should handle a user-entered value that exceeds the item’s Maximum Length<br />

property.<br />

This property applies only in a 3-tier environment in which the middle tier (the <strong><strong>Form</strong>s</strong> server) specifies a<br />

multi-byte character set other than UTF8.<br />

Applies to application<br />

Set programmatically<br />

Default<br />

Property_False (‘FALSE’)<br />

Refer to Built-in<br />

GET_APPLICATION_PROPERTY<br />

SET_APPLICATION_PROPERTY<br />

Usage Notes<br />

In a 3-tier, non-UTF8 multi-byte character set environment, it is possible for an end user to type more<br />

bytes into an item than the item’s Maximum Length property specifies.<br />

When the Flag User Value Too Long property has been set or defaulted to FALSE and this situation<br />

arises, then the user’s typed-in value is truncated (on a character boundary) so that its size in bytes does<br />

not exceed the item’s Maximum Length. When item-level validation is performed, the truncated value is<br />

validated. If validation (and any navigational triggers) succeeds, then the end user is allowed to navigate<br />

out of the item. No error or warning message is displayed.<br />

When the Flag User Value Too Long property has been set to TRUE and this situation arises, then the<br />

user’s typed-in value is not truncated. When item-level validation is performed, it will fail (with an error<br />

message indicating that truncation would be necessary). This means that the end user is not allowed to<br />

leave the current validation unit (as specified by the current form’s Validation Unit property).<br />

717

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

Saved successfully!

Ooh no, something went wrong!