Académique Documents
Professionnel Documents
Culture Documents
Page No : 1 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/02
The Applications OR Products Are Designed With Facilities Like Remote Computing, Remote Application And Administration Facilities. The Products OR Applications Are Client/Server Oriented With Centralized OR Distributed in Architecture.
What Oracle Corporation Provides For Internet Computing Solutions Declarative Model-Based Approach Tools
Professionals Working At Enterprise Application Development Level Need Declarative Model-Based Approach Tools. Oracle Designer And Oracle Forms Developer Provide Solutions At Enterprise Application Development Level . We Can Use Oracle Forms Developer To Rapidly Build Scalable, HighPerformance Applications For The Internet. Applications Developed Using Forms Developer Can Be Deployed With Oracle Forms Services.
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/03 Oracle Reports Services. Oracle Discoverer. Oracle Express.
Business Intelligence Toolset Provides The Whole Range For Reporting, Analysis, And Trending Facilities.
Let Us Look into Oracle9i Application Server Architecture Oracle 9iAS Architecture
Page No : 3 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/04
Page No : 4 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/05 Oracle9iAS is A Composition of A Layered Architecture Which Can Be Integrated onto A Multi-Tier Architecture.
System Services
This is A Collection of Common Set of Runtime Services That Are Necessary For J2EE Applications And Web Services. The Different System Services Include Request Dispatch And Scheduling. Resource Management. Resource Pooling. Clustering. Fault Monitoring. Transaction Management. Messaging.
Management Services
These Are A Common Set of Systems Management Services To Monitor The Status, Performance And Faults Occurring in The System. The Different Management Services Include Monitoring Resource Consumption And Usage. Managing A Single Instance OR Cluster of Instances. Centrally Administer Security For Users And Applications. Provide A Comprehensive Directory Service Framework To Manage Users.
Page No : 5 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/06
Connectivity Services
Provides Connectivity To A Variety of Systems Irrespective of Architectural Differences.
Solutions
A Comprehensive Set of Solutions All Built on The Infrastructure Described Above. Solutions Include Enterprise Portals, Enterprise Integration, Intelligence, Wireless, And Independent Software Vendor Solutions. Business
The Operations That Can Be Executed Using Components of Oracle 9iAS Are
Page No : 6 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/07
A Component of Oracle9i Application Server That Deploys Forms Applications To Java Clients in A Web Environment.
Page No : 7 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/08
Forms Services Consists of Four Major Components The Java Client (Forms Client). The Forms Listener Servlet. The Forms Servlet. The Forms Runtime Engine.
Page No : 8 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/09 When A User Runs A Forms Session Over The Web, A Thin, Java-Based Forms Applet is Dynamically Downloaded From The Application Server And Automatically Cached On The Java Client Machine. The Same Java Applet Code Can Be Used For Any Form, Regardless of Size And Complexity. Even Though Forms Services Uses A Java Applet For Displaying The Form on The Client Browser, The Developer Need Not Know Java in Order To Develop And Deploy A Forms Application.
The Oracle9i Developer Suite Combines The Power of Oracle Application Development Tools And Oracle Business Intelligence Tools onto One Single Platform. Provides Standards-Based, Environment. Java And XML Integrated Development
It Supports The Full Application Development Life-Cycle With CASE, Prototyping And RAD Approach. Provides Flexible And Scalable Solutions For Data Warehousing And Business Intelligence Needed For OLAP Environments. Very Perfectly Optimized For The Oracle9i Database And Oracle9i Application Server Architectures. Increases The Productivity of The Application Development, With Maintenance Free Deployment And Development of Products.
Page No : 9 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/010
Modeling
Oracle9i Designer Provides Tools For Visual Modeling. Reverse Engineering. Code Generation.
Oracle9iDS Also Supports UML Modeling By Utilizing Visual Tools For Activity And Class Modeling Within The JDeveloper Component.
The JDeveloper Component Provides Additional Productivity Through Business Components For Java (BC4J), A Built-in J2EE Framework.
Page No : 10 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/011
Team Support
Oracle9i Software Configuration Management Provides Versioning, Dependency Management, And Impact Analysis For All Objects And File Types.
Page No : 11 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/012
Using Oracle9i Discoverer Administrator We Can Prepare The Data For Reporting Standards of The Business System.
Enterprise Reporting
Oracle9i Reports Developer Enables The Developer To Access Any Data, To Publish it in Any Format, And To Send it Anywhere Through Web. Enterprise Reporting Supports Various Formats of Enterprise Reports Which Include HTML With CSS, PDF (Portable Document Format) RTF (Rich Text Format) Postscript, And XML (Extensible Markup Language)
Every Report That is Designed Through Oracle9i Reports Developer Can Be Exported into Any External Applications. The Reports Developed in Oracle9i Reports Developer Can Be Integrated into Oracle Forms 10gDS.
Let Us Kick Start With Oracle Forms Developer Environment What is Exactly Oracle Forms Developer?
Oracle Forms Developer is A Component of The Oracle Internet Developer Suite. It is A Productive Development Environment For Building Enterprise-Class, Scalable Database Applications For The Internet. Oracle Forms Developer Provides A Set of Tools That Enable Business Developers To Easily And Quickly Construct Sophisticated Database Forms And Business Logic With A Minimum of Effort. Oracle Forms Developer Uses Powerful Declarative Capabilities To Rapidly Create Applications From Database Definitions That Leverage The Tight Integration With Oracle9i. The Toolset Leverages Java Technology, Promotes Reuse, And is Designed To Allow Developers To Declaratively Build Rich User Interfaces.
Page No : 12 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/013 The Developer Productivity is Increased Through A Single Integrated Development Environment That Enables Distributed Debugging Across All Tiers, Utilizing The Same PL/SQL Language For Both Server And Client. Oracle Forms Developers Tight Integration With Oracle Designer Enables Us To Use A Productive Model-Driven Development Approach. Oracle Forms Developer Applications Can Be Automatically Generated From Business Requirements Designed in The Oracle Designer Modeling Environment. The Models Developed in The Oracle Designer Repository For Future Access. Are Stored in The Oracle
The Oracle Forms IDE is Fully Equipped With All The Tools For Developing The Control Items. Code-Level Changes Made Within The Oracle Forms Developer Environment Can Be Automatically Reverse Engineered Back into The Models, Preserving The Integrity Between The Models And The Application.
Key Features of Oracle9i Forms Developer Tools For Rapid Application Development
We Can Create And Modify Applications With Little OR no Code At All. Productivity Built-in With Wizard-Based Perform Rapid Application Enhanced Development. Provides Reusability.
Commands
That
Common
Functions For
Application Partitioning
We Can Place Individual PL/SQL Program Units on The Database Server OR in The Application, Whichever is Most Suitable. We Can Drag-And-Drop Objects Between Modules And The Database Server.
Extended Scalability
The Multi-Tiered Architecture Enables Us To Scale Applications From A Single User To Tens of Thousands of Users, With No Changes To The Application. We Can Use Server Functionality, Such As Array DML, Database Cursors, OR Bind Variables, To Improve Scalability. The Extended Scalability Provides The Facility of Maintenance Flexibility For Upward Compatibility.
Page No : 13 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/014
Object Reuse
Oracle Forms Developer Offers An Inheritance Model. Inheritance Model Facilitates The Inheritance of Attributes And Code From One Object To Another And From One Application To Another. The Inheritance Model is Provided Through The Concept of Sub Classing And Object Libraries. The Inheritance Model Save Time And Increases Productivity And Consistency.
Page No : 14 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/015
Connecting To Database
Once The Forms Builder Interface Opens We Should Connect To Database, With Proper Username And Password And Host String OR Database Name.
Page No : 15 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/016
Object Navigator
The Object Navigator is A Hierarchical Browsing And Editing Interface. It Can Be Used To Locate And Manipulate Application Objects Quickly And Easily.
Every Object OR Component in The Forms Developer Should Belong To Some Category in The Top-Level Node. Find Field And Icons, Enabling Forward And Backward Searches For Any Level of Node OR For An Individual Item in A Node. Icons in The Vertical Toolbar Replicating Common Edit And View Menu Functions. An Icon Next To Each Object To Indicate The Object Type, The Specific Editor For The Object Can Be Opened By Double Clicking The Icon of The Specific Object . The Top-level Nodes in The Object Navigator Include Forms Menus Libraries Object Libraries Built-in Packages Database Objects.
The Nodes Can Be Expandable OR Collapsed. Operations Perform in Object Navigator Are Expand And Collapse Entries. Locate Objects Quickly. Select Objects Create And Delete Objects. Copy And Move Objects Within And Between Modules. Switch Between Views.
Quickly Display The Code Associated With Objects Such As Triggers And Program Units
Page No : 16 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/017
Property Palette
All Objects in A Module, Including The Module Itself, Have Properties That We Can See And Modify in The Property Palette. The Property Palette is Used To Set The Properties of Objects Created in Form And Menu Modules. When We Select An Object in An Editor OR in The Object Navigator, The Property Palette is Updated To Show The Properties of That Object. The List of Properties in The Palette Are Synchronized Whenever We Select A Different Object. We Can Turn Synchronization on OR off For A Specific Palette By Clicking The Freeze/Unfreeze Button on The Property Palette Toolbar. We Can Compare The Properties of Two Objects, By Invoking Additional Property Palettes.
Property List is A 2-Column List of Property Names And Values. We Can Select Properties in The List By Clicking And By Navigating With The Up/Down Arrow Keys. Set The Properties By Selecting The Property And Then Typing OR Double-Clicking. Name Field Displays The Name of The Object Currently Selected in The Object Navigator OR An Editor. When A Property is Selected A Text Field, PopList, OR More Button is Displayed Beside The Property.
Layout Editor
The Layout Editor OR Layout Model is A Graphical Design Facility For Creating And Arranging Interface Items And Graphical Objects in The Application. We Can Use The Tool Palette And The Toolbar Available in The Layout Editor To Design The Style, Color, Size, And Arrangement of Visual Objects in The Application. The Layout on The Layout Editor Can Include Graphical Objects And Images. In The Layout Editor, We Can Work on A Single Canvas At A Time.
Canvases Are Associated To Windows And Are Displayed in Windows At Runtime. When We Specify The Window A Canvas Will Be Displayed, Which is Set By Canvas's Window Property.
Page No : 17 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/018
When We Create An Item By Drawing it on The Canvas in The Layout Editor, The Item is Assigned To The Current Block. We Can Change The Layout Editor Block Context Using The Block Poplist on The Toolbar.
Rulers
The Horizontal And Vertical Rulers Provide A Reference For Sizing And Arranging Objects in The Layout Editor. To Hide Rulers, Deselect The Rulers Option on The View Menu. Layout Editor Ruler Units Can Be Set To Character Cells, Inches, Centimeters, OR Points. To Display The Ruler Settings Dialog, Choose View Customize Rulers/Grid.
Grid
Grid Can Be Defined Within The Workspace And it Helps Us To Position Objects. The Grid is Rendered in The Current Ruler Units. We Can Hide OR Unhide The Grid Lines, By Selecting OR Deselecting The Grid Option in The View Menu.
Ruler Guides
Ruler Guides Are Horizontal And Vertical Dotted Lines That Can Be Used As References When Aligning Objects on A Canvas. To Create A Ruler Guide, Position The Pointer on Either Ruler, Then Click And Drag into The Workspace. Ruler Guides Are Not Displayed At Runtime. To Move A Ruler Guide, Drag it To A Different Location. To Delete A Ruler Guide, Drag it Out of The Workspace.
Page No : 18 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/019 To Temporarily Hide Ruler Guides Without Deleting Them, Deselect The Ruler Guides Option in The View Menu.
Status Line
The Status Line is Located at The Bottom of The Layout Editor Window. The Information Provided By The Status Line Absolute Mouse Position. Mouse Drag Distance. Rotation Angle. Magnification Level.
PL/SQL Editor
The PL/SQL Editor Enables Us To Incorporate PL/SQL Code Objects into The Form. Code Objects in Forms Developer Can Include Event Triggers. Subprograms Functions Procedures.
We Can Enter And Compile Code in The PL/SQL Editor With Exactly Similar Syntax As in PL/SQL Environment. PL/SQL Editor Helps in Identifying The Run Time Errors Without Moving To Other Environments. The PL/SQL Editor is Part of Forms 10gDS Environment, And Provides All The Features For Writing Application And Event Oriented Logic Locally, Within Forms Environment.
Page No : 19 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/020
Double-Clicking The Icon For A Trigger OR Program Unit When A PL/SQL Editor is Already Displayed Synchronizes The Editor To That Object. To Invoke A Separate PL/SQL Editor For The Object, Shift + Double-Click.
Type
It Sets Editor Context To A Specific Type of Code Object. When The Current Module is A Form, Type Can Be Set To Trigger OR Program Unit.
Page No : 20 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/021 When The Current Module is A Menu, Type Can Be Set To Menu Startup Code, Menu Item Code, OR Program Unit. When The Current Module is A Library, Type is Always Program Unit.
Object
Object Sets Editor Context To A Specific Object Scope. When Type is Set To Trigger, Object Scope Can Be Set To Form By Selecting Form Level in The First Poplist. To Set Editor Context To A Particular Block, Select The Name of The Block in The First Object Poplist. To Set Editor Context To An Item, Select The Block That Contains The Item in The First Object Poplist, Then Select The Item Itself in The Second Poplist. When The Current Module is A Menu, We Can Edit Menu Item PL/SQL Commands By Setting Type To Menu Item Code, Then Selecting The Menu on Which The Item Appears in The First Object Poplist, And The Menu Item Itself In The Second Poplist.
Name
The Name Option Lists All of The Code Objects Defined in The Current Context. Selecting A Code Object From The Name Poplist Makes That Object The Current Object in The Editor. When Context is Set To Item-Level Trigger, The Name Poplist Shows All of The Triggers Attached To That Item. When Editor Context is Set To Program Unit, The Name Poplist Shows All Subprograms And Packages Defined in The Current Module.
Program Includes Compilation And Commands Related to Code Debug Tools Invokes Debugger Functionality Access To Wizards And Other Forms Builder Components
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/022 The Available Tabs For Change Are General Subclass Wizard Runtime
Runtime
Array Processing
Makes Forms Builder Process A Groups of Records At A Time, Reducing Network Traffic And Increasing Performance.
After The Required Preferences Are Changes We Should Save The Preferences By Clicking The OK Button.
Saving Preferences
When We Click OK in The Preferences Dialog Box, Oracle Forms Developer Updates The Current Session With The Changes. When We Exit The Builder By Clicking File Exit, Oracle Forms Developer Writes The Changes To A Preference File For Future Sessions. The Name of The Preference File Varies on Different Platforms. Oracle Forms Developer And Oracle Reports Developer Share The Same Preference File. If The Preference File Already Exists, Oracle Forms Developer Merges Its Changes With The Existing File Without Affecting Preferences For Reports. Each Option in The Preference File is Prefixed By The Tool Name To Which it Belongs.
Page No : 22 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/023
NOTE
The Preference File is Read Whenever We Invoke The Forms Developer OR Reports Developer. The Preferences File is An Editable Text File, But We Should Alter The Options in The Preferences Dialog Box Only.
Page No : 23 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/024
Port For HTTP Server xxxx Default For HTTP Server 8888 Default For OC4J OR OC4J Forms Servlet Alias OR /Forms90/F90servlet Static Html File Parameters This Section Begins With ?; Parameters Separated By & Form=customers.Fmx Userid = username / Password @ database Buffer_records = no Debug_messages = no In The URL OR Taken From The Forms
Benefits of Jinitiator
It is Able To Incrementally Download The Java Archive Files (JAR Files) Needed For The Forms Client, Providing Faster Application Startup. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 24 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/025 It Caches The JAR Files Locally, So That They Do Not Need To Be Downloaded Again. It Improves Application Performance Within A Browser Session By Applet Instance Caching. When A User Navigates From The Current Page in The Browser, The Running Forms Application is Cached. When The User Comes Back To The Page Containing The Applet, The Applet That Was Running is Automatically Fully Restored, Including All of The Data Entered in The Application. It is Automatically Configured To Run The Forms Application in Trusted Mode. Trusted Mode Enables The Application To Have Access To Resources That The Java Sandbox Model Normally Prohibits it From Using, Such As Print Services.
Demerits of JInitiator
Not All Browsers Support The Forms Applet Through The JInitiator.
Page No : 25 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/026
Stage 2 Stage 3
Page No : 26 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/027
Page No : 27 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/028
Page No : 28 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/029
Sending The Client HTTP Requests And Receives HTTP Responses From The Web Server Process Itself. Make The Web Server Act As The Network Endpoint For The Client. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 29 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/030 Reduces The Need To Expose Additional Server Machines And Ports At The Firewall.
Page No : 30 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/031
System Parameters, Such As Envfile And Working Directory Can Be Specified At Runtime Through Modification. We Can Even Make Changes For User Parameters, For Forms And UserID And Java Client Settings.
Page No : 31 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/032 We Can Override This Value in Each New Database Session For A Particular Client By Setting The Clients NLS_DATE_FORMAT Environment Variable.
Default Menu
The Default Menu, is Part of All Oracle Forms Developer Applications, it is An Alternative To Keystroke Operations. We Can Replace OR Customize The Default Menu To Introduce Our Own Functionality into A Form Module.
Menu Toolbar
The Menu Toolbar Contains Buttons Corresponding To Menu Items. At Run Time, It Appears Above Any User-Defined Toolbars.
It Executes The Same Code As Menu Items, And It is A Shortcut To Menu Commands That Does Not Duplicate Code OR Effort.
Console
Console is The Visual Guide For Our Actions And Events in The Forms Developer Environment. The Console is The Generic Name For The Standard Features That Provide Information At Run Time. The Console is Displayed At The Bottom of The Window And Consists of The Message Messages. Line, That Displays Both Forms And Application-Specific
The Status Line That Displays A Variety of Indicators To Reflect The Current State of The Form Module.
Page No : 32 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/033
Record: n/m
Note
The Indicators Will Respond Depending on The Events And The Kind of Objects That Are Applied on The Block Within The Canvas.
Page No : 33 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/034
Prompts Differ From Graphic Text That is Placed on The Canvas, Prompts Are Directly Linked To An Item. Form Builder Provides Several Properties Using Which We Can Arrange And Manage Prompts And To Specify A Prompt's Visual Appearance.
Text Items
A Text Item is An Interface Control That Displays And Allows Editing of Text. The Text is Displayed in A Field in Either Single OR Multi-Line Format.
A Text Item Appears As An Empty Rectangular Box OR Container on The Canvas. By Default, An Editor Can Be Invoked From Any Text Item, When We Want To Apply Lengthy Text.
Boilerplate Graphics
Boilerplate Object Represents A Collection of Graphical Objects Which Can Be Placed on A Canvas Object. The Different Boilerplate Objects Are Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 34 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/035 Rectangles Ellipses Polygons Rounded Rectangles Text Boilerplate Objects Lines Arcs Polylines Free-Form Boilerplate Objects
Default Menu
The Default Menu is Automatically Available in A Form, Unless it is Disabled OR Replaced With A Customized Menu. Tasks Performed By Menu At Run Time To Move The Cursor And Navigate Between Data Blocks, Records, And Items. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 35 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/036 Save OR Clear All Changes. Execute Queries. Insert OR Delete Records. Invoke Help.
The Mouse
The Mouse is Used To Navigate And Perform User Operations in A Bitmapped Environment. Mouse is Used To Perform Move The Cursor. Select From A Menu OR An LOV. Select OR Clear A Check Box. Select A Button, Including A Radio Button. Switch To An Open Window. Respond To An Alert. Scroll Records OR Lines By Using A Data Block OR Item Scroll Bar. Manipulate A Custom Item.
Buttons
Web Applications Use Buttons As A Means of Navigation. We Use Buttons To Perform Move Input Focus. Display A LOV. Invoke An Editor. Invoke Another Window. Commit Data. Issue A Query. Perform Calculations. Exit The Form.
Function Keys
We Can Move From Item To Item In Sequence With Function Keys. We Use Function Keys To Perform Navigate Between Data Blocks, Records, And Items. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 36 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/037 Execute Queries. Insert OR Delete Records. Invoke Help.
Note
To View The List of Keys And The Functions They Perform, Select Help Keys, OR Press CTRL + K in The Run Form in Browser. When We Design The Applications For The End User, For Flexibility And Easiness of The End User We Have To Plan All The Different Navigation Styles As We Discussed Earlier.
Connect To The Required Database Using The Proper Username, Password And Database Connection.
Page No : 37 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/038
Click The Next Button in The Welcome Window. Select Table OR View Option in The Second Step.
Click The Browse Button in The Next Window And Select The Required Table in The Tables Window And Click OK. Click Move All Items To Targets Button And Click Next Button. Specify The Block Name And Click Next Button.
Select The Create The Data Block, And Then Call The Layout Wizard, And Click Finish. Click The Next Button in The Layout Wizard Window. Leave The Canvas Name As it is And Select The Canvas Type As Content Canvas Click The Next Button. Click Move All Items To Targets Button And Click Next Button And Click Next Button. Change The Prompt Name, Width And Height if Necessary And Click Next Button. Select The Layout Style As Form And Click Next Button. Specify The Frame Title And Click The Next Button. Click The finish Button To Finalize The Data Block Creation.
The Wizard Closes And Opens The Layout Editor With Default Style of The Data Block. Edit And Make Changes As Required on The Layout Editor, And Adjust The Properties As Required in The Property Palette For Each Item. Save The Form in A Specific Drive And Under A Personal Folder. Folder Name And The Form File Name Cannot Have Spaces And Special Charactes. Click The Compile And Run Button To Test.
Enter-Query Mode
Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 38 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/039 We Use Enter-Query Mode To Enter Search Criteria For A Database Query.
In Enter-Query Mode, The Keystrokes Are Interpreted As Search Criteria For Retrieving Restricted Data.
Obtain The Number of Records That Will Be Retrieved Before Fetching Them From The Database By Using Query Count Hits.
Normal Mode
We Use Normal Mode To Insert And Alter Records in The Database. In Normal Mode, Our Keystrokes Are Interpreted As Either The Entering of New Records OR The Altering of Existing Ones.
Retrieving Data
Page No : 39 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/040 We Can Use A Form Module To Retrieve Information From The Database Without Knowing Any SQL Syntax. If We Are An Experienced SQL User, We Can Supplement Oracle Forms Developer Default Processing With Our Own SQL Predicates. There Are Two Types of Queries Methods Unrestricted Query OR Global Query. Restricted Query.
Restricted Query
It is Equivalent of Selecting A Restricted Set of Rows For All The Represented Columns From The Base Table For The Queried Data Block.
We Cannot Perform A Query While We Have Unsaved Updates, Inserts, OR Deletes. Before Continuing The Query Either Save OR Undo The Changes.
Points To Ponder
Do Not Use Quotation Marks With Character And Date Items. The Like Operator is Implied With Only % OR _. Use Hash (#) in Front of SQL Operators. Use Query/Where For Complex Query Conditions. Use Default Date Format DD-MON-YY in Query/Where. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 40 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/041 Use Quotes Around Literals in Query/Where.
Enter Search Criteria into Appropriate Items, Follow The Above Steps To Execute.
Note
Forms Builder Constructs A Select Statement By Using The And Operator For All Specified Conditions. Literals Can Be Declared in Single Quotes. The Character Data is Case Sensitive And Date Data is Format Sensitive.
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/042
Note
Forms Builder Logically Uses The AND Operator To Append The Query/Where Conditions To Any Other Search Criteria And Constructs A SELECT Statement. Query/Where Dialog Box Acts Like The Bind Variable Concept As That of SQL*Plus.
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/043 Press The Enter Query Mode Button OR Press Function Key F11 OR Query Enter From Menu. Select The Item on Which The Condition Has To Be Applied And Type The Bind Variable Name Prefixing The : Symbol. Press Execute Query Button OR Press Function Key CTRL + F11 OR Query Execute From Menu To Display The Query/Where Dialog Box. Type The Required Condition Using The Specific Values For Search As Similar To SQL.
Select Query Execute To Retrieve All Records That Satisfy The Specific Search Criteria. Scroll Through The Records, Stopping At The Record To Be Deleted. Once The Specific Record is Found Then Execute The Following Action. Select Record Remove To Clear The Record And Mark it For Deletion. Click Remove Record (Red x) To Clear The Record And Mark it For Deletion. Press The Appropriate Function Key CTRL + Up. To Commit The Transaction Press CTRL + S.
Page No : 43 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/044
Note
The Above Transactional Processes Are All Provided By Default in Forms 10gDS, But As Per Our Requirement We Can Customize Them For More Consistency And Integrity.
NOTE
Clear Action Can Be Applied At Block, Form, Field OR Record Level.
Note
By Default, We Cannot Exit The Form While We Have Unsaved Updates, Inserts, OR Deletes. We Need To Either Save Or Undo The Changes Before We Can Exit From Forms Session.
Displaying Errors
The Errors On The Message Line Are Failure Of SQL Code, To View The Underlying SQL Code Select Help Display Error. The Display Error Option Displays only Those Messages Preceded By ORACLE Error.
Page No : 44 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/045
Let Us Start Understanding The Forms Developer Environment Key Features of Forms Builder
Forms Builder is A Major Component of Oracle Forms Developer. We Can Use Forms Builder To Quickly Develop Form-Based Applications For Presenting And Manipulating Data in A Variety of Ways.
Use Design Features Such As Wizards, The Layout Editor, Object Navigator, And PL/SQL Editor.
Forms Builder
This is The Application-Building Component of Oracle Forms Developer. Forms Builder Can Be Used To Design And Store The Definitions of Form, Menu, And Library Documents. From The Forms Builder, We Can Invoke The Other Component, i.e. Forms Compiler. We Must Run The Forms Builder Component in A GUI Environment in Order To Use its Graphical Design Facilities.
Page No : 45 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/046
Forms Compiler
Once The Form is Built, We Use The Forms Compiler. Forms Compiler Reads The Definition of The Form Module And Creates An Executable Run File.
The Files Used At Run Time Must Already Have Been Compiled By The Forms Compiler Component. The Files Must Reside on The Middle Tier Machine in A Directory Accessible To The Forms Runtime Engine As Specified in FORMS90_PATH. We Can Test Our Applications, By Accessing Forms Services Directly From Forms Builder By Setting Certain Preferences.
Form Module
It is The Main Component of An Application, The Form Module Presents The Objects And Data That Users Can See OR Interact With. Data Items in A Form Are Arranged into Records.
Menu Module
A Menu Module Can Consist of A Hierarchy of Menus, Each With Selectable Items. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 46 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/047
The Default Menu Includes Commands For All Basic Database Operations, Such As INSERT, DELETE, QUERY. If The Application Has Specific Requirements That Are Not Met By The Default Menu, We Can Create A Custom Menu Module. Menu Modules Are Not Functional By Themselves, But When Attached To Form Modules They Can Provide A Service To The Facilities Offered By A Form. PL/SQL Library Documents Can Contain Program Units That Can Be Used By Other Form And Menu Modules. We Can Build An Application From Multiple Form Modules, Menu Modules, And Library Documents As Needed.
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/048 There Are Three Major Objects in A Form
Items
Items Are Interface Objects That Present Data Values To The User OR Enable The User To Interact With The Form, Depending Upon The Item Type. Items Are Logically Grouped Into Blocks And Visibly Arranged on Canvases.
Blocks
A Block is The Intermediate Building Unit For Forms. Each Form Consists of One OR More Blocks.
A Block is The Logical Owner of Items, And Each Item in A Form Belongs To A Block. Items in One Block Are Logically Related To Columns in The Same Database Table OR May Need To Be Part of The Same Navigation Cycle. Blocks Provide A Mechanism For Grouping Related Items into A Functional Unit For Storing, Displaying, And Manipulating Records.
Canvases
A Canvas is A Surface Where Visual Objects, Such As Graphics And Items, Are Arranged. A Form Module Can Have Several Canvases. A Canvas Can Display Items From One OR More Blocks. To See A Canvas And Its Items, We Must Display The Canvas in A Window.
By Default, All Canvases in A Form Appear in The Same Window, Which Means That We See Only One Canvas At A Time. But We Can Assign Separate Windows For Each Canvas So That Several Canvases Can Be Viewed At Once.
Note
Items In One Block Do Not Need To Be Physically Grouped. They Can Span Many Canvases And Windows.
Page No : 48 of 49
SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/049
When We Build Database Applications With Forms Builder, Many of The Blocks Will Be Data Blocks. A Data Block is Associated With A Specific Database Table OR View. A Stored Procedure. A FROM Clause Query. Transactional Triggers.
If it is Based on A Table OR View, The Data Block Can Be Based on Only One Base Table, Even Though The Data Block Can Be Programmed To Access Data From More Than One Table And Data Sources.
Page No : 49 of 49