Oracle Forms is having its default records filter, which we can use through Enter Query mode to specify some search criteria or to filter records before display, but you can also create your own filter, which can be more user friendly and easy to use…
I wrote this trigger around 4 years ago to handle errors in an application based on Oracle Forms 6i. This trigger handles all errors with some custom messages for some specific errors and not only this after giving an appropriate message to the user…
Post-Form trigger in Oracle Forms fires during the Leave the Form process, when a form is exited.   You can use Post-Form trigger for the tasks such as: To clean up the form before exiting. For example, use a Post-Form trigger to erase any global var…
Pre-Form trigger in Oracle Forms fires during the form start-up, before forms navigates to the first navigable data block of that form. Use a Pre-Form trigger to perform the tasks such as maximize the forms_mdi_window, initialize some Global variable…
Suppose you want to handle an error in oracle forms and want to display custom error message for that error, but also you want to customize more for a particular error. For example there are many fields in form with required property is set to TRUE f…
I have written many posts related to triggers in Oracle Forms, I have given examples for Form Level triggers, Data Block Level triggers and Item Level Triggers. And in this tutorial I am just giving the simple tutorial to how to create a trigger in O…
An example is given below to how to create a modal dialog window in Oracle Forms for asking user input and return the value to any text item.   The following is the screen shot of this demo and this form could be downloaded from the following link: C…
When a query is open in the block, the Post-Query trigger fires each time Form Builder fetches a record into a block. The trigger fires once for each record placed on the block's list of records. Usage NotesUse a Post-Query trigger to perform the fol…
The following example finds the commission plan in the COMMPLAN table, based on the current value of the commcode item in the EMPLOYEE block in the form, to verify that the code is valid.If the code in the COMMPLAN table is located, the description o…
In this post you will learn how to specify any condition in enter query mode of Oracle Forms. Whenever Enter_Query command executes Oracle Forms comes into enter query mode and in that mode you can specify some criteria to filter the records and afte…