Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this
P. 1
Oracle Forms

Oracle Forms

|Views: 20|Likes:
Published by usshalu

More info:

Published by: usshalu on Sep 10, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Shik Mahamood Ali 1
DefinitionForms used for presenting and manipulating data can be developed. It is GUI used fordeveloping client server database application..FMB Form Module Binary.FMT Form Module Text.FMX Form Module Executable
1.Form BuilderIt is used to create a form. The design and layout of data entry screens the creations of event driven PL/SQL code used for data validation and navigate can be done via form builder. 2.Form CompilerIt is required to compile the file created in form builder and create a binary file, whichcan be executable form runtime.3.Form RuntimeIt is used to run the complied code created by forms compiler.
1. Object NavigatorIt is hierarchical browsing and editing interface that enables you locate and manipulateapplication objects quickly and easily.2.Property PaletteIt is used set and modify the properties for all objects in form modules.3.Layout EditorIt is graphical design facility for creating and arranging interface items and graphical objects inyour application.4.PL / SQL EditorIt is the integrated functionality of oracle procedure builder that exists with in form builder. Itprovides:Development of Trigger, Procedures, Functions and PackagesDevelopment of libraries to hold PL/SQL program unit.
1.Form ModuleIt is a collection of objectives such as block, canvas, items and event based PL/SQL codeblocks called trigger .2.Menu ModuleIt is a collection of menu items. It can be main menu or sub menu.3.PL / SQL LibrariesThe library module is a collection of PL/SQL function and package stored ion a single libraryfile. This library file is the attached to form / menu modules. All other objects in the form ormenu can now access share the collection of PL/SQL functions and procedures.4.Object Libraries 
Shik Mahamood Ali 2
It is a collection of form objects that you can use in other modules. You can create it to store,maintain and distribute standard objects that can be reuse across the entire developmentorganization.5. Object Group (Form Builder)An object group is a container for a group of objects. You define an object group when youwant topackage related objects so you can copy or subclass them in another module.
1.BlocksBlock is logical owner of items. It provides a mechanism for grouping related items into afunctional unit for storing, displaying and manipulating records.2.ItemsThese are interface objects that present data values to the user or enable the user to interactwith the form.3. CanvasA canvas is the background object upon which interface items appear.4. FramesFrames are used to arrange items with in a block.5. WindowsWindows contains for all visual objects that make up a form builder application.6. PL/SQL Code BlockIt is used for event driven code. That code automatically executes when a specific eventoccurs.
Form Built - ins
1.CLEAR_FORM Causes Form Builder to remove all records from, or flush, the current form, and puts the inputfocus inthe first item of the first block.2.COMMIT_FORM Causes Form Builder to update data in the database to match data in the form. Form Builderfirstvalidates the form, then, for each block in the form, deletes, inserts, and updates to thedatabase, and performs a database commit. As a result of the database commit, the databasereleases all row and table locks.3.DEBUG_MODEToggles debug mode on and off in a menu. When debug mode is on in a menu, Form Builderissues an appropriate message when a menu item command executes.4. ENTERValidates data in the current validation unit. (The default validation unit is Item.)5.ERASERemoves an indicated global variable, so that it no longer exists, and releases the memoryassociated with the global variable. Global always allocate 255 bytes of storage. To ensure
Shik Mahamood Ali 3
that performance is not impacted more than necessary, always erase any global variable whenit is no longer needs6. EXECUTE_TRIGGEREXECUTE_TRIGGER executes an indicated trigger.7. EXIT_FORMProvides a means to exit a form, confirming commits and specifying rollback action.8.FIND_FORMSearches the list of forms and returns a form module ID when it finds a valid form with thegiven name. You must define an appropriately typed variable to accept the return value.Define the variable with a type of Form module.9. FORM_FAILURE Returns a value that indicates the outcome of the action most recentlyperformed during the current Runform session.Use FORM_FAILURE to test the outcome of a built–in to determinefurther processing within any trigger. To get the correct results, youmust perform the test immediately after the action executes. That is,another action should not occur prior to the test.
 /*** Built–in: FORM_FAILURE** Example: Determine if the most recently executed built–in** failed.*/BEGINGO_BLOCK(’Success_Factor’); /*** If some validation failed and prevented us from leaving** the current block, then stop executing this trigger.**** Generally it is recommended to test** IF NOT Form_Success THEN ...** Rather than explicitly testing for FORM_FAILURE*/IF Form_Failure THENRAISE Form_Trigger_Failure;END IF;END;
 Returns the outcome of the action most recently performed during the current Runformsession.Use FORM_FATAL to test the outcome of a built–in to determine further processing within anytrigger. To get the correct results, you must perform the test immediately after the actionexecutes. That is, another action should not occur prior to the test.
 /* ** Built–in: FORM_FATAL

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Narayana Reddy liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->