Oracle Forms 6i insert, update,delete,search,sort

Question : Oracle Forms 6i insert, update,delete,search,sort

I am given a program to insert, update, delete, search, sort records… i am new to oracle so can you give me the code on how to do it? and i am also confused on which triggers will be used in doing this….

Solution: Oracle Forms 6i insert, update,delete,search,sort

The basic SQL database activities (select, insert, update, delete, lock record, etc.) are all handled automatically in Forms6i if you create a block based on a table or view.  You don’t need to write any code to support these features.  You can add triggers like:
1. pre-insert and/or pre-update to provides some values automatically (user ID, timestamp, etc.)
2. when-validate-item to insure that the value entered exists in a database table somewhere, or meets some other criteria you need to enforce.

There are many more triggers initiated by various events that can be used for more complex data entry, validation, screen manipulation, etc. but I recommend starting with no (or only a few simple) triggers, then adding additional functionality and/or complexity after you get used to the basics.