Oracle Forms (MOSC)

MOSC Banner

Validate Date type ?

edited Jun 15, 2011 11:25PM in Oracle Forms (MOSC) 5 commentsAnswered
Hi all,

    I create a form with a textitem and a button.

    My TextItem has type is Date with format mask: DD-MM-RRRR HH:MI:SS AM (Hours is between 0 and 23).

    Users enter some date to my TextItem. But if they enter some invalid Date (ex: 16-06-2011 15:00:00 PM --> it should is: 16-06-2011 03:00:00 PM). And after that, they click Button, a form appear with error:

    FRM-50017: Hours must be between 0 and 23.

    How I can process exception when users click button ? Plz help me ! Thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center