Home » Developer & Programmer » Forms » How to validate a text item/display item in Oracle forms 9i? (Oracle Forms 9i/ 10g)
How to validate a text item/display item in Oracle forms 9i? [message #412117] Tue, 07 July 2009 17:46 Go to next message
s.vishalkumar@gmail.com
Messages: 22
Registered: July 2007
Junior Member
Hello Everyone,

I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
If it is valid then ok, else display a message saying not valid.

How do we achieve it on a text box/diaply item in the form shown below.

Any kind of help would be really appreciated.

Thanks in advance,
Vishal
Re: How to validate a text item/display item in Oracle forms 9i? [message #412167 is a reply to message #412117] Wed, 08 July 2009 01:48 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
WHEN-VALIDATE-TRIGGER should be used to do the job. If "product_id" is invalid, RAISE FORM_TRIGGER_FAILURE.
Previous Topic: subclass info issue
Next Topic: Horizontal Scroll Bar for More then 15 Column
Goto Forum:
  


Current Time: Fri Sep 20 13:33:03 CDT 2024