Forms10gDS By Sathish Yellanki

April 2, 2018 | Author: Yellanki | Category: Java (Programming Language), Java Servlet, Pl/Sql, Oracle Database, Web Server


Comments



Description

SkyEss Techno Solutions Pvt. Ltd.Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/01 Introduction To Oracle Forms Developer And Oracle Forms Services Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 1 of 49 SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/02 What Are Internet Computing Solutions? • These Are Applications OR Products Designed And Developed For Global, Multi And Distributed Client Computing Architectures. • These Applications OR Products Are Not Designed Specific To A Device OR Platform OR Operating System Architecture. • The Products OR Applications Are Provided With Universal Interface Through Macro OR Micro Browsers. • The Internet Independent. Computing Solutions Are Protocol And Network Topology • 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. Component Development Tools • Component Developers Need Different Tools And Methods To Design And Develop Programming Components For Internet. • Components Are Object Based And Reusable. • Component Developers Prime Choice At Internet Level is Java Language, Hence Oracle’s Solution is JDeveloper. Web Site And Content Development Tools • Web Site Developers And Content Publishers Who Want To Build Self-Service Dynamic Hypertext Markup Language (HTML) Applications For Web Sites. • Oracle Portal Provides An Easy-To-Use Development Environment That Resides Entirely Inside An Oracle9i Database. • Oracle Portal Provides A Browser-Based Environment From Development Through Deployment of An Application. Management Information System Tools • Oracle Business Intelligence Toolset is The Solution For Applications Targeting MIS And DSS Systems. • The Tools Provided By Oracle Business Intelligence Tool Set Are… • Oracle Reports Developer. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 2 of 49 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. Products Provided By Oracle9i Oracle9i Database • Manages All The Clients Information, Such As Word Documents, Excel Spreadsheets, XML, And Images. • Oracle9iDS Tools Can Automatically Reuse The Database Structure And Its Integrity Constraints, Reducing The Amount of Manual Coding. Oracle9i Application Server (Oracle9iAS) • Oracle9i Application Server Runs All The Applications, Including Java, Wireless, Portals, And Business Intelligence. • Using Oracle9iAS, We Can Deploy And Manage All Applications Developed With Oracle9iDS in A Single Application Server. • Oracle9i Forms Services is Used To Deploy Forms Applications From Oracle9iAS. Oracle9i Developer Suite (Oracle9iDS) • Oracle9iDS Leverages The Infrastructure Offered By Oracle9iAS And Oracle9i Database. • Oracle9iDS Enables Developers To Build Scalable, Secure, And Reliable Ebusiness Applications Quickly And Easily. • The Suite is A Complete And Highly Productive Development Environment For Building Applications. Let Us Look into Oracle9i Application Server Architecture Oracle 9iAS Architecture Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 3 of 49 SkyEss Techno Solutions Pvt. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/04 Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 4 of 49 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. Management Services • These Are A Common Set of Systems Management Services To Monitor The Status. Resource Pooling. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Managing A Single Instance OR Cluster of Instances. Different Services Provided By Oracle9iAS Communication Services • It is Communication Management Layer Embedded With A Variety of Protocols Like • • • • • • HTTP (Hypertext Transfer Protocol) SOAP (Simple Object Access Protocol) RMI (Remote Method Invocation) IIOP (Internet Inter-ORB Protocol) Wireless. Transaction Management. Provide A Comprehensive Directory Service Framework To Manage Users. Fault Monitoring. • • • • • The Different Management Services Include… Monitoring Resource Consumption And Usage. Application Runtime Services • It is A J2EE Container Which Provides A Common Runtime Environment For Applications Developed As JSP’s. Page No : 5 of 49 . Performance And Faults Occurring in The System. Resource Management. Servlets. Centrally Administer Security For Users And Applications. EJB’s. And Web Services. System Services • This is A Collection of Common Set of Runtime Services That Are Necessary For J2EE Applications And Web Services.SkyEss Techno Solutions Pvt. Ltd. Clustering. Web Cache. Messaging. • The Different System Services Include… • • • • • • • Request Dispatch And Scheduling. Ltd. Enterprise Integration. Solutions • A Comprehensive Set of Solutions All Built on The Infrastructure Described Above. • Solutions Include Enterprise Portals. Reports Services. Personalization.SkyEss Techno Solutions Pvt. Wireless. Discoverer. Intelligence. And Independent Software Vendor Solutions. Business Let Us Have A Look into Oracle 9iAS Components • The Operations That Can Be Executed Using Components of Oracle 9iAS Are… Extract And Analyze Business Intelligence • • • • Clickstream. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 6 of 49 . 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. Ltd. Internet File System. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Workflow. Page No : 7 of 49 . Unified Messaging. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/07 Business Integration Components • • • • InterConnect. Create Personalized Portals • Oracle 9iAS Portal Deploy Dynamic Web Applications • • • • • XDK Web Services Forms Services OC4J HTTP Server Manage And Secure Web Infrastructure • • • Enterprise Manager Security Internet Directory Oracle Forms Services Overview • A Component of Oracle9i Application Server That Deploys Forms Applications To Java Clients in A Web Environment.SkyEss Techno Solutions Pvt. Ltd. Page No : 8 of 49 . The Forms Servlet. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/08 What is Actually Oracle Forms Services • It is A Component of Oracle9i Application Server For Delivering Oracle Forms Developer Applications To The Internet. Let us Peep into Forms Services Architecture • Forms Services Consists of Four Major Components • • • • The Java Client (Forms Client). The Forms Runtime Engine. • The Database Tier is The Database Server. • The Middle Tier is The Application Server. • It Automatically Provides The Infrastructure That is Needed To Successfully Deliver Applications on The Internet Through Built-in Services And Optimizations. Where The Application is Displayed And Used. Where Enterprise Data is Stored. The Forms Listener Servlet. Where The Application Logic And Server Software Reside.SkyEss Techno Solutions Pvt. • It Uses A Three-Tier Architecture To Deploy Database Applications • The Client Tier Contains The Web Browser. • Very Perfectly Optimized For The Oracle9i Database And Oracle9i Application Server Architectures. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/09 • When A User Runs A Forms Session Over The Web. • Increases The Productivity of The Application Development. Regardless of Size And Complexity. Page No : 9 of 49 . Ltd. • Provides Flexible And Scalable Solutions For Data Warehousing And Business Intelligence Needed For OLAP Environments. Environment. Java-Based Forms Applet is Dynamically Downloaded From The Application Server And Automatically Cached On The Java Client Machine. The Developer Need Not Know Java in Order To Develop And Deploy A Forms Application. • Even Though Forms Services Uses A Java Applet For Displaying The Form on The Client Browser. • Provides Standards-Based. Java And XML Integrated Development • It Supports The Full Application Development Life-Cycle With CASE. A Thin. Prototyping And RAD Approach. • The Same Java Applet Code Can Be Used For Any Form. With Maintenance Free Deployment And Development of Products. Let us Understand The Benefits of Oracle9i Developer Suite • The Oracle9i Developer Suite Combines The Power of Oracle Application Development Tools And Oracle Business Intelligence Tools onto One Single Platform.SkyEss Techno Solutions Pvt. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/010 Let us Understand Application Development Process Using Oracle9iDS Modeling • Oracle9i Designer Provides Tools For • • • Visual Modeling. Property Inspectors. Ltd. Rapid Application Development (RAD) • RAD Capabilities in Oracle9iDS Include • • • • Feature Integrated Builders. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Code Generation. Reverse Engineering.SkyEss Techno Solutions Pvt. Re-Entrant Wizards. Live Pre-Viewers. • Oracle9iDS Also Supports UML Modeling By Utilizing Visual Tools For Activity And Class Modeling Within The JDeveloper Component. Page No : 10 of 49 . A Built-in J2EE Framework. • The JDeveloper Component Provides Additional Productivity Through Business Components For Java (BC4J). Team Support • Oracle9i Software Configuration Management Provides • • • Versioning. Java Server Pages (JSP) And Servlets. Let us Understand Oracle9iDS Business Intelligence Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Dependency Management. Discovery. Web Services Support SOAP (Simple Object Access Protocol). Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/011 J2EE And Web Services • Oracle9iDS Supports The Latest J2EE 1.SkyEss Techno Solutions Pvt. UDDI (Universal Description. And Impact Analysis For All Objects And File Types.2 API’s Which Include • • • • • • Enterprise JavaBeans (EJB). Page No : 11 of 49 . WSDL (Web Service Definition Language). Ltd. And Integration). • OWB Provides An Extensible Framework For Integrating A Diverse Set of Data Sources And Integration With Business Intelligence Tools. • It is A Productive Development Environment For Building Enterprise-Class. • The Reports Developed in Oracle9i Reports Developer Can Be Integrated into Oracle Forms 10gDS. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Ltd. Transformation. And To Send it Anywhere Through Web. • Enterprise Reporting Supports Various Formats of Enterprise Reports Which Include • • • • • HTML With CSS. End User Query And Analysis • Oracle9i Discoverer Administrator is Used To Create And Maintain A Business Oriented View of The Data That Supports The Discoverer Client Tools Like • • Discoverer Plus Discoverer Viewer (in Oracle9iAS) Discoverer Desktop (in Oracle9iDS) • Using Oracle9i Discoverer Administrator We Can Prepare The Data For Reporting Standards of The Business System. To Publish it in Any Format. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/012 Extract.SkyEss Techno Solutions Pvt. • Oracle Forms Developer Uses Powerful Declarative Capabilities To Rapidly Create Applications From Database Definitions That Leverage The Tight Integration With Oracle9i. And XML (Extensible Markup Language) • Every Report That is Designed Through Oracle9i Reports Developer Can Be Exported into Any External Applications. Promotes Reuse. • The Toolset Leverages Java Technology. PDF (Portable Document Format) RTF (Rich Text Format) Postscript. Page No : 12 of 49 . and Load (ETL) • Oracle9i Warehouse Builder Provides A Graphical Interface For Mapping And Transformation. 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. And is Designed To Allow Developers To Declaratively Build Rich User Interfaces. 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. Enterprise Reporting • Oracle9i Reports Developer Enables The Developer To Access Any Data. • The Extended Scalability Provides The Facility of Maintenance Flexibility For Upward Compatibility. • Flexible Source Control • Oracle9i Software Configuration Manager (SCM) is Integrated Directly in Forms Developer To Provide Source Control Options.SkyEss Techno Solutions Pvt. 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. Key Features of Oracle9i Forms Developer • Tools For Rapid Application Development • We Can Create And Modify Applications With Little OR no Code At All. • Code-Level Changes Made Within The Oracle Forms Developer Environment Can Be Automatically Reverse Engineered Back into The Models. Utilizing The Same PL/SQL Language For Both Server And Client. Productivity Built-in With Wizard-Based Perform Rapid Application • Enhanced Development. • The Models Developed in The Oracle Designer Repository For Future Access. Diff And Merge Utilities. • Oracle Forms Developer Applications Can Be Automatically Generated From Business Requirements Designed in The Oracle Designer Modeling Environment. Preserving The Integrity Between The Models And The Application. • Extended Scalability • The Multi-Tiered Architecture Enables Us To Scale Applications From A Single User To Tens of Thousands of Users. Such As Array DML. • We Can Use Server Functionality. To Improve Scalability. Impact Analysis. OR Bind Variables. Whichever is Most Suitable. With No Changes To The Application. Commands That Common Functions For • Application Partitioning • We Can Place Individual PL/SQL Program Units on The Database Server OR in The Application. Ltd. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • We Can Drag-And-Drop Objects Between Modules And The Database Server. Versioning. Database Cursors. • Oracle Forms Developer’s Tight Integration With Oracle Designer Enables Us To Use A Productive Model-Driven Development Approach. • Provides Reusability. Are Stored in The Oracle • The Oracle Forms IDE is Fully Equipped With All The Tools For Developing The Control Items. Page No : 13 of 49 . Such As • • • • Checkin And Checkout Capability. • 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.SkyEss Techno Solutions Pvt. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/014 • Object Reuse • Oracle Forms Developer Offers An Inheritance Model. Starting OC4J Instance • Before Starting The Forms 10gDS Environment We Should Start The OC4J Instance. Page No : 14 of 49 . Stopping OC4J Instance • After Working in Forms 10gDS Environment We Should Stop The OC4J Instance Before We Exit Forms 10g DS Environment. Ltd. Steps To Stop OC4J Instance • Start à All Programs à Oracle9i DS à Forms Developer à Stop OC4J Instance. Steps To Start OC4J Instance • Start à All Programs à Oracle9i DS à Forms Developer à Start OC4J Instance. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki.0) Containers For J2EE Initialized”. Ltd.2. Let us Understand The Forms Builder Components • The Interface Components of The Forms Builder Tool Help To Provide Flexibility And Productivity of The Oracle Forms Developer Development Environment. With Proper Username And Password And Host String OR Database Name.0. Page No : 15 of 49 . Steps To Start Forms Builder Environment • Start à All Programs à Oracle9i DS à Forms Developer à Forms Builder. • This Message Indicates That We Can Go For Instantiating The Forms Builder Environment. We Get The Message “Oracle9iAS (9.SkyEss Techno Solutions Pvt. Connecting To Database • Once The Forms Builder Interface Opens We Should Connect To Database.0. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/015 Starting Oracle Forms Developer • Once The OC4J Instance is Started. Steps To Connect To Database • Press CTRL + J To Open The connect Dialog Box OR File à Connect From The Menu OR Press Connect Button. • Find Field And Icons. Enabling Forward And Backward Searches For Any Level of Node OR For An Individual Item in A Node. Operations Perform in Object Navigator Are • • • • • • • Expand And Collapse Entries. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/016 Object Navigator • The Object Navigator is A Hierarchical Browsing And Editing Interface. Page No : 16 of 49 .SkyEss Techno Solutions Pvt. Select Objects Create And Delete Objects. The Specific Editor For The Object Can Be Opened By Double Clicking The Icon of The Specific Object . Ltd. • Icons in The Vertical Toolbar Replicating Common Edit And View Menu Functions. Switch Between Views. Database Objects. And Built-in Packages. Quickly Display The Code Associated With Objects Such As Triggers And Program Units Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • The Top-level Nodes in The Object Navigator Include • • • • • • • • Forms Menus Libraries Object Libraries Built-in Packages Database Objects. • Every Object OR Component in The Forms Developer Should Belong To Some Category in The Top-Level Node. Copy And Move Objects Within And Between Modules. Top-Level Nodes Show Module Types. • An Icon Next To Each Object To Indicate The Object Type. Object Navigator Features • • A Hierarchy of Objects Represented By Indentation And Expandable Nodes. • It Can Be Used To Locate And Manipulate Application Objects Quickly And Easily. Locate Objects Quickly. The Nodes Can Be Expandable OR Collapsed. We Can Work on A Single Canvas At A Time. Ltd. • We Can Use The Tool Palette And The Toolbar Available in The Layout Editor To Design The Style. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/017 Property Palette • All Objects in A Module. OR More Button is Displayed Beside The Property. • • The Layout on The Layout Editor Can Include Graphical Objects And Images. • We Can Select Properties in The List By Clicking And By Navigating With The Up/Down Arrow Keys. PopList. Have Properties That We Can See And Modify in The Property Palette. Features Provided By Property Palette Are • Copy And Reuse Properties From Another Object. • We Can Compare The Properties of Two Objects. And Icons. • Find Field Navigator. • The List of Properties in The Palette Are Synchronized Whenever We Select A Different Object. 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.SkyEss Techno Solutions Pvt. • Name Field Displays The Name of The Object Currently Selected in The Object Navigator OR An Editor. The Property Palette is Updated To Show The Properties of That Object. Size. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Color. • When We Select An Object in An Editor OR in The Object Navigator. In The Layout Editor. And Arrangement of Visual Objects in The Application. Page No : 17 of 49 . • We Can Turn Synchronization on OR off For A Specific Palette By Clicking The Freeze/Unfreeze Button on The Property Palette Toolbar. Similar To Object • Property List is A 2-Column List of Property Names And Values. • The Property Palette is Used To Set The Properties of Objects Created in Form And Menu Modules. • Set The Properties By Selecting The Property And Then Typing OR Double-Clicking. • When A Property is Selected A Text Field. • Canvases Are Associated To Windows And Are Displayed in Windows At Runtime. Which is Set By Canvas's Window Property. Including The Module Itself. By Invoking Additional Property Palettes. • When We Specify The Window A Canvas Will Be Displayed. Drag it To A Different Location. The Name of The Canvas Being Edited. The Item is Assigned To The Current Block. The Grid is Rendered in The Current Ruler Units. Centimeters. • To Hide Rulers. The Name of The Current Block. Position The Pointer on Either Ruler. Deselect The Rulers Option on The View Menu. By Selecting OR Deselecting The Grid Option in The View Menu. Ltd. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/018 Layout Editor Context • The Title Bar of The Layout Editor Window Displays The Context Information Related To • • • The Name of The Current Form. We Can Hide OR Unhide The Grid Lines. Rulers • The Horizontal And Vertical Rulers Provide A Reference For Sizing And Arranging Objects in The Layout Editor. Drag it Out of The Workspace. • To Display The Ruler Settings Dialog. Inches. Choose View à Customize Rulers/Grid. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • • • Ruler Guides Are Not Displayed At Runtime. Ruler Guides • Ruler Guides Are Horizontal And Vertical Dotted Lines That Can Be Used As References When Aligning Objects on A Canvas. • We Can Change The Layout Editor Block Context Using The Block Poplist on The Toolbar.SkyEss Techno Solutions Pvt. Then Click And Drag into The Workspace. Grid • • • Grid Can Be Defined Within The Workspace And it Helps Us To Position Objects. • To Create A Ruler Guide. • Layout Editor Ruler Units Can Be Set To Character Cells. • When We Create An Item By Drawing it on The Canvas in The Layout Editor. Page No : 18 of 49 . To Move A Ruler Guide. OR Points. To Delete A Ruler Guide. Status Line • • • • • • The Status Line is Located at The Bottom of The Layout Editor Window. Deselect The Ruler Guides Option in The View Menu. Page No : 19 of 49 . Rotation Angle. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Subprograms • • • • • Functions Procedures. • • • Code Objects in Forms Developer Can Include Event Triggers.SkyEss Techno Solutions Pvt. • PL/SQL Editor Helps in Identifying The Run Time Errors Without Moving To Other Environments. • We Can Enter And Compile Code in The PL/SQL Editor With Exactly Similar Syntax As in PL/SQL Environment. Mouse Drag Distance. Magnification Level. The Information Provided By The Status Line Absolute Mouse Position. Packages. PL/SQL Editor • The PL/SQL Editor Enables Us To Incorporate PL/SQL Code Objects into The Form. And Provides All The Features For Writing Application And Event Oriented Logic Locally. Within Forms Environment. • The PL/SQL Editor is Part of Forms 10gDS Environment. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/019 • To Temporarily Hide Ruler Guides Without Deleting Them. Menu Startup Code. Ltd. Menu Item Commands. We Will Be Prompted To Select A Trigger Name OR For A Program Unit Name To Create. it is Displayed in The PL/SQL Editor. Type Can Be Set To Trigger OR Program Unit. • If No Code Objects Are Defined. • When The Current Module is A Form. • Double-Clicking The Icon For A Trigger OR Program Unit When A PL/SQL Editor is Already Displayed Synchronizes The Editor To That Object. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/020 Displaying the PL/SQL Editor • • Choose Program à PL/SQL Editor. • We Can Change The Type. Object. Shift + Double-Click.SkyEss Techno Solutions Pvt. Type • It Sets Editor Context To A Specific Type of Code Object. If The Currently Selected Object is A Code Object The PL/SQL Editor is Synchronized To That Object's Context. • The Name Option Lists All of The Code Objects Defined in That Context. • If There is A Code Object Defined in The Current Context. PL/SQL Editor Context • The Type And Object Options At The Top of The PL/SQL Editor Define The Current Object Context. And Name Options When We Want To View Code Objects Defined in A Different Context. • To Invoke A Separate PL/SQL Editor For The Object. OR In The Object Navigator. • When We Invoke The PL/SQL Editor. Double-Click The Object Icon For Any Code Object. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 20 of 49 . Ltd. Create. And So on Common Commands For Use in Layout Editor Program Includes Compilation And Commands Related to Code Debug Tools Invokes Debugger Functionality Access To Wizards And Other Forms Builder Components Customizing The Forms Builder Session Oracle Forms Developer Preferences • Forms Developer Preferences is Used To Customize Some Aspects of The Forms Builder Session. • When Type is Set To Trigger. • When Context is Set To Item-Level Trigger.SkyEss Techno Solutions Pvt. Ltd. Forms Builder Main Menu File View Edit Layout Common File Utilities. Preferences. And The Menu Item Itself In The Second Poplist. Administration. • When The Current Module is A Menu. • When The Current Module is A Library. Then Selecting The Menu on Which The Item Appears in The First Object Poplist. Cut. Select The Name of The Block in The First Object Poplist. OR Program Unit. • To Set Editor Context To An Item. Such As Open. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/021 • When The Current Module is A Menu. Connect. Name • The Name Option Lists All of The Code Objects Defined in The Current Context. Then Select The Item Itself in The Second Poplist. We Can Edit Menu Item PL/SQL Commands By Setting Type To Menu Item Code. Select The Block That Contains The Item in The First Object Poplist. • When Editor Context is Set To Program Unit. Type is Always Program Unit. The Name Poplist Shows All Subprograms And Packages Defined in The Current Module. And Manage Our Form Modules. Copy. Switch View in Current Window Options Vary Depending On Context. The Name Poplist Shows All of The Triggers Attached To That Item. Type Can Be Set To Menu Startup Code. Object Scope Can Be Set To Form By Selecting Form Level in The First Poplist. Page No : 21 of 49 . Object • Object Sets Editor Context To A Specific Object Scope. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • Selecting A Code Object From The Name Poplist Makes That Object The Current Object in The Editor. Save. Menu Item Code. Modify. Let Us Understand The Forms Builder Menu Structure • The Forms Builder Main Menu Contains Options To Enable Us To Create. Paste. • To Set Editor Context To A Particular Block. Oracle Forms Developer Updates The Current Session With The Changes. Click OK To Save Changes. Reducing Network Traffic And Increasing Performance. Oracle Forms Developer Merges Its Changes With The Existing File Without Affecting Preferences For Reports. Options For Keeping OR Removing The Sub-Classing Path.SkyEss Techno Solutions Pvt. Saving Preferences • When We Click OK in The Preferences Dialog Box. Check Box To Suppress Welcome Dialog Box. • The Name of The Preference File Varies on Different Platforms. Ltd. • If The Preference File Already Exists. OR Display The First Tab Name General Subclass Wizards Runtime Array Processing Makes Forms Builder Process A Groups of Records At A Time. • Each Option in The Preference File is Prefixed By The Tool Name To Which it Belongs. • Oracle Forms Developer And Oracle Reports Developer Share The Same Preference File. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/022 • • • • • The Available Tabs For Change Are… General Subclass Wizard Runtime Forms Builder Preferences • • • Forms Builder Preferences Can Be Set Two Levels Session Preferences Run-Time Setting Preferences Steps To Modify Preferences • • • Select Edit à Preferences. Page No : 22 of 49 . Oracle Forms Developer Writes The Changes To A Preference File For Future Sessions. • After The Required Preferences Are Changes We Should Save The Preferences By Clicking The OK Button. Preference Build Before Running Sub-Classing Path Welcome Dialog Description Determines Whether Forms Builder Automatically Compiles The Active Module When We Run A Form. Specify Any Options That You Require. • When We Exit The Builder By Clicking File à Exit. Object_Access = FILE Forms. Running a Forms Developer Application • Deploying Form Applications To The Web is Implemented By The Three-Tier Architecture of Oracle9i Application Server. Which in Turn Downloads A Java Applet To The Client Machine For Display. • End Users Can Run Forms Developer Applications in A Web Browser. • The Preferences File is An Editable Text File.Build_Before_Run = ON Forms.SkyEss Techno Solutions Pvt. • Forms Services When Deployed Generates An HTML File. • The Small Applet is Capable of Displaying The User Interface of Any Form. • All Trigger Processing Occurs on Database And Application Servers.Welcome_Dialog = ON NOTE • The Preference File is Read Whenever We Invoke The Forms Developer OR Reports Developer. • Users Request An Application in Their Web Browsers By Entering A URL That Points To The Application. While User Interface Processing Occurs on The Forms Client. While The Application Logic is Executed on The Middle Tier. Ltd. • Application Logic And The Forms Services Runtime Engine Reside on The Middle-Tier Application Server. Page No : 23 of 49 . Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. But We Should Alter The Options in The Preferences Dialog Box Only. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/023 Pseudo Format of Preference File • • • Reports. Benefits of Jinitiator • It is Able To Incrementally Download The Java Archive Files (JAR Files) Needed For The Forms Client. The Format of The URL is http://Host[:port]/Forms Servlet OR Html File[Parameters] Components of The URL Protocol Domain http summit. Page No : 24 of 49 . Oracle Provides A Plug-in Called Jinitiator That Provides An Alternate JRE Capable of Running The Forms Applet.Fmx Userid = username / Password @ database Buffer_records = no Debug_messages = no In The URL OR Taken From The Forms • Parameters Can Be Specified Configuration File. Providing Faster Application Startup.SkyEss Techno Solutions Pvt.Com 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 “?”. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/024 Oracle Forms Services Deployment Running a form in Browser • • We Have To Use A URL To Invoke An Application in Forms Developer. All Web Browsers Are Not Able To Natively Run The Forms Client. Ltd. The Java Runtime Environment • The Web Browser Can Run A Java Applet Because It Provides A Java Runtime Environment (JRE). Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Parameters Separated By “&” Form=customers. • On Windows Platforms. So That They Do Not Need To Be Downloaded Again. Page No : 25 of 49 . • When The User Comes Back To The Page Containing The Applet. • Trusted Mode Enables The Application To Have Access To Resources That The Java Sandbox Model Normally Prohibits it From Using. • It is Automatically Configured To Run The Forms Application in Trusted Mode. The Applet That Was Running is Automatically Fully Restored. Starting a Form Run-Time Session in Oracle Forms Stage 1 Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Such As Print Services.SkyEss Techno Solutions Pvt. Including All of The Data Entered in The Application. • When A User Navigates From The Current Page in The Browser. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/025 • It Caches The JAR Files Locally. • It Improves Application Performance Within A Browser Session By Applet Instance Caching. Demerits of JInitiator • Not All Browsers Support The Forms Applet Through The JInitiator. Ltd. The Running Forms Application is Cached. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/026 Stage 2 Stage 3 Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 26 of 49 . Ltd.SkyEss Techno Solutions Pvt. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/027 Starting a Form Run-Time Session Steps Involved • The User Accesses The URL That Indicates That A Forms Application Should Be Run. The Forms Servlet in Turn Points Towards The Application Server. Page No : 27 of 49 . • The Forms Listener Servlet.SkyEss Techno Solutions Pvt. Forms Runtime Command-Line Parameters And Any User-Defined Forms Builder Parameters Are Passed To The Process By The Forms Listener Servlet. • If Included in The HTML File. • These Parameters Will Be Operating For Authorization And Authentication of The Forms Environment. • The Oracle HTTP Server OR OC4J Receives An HTTP Request From The Browser Client And Contacts The Forms Servlet. • The Client Caches The Applet So That it Can Run Future Forms Applications Without Downloading it Again. Which Connects To The Database if Needed And Loads Application Executable Files. • The Forms Applet Displays The User Interface of The Application in The Main Window of The User’s Web Browser. • The Forms Listener Servlet Starts An Instance of The Forms Runtime Engine on The Forms Server Which is a Middle Tier. • The Forms Listener Servlet Establishes A Connection With The Runtime Engine. Ltd. Manages Communication Between The Forms Applet And The Runtime Engine. • The Forms Servlet Dynamically Creates An HTML Page Containing All The Information To Start The Forms Session. What is Actually Forms Servlet? • The Forms Servlet is A Java Servlet That Creates A Dynamic HTML File By Merging Information From Various Sources… • • • • • The Forms Web Configuration File The Forms Base HTML File The Application’s URL Parameters A Specific URL is Used To Point Towards The Forms Servlet. • The Oracle HTTP Server OR OC4J Downloads A Generic Applet To The Client After Checking That it Has Not Already Been Downloaded. Working Through OC4J Or The HTTP Server. • The Client Applet Contacts The Forms Listener Servlet To Start The Session And Maintains That Session ID Throughout The Connection. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/028 Let Us Understand The Forms Client • The Forms Client is A Generic Java Applet.SkyEss Techno Solutions Pvt. Responsibilities of The Forms Client • The Forms Client Represents The User Interface Layer And Has Three Primary Functions… • • • To Render The Forms Services Application Display For The User. Only Those Java Classes That Are Necessary To Initialize The Application Are Downloaded. • We Need Not Deploy A Separate Java Applet For Each Application. • At Startup. To Support Additional User Interface Activity. To Efficiently Process User Interaction Back To Forms Services. • The Same Generic Applet is Used To Run Any Forms Services Application. Page No : 28 of 49 . • The Forms Client Consists of A Set of Java Classes. Ltd. To Process Incoming Messages From Forms Services And Translate Them Into Interface Objects For The End User Efficiently. • Additional Class Files Are Downloaded Dynamically. Regardless of Its Size And Complexity. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • Forms Services Dynamically Downloads The Applet And Automatically Caches it on The Client Machine. As Needed. Forms Listener Servlet Services • Managing The Creation of The Forms Runtime Process For Each Client. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/029 Let Us Understand The Forms Listener Servlet • The Forms Listener Servlet is A Java Servlet That Runs in A Web Server Equipped With A Servlet Engine. Page No : 29 of 49 . • Sending The Client HTTP Requests And Receives HTTP Responses From The Web Server Process Itself. Such As OC4J. Ltd. • Make The Web Server Act As The Network Endpoint For The Client. Through The Web Server. • The Web Server Directs HTTP Requests For The Forms Listener Servlet Directly To The Servlet Instances. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • Managing The Network Communications That Occur Between The Client And its Associated Forms Runtime Process.SkyEss Techno Solutions Pvt. • The Environment Variables Must Be Set on The Machine Where Oracle10gDS is Installed. Such As Help. Let Us Understand The Oracle Developer Environment Variables • Oracle Forms Developer Uses Many Environment Variables Which Are Assigned With Default Values. Menus. Page No : 30 of 49 . 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. Let Us Understand The Forms Runtime Engine • The Forms Runtime Engine is A Process on The Application Server That is Started By The Forms Listener Servlet. • The “FORMS10_BUILDER_CLASSPATH” Variable is Used By Forms Builder in Forms10gDS. Setting Search Paths For Run Time • Forms Uses Some Environment Variables Set on The Middle Tier Machine To Search At Run Time. • Forms Runtime Engine is The Only Component That Communicates With The Client Browser And The Database. • Forms Runtime Engine Manages Requests From The Forms Client And Sends Metadata To The Client To Describe The User Interface. • We Set FORMS10_BUILDER_CLASSPATH So That Forms Builder Can Find The Java Classes it Needs During Development And Testing of An Application. • It Connects To And Communicates With The Oracle10g Database Via Oracle Net Services.EXE Application. • The Forms Runtime Engine Handles All The Application Logic And Forms Functionality And Executes The Code Written Into The Application. The Replacement For Net8 And SQL*Net. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. And Libraries. For Files Such As Forms.EXE OR REGEDT32. • • • • The Order of Paths Searched By Forms The Current Working Directory Directories in FORMS90_PATH Directories in ORACLE_PATH Setting Search Paths for Design Time • Forms Builder Needs Access To Certain Java Classes For Some of its Features.SkyEss Techno Solutions Pvt. • We Cannot Start The Forms Runtime Engine Directly. Ltd. • On The Machine Where Forms10gDS is Installed Set The “FORMS90_BUILDER_CLASSPATH” Variable in Windows By Modifying in The Registry By Executing REGEDIT. And The Java Importer. • Setting Search Paths Enables Us To Build Applications That Are Portable Across Platforms And Directory Structures By Avoiding Hard Coded Paths in File References. • All The Environment Variables Can Be Modified in The Own Environment of The Client For Different Applications. The Debugger. And Many Other Settings As Needed. • We Can Override These Settings At Run Time in The File That Controls The Forms Run Time Environment.cfg • System Parameters. By Setting Two Environment Variables Provided By Forms Builder. • • The Generic Path of Environment Control File is \Forms10\Server\Default. • The Values For These Internal Masks Can Be Specified With Property Values And Environment Variables. • Using An Environment Control File Makes it Easier To Deploy The Application on Any Platform. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/031 Modifying Environment Variables • In A Windows 32-BIT Environment. Use The Windows Registry To Modify The Paths. • A Default Value For This Initialization Parameter. Except For CLASSPATH. We Can Set System Parameters.env File Unless A Different File is Specified. Database Date Format Mask • Each Database Session Within A Forms Application Has A Single Database Date Format Mask. • A Developer Can Explicitly Define The Date Format Masks. Forms Builder Also Provides A Number of its Own Internal Masks. Which is The default.cfg.env The Generic Path of Forms Configuration File \Forms10\Server\Formsweb. • We Also Can Set Parameters To Control Which Form To Run. Aspects of The Java Client And The HTML File That Contains The Java Applet. Environment Variables And Y2K Compliance Dates in Oracle Forms Developer • • • • The Different Sources From Where Dates Can Come into Oracle Forms Are… Fetched From The Server/Database Entered By The End User Defined In The Application Itself Date Format Masks • We Can Specify A Format Mask For A Date Item in The Form. Such As The Name of The Environment Control File. • We Can Even Make Changes For User Parameters.SkyEss Techno Solutions Pvt. Page No : 31 of 49 . For Forms And UserID And Java Client Settings. Mask is Established By The Oracle Server’s Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • In The Configuration File. • We Can Specify Which Environment Control File To Use in A Special Forms Configuration File Called By Default formsweb. • The CLASSPATH Should Be Set in The System Settings of The Control Panel. Such As Envfile And Working Directory Can Be Specified At Runtime Through Modification. Ltd. The UserID. • To Eliminate Potential Errors Caused By The Year 2000 (Y2K). is Part of All Oracle Forms Developer Applications. It Appears Above Any User-Defined Toolbars. it is An Alternative To Keystroke Operations. Console • Console is The Visual Guide For Our Actions And Events in The Forms Developer Environment. Input Date Format Mask • It is A Set of Masks And is Used To Convert A User-Entered String Into A Native Format Date Value. • The Console is The Generic Name For The Standard Features That Provide Information At Run Time. Ltd. • We Can Replace OR Customize The Default Menu To Introduce Our Own Functionality into A Form Module. • We Can Set The Environment Variable. • It Executes The Same Code As Menu Items. Page No : 32 of 49 .SkyEss Techno Solutions Pvt. 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. At Run Time. Menu Toolbar • • The Menu Toolbar Contains Buttons Corresponding To Menu Items. Line. What We Actually See at Run Time in Forms Developer Environment • • • • • • The Components Seen At Run Time in FormsDS Browser Window Java Applet (Contained Within Browser Window) Default Menu (Contained Within Applet) Menu Toolbar (Contained Within Applet) Console (Contained Within Applet) Default Menu • The Default Menu. And It is A Shortcut To Menu Commands That Does Not Duplicate Code OR Effort. To Specify These Format Masks. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. 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 Client’s NLS_DATE_FORMAT Environment Variable. FORMS90_USER_DATE_FORMAT. • • • The Console is Displayed At The Bottom of The Window And Consists of The Message Messages. Out of M Number of Total Records That Can Be Retrieved By The Query. Ltd. M Displays As “?”. After That. it Displays The Number Corresponding To The Last Record. Page No : 33 of 49 .SkyEss Techno Solutions Pvt. • Record: n/m • Enter-Query • List of Values Note • The Indicators Will Respond Depending on The Events And The Kind of Objects That Are Applied on The Block Within The Canvas. • The Current Block is in Enter Query Mode And No Records Have Been Retrieved. • Until The Last Record is Fetched. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/033 The Different Indicators Provided in Console Indicator Description • The Nth Record Retrieved And Displayed So Far. • A List of Values (LOV) is Associated With The Current Item. The Components Found At Runtime Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/034 The Data Elements Applied in Forms10gDS Prompt Item • • A Prompt is A Text Label That Appears With And Relates To An Item. • Form Builder Provides Several Properties Using Which We Can Arrange And Manage Prompts And To Specify A Prompt's Visual Appearance. • Prompts Differ From Graphic Text That is Placed on The Canvas. • The Different Boilerplate Objects Are Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Prompts Are Directly Linked To An Item. Ltd. Text Items • • A Text Item is An Interface Control That Displays And Allows Editing of Text. 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. • By Default. • A Text Item Appears As An Empty Rectangular Box OR Container on The Canvas.SkyEss Techno Solutions Pvt. Each Interface Control Can Have A Prompt Associated With it. Page No : 34 of 49 . The Text is Displayed in A Field in Either Single OR Multi-Line Format. 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 Navigating in a Forms Developer Application • The Different Methods of Navigation Provided in Forms Developer Application Are… • • • • • Default menu Menu toolbar Mouse Buttons Function keys Default Menu • The Default Menu is Automatically Available in A Form. Page No : 35 of 49 .SkyEss Techno Solutions Pvt. Ltd. Unless it is Disabled OR Replaced With A Customized Menu. Records. • • Tasks Performed By Menu At Run Time To Move The Cursor And Navigate Between Data Blocks. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. And Items. Navigate Between Data Blocks OR Records. We Use Buttons To Perform… Move Input Focus. Display A LOV. Respond To An Alert. Perform Calculations. We Use Function Keys To Perform… Navigate Between Data Blocks. Invoke Help. Manipulate A Custom Item. Select OR Clear A Check Box. Records. Function Keys • • • We Can Move From Item To Item In Sequence With Function Keys. Ltd. Select A Button. The Mouse • The Mouse is Used To Navigate And Perform User Operations in A Bitmapped Environment. Select From A Menu OR An LOV.SkyEss Techno Solutions Pvt. And Items. Invoke Help. • • • • • • • • • Mouse is Used To Perform… Move The Cursor. Invoke An Editor. Including A Radio Button. Exit The Form. Buttons • • • • • • • • • • Web Applications Use Buttons As A Means of Navigation. Page No : 36 of 49 . Scroll Records OR Lines By Using A Data Block OR Item Scroll Bar. Exit The Form. Execute Queries. Switch To An Open Window. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/036 • • • • Save OR Clear All Changes. Commit Data. Insert OR Delete Records. Invoke Another Window. The Menu Toolbar • • • • • • • The Default Menu Toolbar Buttons Are Used To Perform Save All Changes. Execute Queries. Issue A Query. Insert OR Delete Records. Which Displays The Object Navigator Panel.SkyEss Techno Solutions Pvt. Displaying The Help Keys Let Us Create Our First Data Block in Forms 10g DS • • Before We Create The Data Block We Should Start The OC4J Instance. OR Press CTRL + K in The Run Form in Browser. • When We Design The Applications For The End User. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/037 • • • Execute Queries. Select Help ◊ Keys. Open Forms Builder Environment. Ltd. Renaming The Default Module Name • Click on The Module Name To Get into Edit Mode And Type The Relevant Name. Password And Database Connection. Page No : 37 of 49 . • Connect To The Required Database Using The Proper Username. Insert OR Delete Records. For Flexibility And Easiness of The End User We Have To Plan All The Different Navigation Styles As We Discussed Earlier. Note • To View The List of Keys And The Functions They Perform. Invoke Help. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Normal Mode Enter-Query Mode Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • • Click The Next Button in The Welcome Window. Width And Height if Necessary And Click Next Button. • • Click Move All Items To Targets Button And Click Next Button.SkyEss Techno Solutions Pvt. Select The Use “The Data Block Wizard” à OK. • Edit And Make Changes As Required on The Layout Editor. • Save The Form in A Specific Drive And Under A Personal Folder. Select Table OR View Option in The Second Step. And Then Call The Layout Wizard. Specify The Block Name And Click Next Button. • Change The Prompt Name. • Click The Next Button in The Layout Wizard Window. • Click The Browse Button in The Next Window And Select The Required Table in The Tables Window And Click OK. Specify The Frame Title And Click The Next Button. • Select The Create The Data Block. • Leave The Canvas Name As it is And Select The Canvas Type As Content Canvas Click The Next Button. Let Us Understand The Modes of Operation in Forms 10g DS Modes of Operation • • • Forms Builder Has Two Main Modes of Operation Enter-Query Mode. And Click Finish. Click The finish Button To Finalize The Data Block Creation. • Click The Compile And Run Button To Test. Page No : 38 of 49 . Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/038 Creating A New Data Block Using Wizard • • Double Click The Data Block Node To Open The New Data Block Wizard Window. • Click Move All Items To Targets Button And Click Next Button And Click Next Button. And Adjust The Properties As Required in The Property Palette For Each Item. • The Wizard Closes And Opens The Layout Editor With Default Style of The Data Block. Ltd. • Folder Name And The Form File Name Cannot Have Spaces And Special Charactes. • • • Select The Layout Style As Form And Click Next Button. Ltd. Rollback (Clear) Records. Insert New Records. Update And Delete Records. Insert. 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. Commit (Save). Page No : 39 of 49 . • In Enter-Query Mode. Our Keystrokes Are Interpreted As Either The Entering of New Records OR The Altering of Existing Ones. • In Normal Mode. Navigate Outside of The Current Data Block. • Obtain The Number of Records That Will Be Retrieved Before Fetching Them From The Database By Using Query ◊ Count Hits.SkyEss Techno Solutions Pvt. Things To Do in Enter-Query Mode • • • Retrieve All Records. Exit From The Run-Time Session. Things Not To Do in Enter-Query Mode • • • • • • Navigate Out of The Current Block. Exit The Run-Time Session. Normal Mode • We Use Normal Mode To Insert And Alter Records in The Database. Retrieve Records By Using Selection Criteria. Such As Next Record. Delete Records. Things Not To Do in Normal Mode • • Retrieve A Restricted Set of Records. Retrieve Records By Using The Query/Where Dialog Box. Invoke The Query/Where Dialog Box. Things To Do in Normal Mode • • • • • Retrieve All Records. Update Existing Records. Retrieving Data Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Use Certain Functions. The Keystrokes Are Interpreted As Search Criteria For Retrieving Restricted Data. 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. Use Default Date Format DD-MON-YY in Query/Where. Inserts. Page No : 40 of 49 . Ltd. • We Cannot Perform A Query While We Have Unsaved Updates. • If We Are An Experienced SQL User. Steps To Perform An Unrestricted Query • • • • Open The Form OR Activate The Form To Be Queried… Select Query ◊ Execute. Use Query/Where For Complex Query Conditions. 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. Restricted Query. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. • Before Continuing The Query Either Save OR Undo The Changes. CTRL + F11. • • • There Are Two Types of Queries Methods… Unrestricted Query OR Global Query. The Like Operator is Implied With Only % OR _. Press The Function Key. Use Hash (#) in Front of SQL Operators. Click The Execute Query Button.SkyEss Techno Solutions Pvt. OR Deletes. We Can Supplement Oracle Forms Developer Default Processing With Our Own SQL Predicates. Unrestricted Query OR Global Query • It is Equivalent of Selecting All The Rows For All The Represented Columns From The Base Table For The Queried Data Block. Performing a Restricted Query • • • • Methods Used To Perform A Restricted Query Matching Values Matching Patterns (Wildcards) Using A Query/Where Dialog Box For User Entry of SQL Predicates Points To Ponder • • • • • Do Not Use Quotation Marks With Character And Date Items. Ltd. Follow The Above Steps To Execute. Implying LIKE Operator Using Wild Cards • Press The Enter Query Mode Button OR Press Function Key F11 OR Query ◊ Enter From Menu.SkyEss Techno Solutions Pvt. Enter-Query Message Displays on The Status Line. • Press Execute Query Button OR Press Function Key CTRL + F11 OR Query Execute From Menu. • Select The Item on Which The Condition Has To Be Applied And Type The Required Value For Query. Note • Forms Builder Constructs A Select Statement By Using The And Operator For All Specified Conditions. Clearing The Form • • After The Query is Executed Clear The Form Before Another Query is Executed. • Wild Card Notation Can Be Used on Any Control Item Which is Associated With Primitive Data Types of Oracle. To Clear The Block Press Function Key F7 OR Action ◊ Clear All OR ALT + A + C. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. 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. • • Literals Can Be Declared in Single Quotes. Click The Enter Query Button. Using Exact Matching Values • Press The Enter Query Mode Button OR Press Function Key F11 OR Query ◊ Enter From Menu. • Press Execute Query Button OR Press Function Key CTRL + F11 OR Query Execute From Menu. Press The Appropriate Function Key. Page No : 41 of 49 . The Character Data is Case Sensitive And Date Data is Format Sensitive. • Select The Item on Which The Condition Has To Be Applied And Type The Required Wild Card Value With “%” OR “_” Combination For The Query. Steps To Perform a Restricted Query • • • • • Open The Form OR Activate The Form To Be Queried… Select Query à Enter. Query/Where Dialog Box • The Query Where Dialog Box is A Window in Which We Can Enter Complex Search Criteria By Using Raw SQL. Ltd. • Select The Item on Which The Condition Has To Be Applied And Type #BETWEEN… AND… Operator Condition For The Query. Characters Are Case Sensitive And Dates Are Format Sensitive. Implying Query/Where Dialog Box Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 42 of 49 . • Press Execute Query Button OR Press Function Key CTRL + F11 OR Query Execute From Menu. Note • Forms Builder Logically Uses The “AND” Operator To Append The Query/Where Conditions To Any Other Search Criteria And Constructs A SELECT Statement.SkyEss Techno Solutions Pvt. Order The Result of A Query. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/042 Implying BETWEEN… AND… Operator • Press The Enter Query Mode Button OR Press Function Key F11 OR Query à Enter From Menu. • • Place Character And Date Data Type Values in Single Quotes. • Using The Query/Where Dialog Effectively Requires Knowledge of SQL. • Query/Where Dialog Box Acts Like The Bind Variable Concept As That of SQL*Plus. Write Queries With OR Predicates. Uses of Query/Where Dialog Box • • • Write Complex Search Conditions. 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. Enter The Search Criteria To Retrieve The Appropriate Record For Delete. Click Remove Record (Red x) To Clear The Record And Mark it For Deletion. Select Record ◊ Remove To Clear The Record And Mark it For Deletion. • • • • • • Scroll Through The Records. Press The Appropriate Function Key CTRL + Down.SkyEss Techno Solutions Pvt. Implementing Transactions Through Forms 10g DS • Upon Entering into The Form Module We Are in Normal Mode By Default. • Select Query à Execute To Retrieve All Records That Satisfy The Specific Search Criteria. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Page No : 43 of 49 . Press The Appropriate Function Key CTRL + Up. Select Record à Insert From Menu. To Commit The Transaction Press CTRL + S. • Press Execute Query Button OR Press Function Key CTRL + F11 OR Query Execute From Menu To Display The Query/Where Dialog Box. Steps To Insert A Record • Ensure That The Cursor is Positioned on A Blank Record By Performing One of The Following Steps… • • • • • • Scroll Down Until A Blank Record is Found. • Type The Required Condition Using The Specific Values For Search As Similar To SQL. To Commit The Transaction Press CTRL + S. • Select The Item on Which The Condition Has To Be Applied And Type The Bind Variable Name Prefixing The “:” Symbol. Select Query ◊ Enter. Click Insert Record Button (Green +). Once The Specific Record is Found Then Execute The Following Action. Enter The Data Into The Relevant Items. Steps To Delete A Record • • Open The Required Form And Enter into The Query Mode. • In Normal Mode Forms Builder Regards Anything That We Type Into A Blank Record As An Insert And Anything That We Type Over An Existing Record As An Update. Stopping At The Record To Be Deleted. Ltd. • The Display Error Option Displays only Those Messages Preceded By ORACLE Error. 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. OR Deletes Permanent We Must Save OR Commit Them To The Database. Note • By Default. • We Need To Either Save Or Undo The Changes Before We Can Exit From Forms Session. Making Transaction Changes Permanent • To Make Any Inserts. Steps To Exit A Forms Run-time Session • • • Select Action à Exit. Discarding Transaction Changes • To Discard Any Inserts. Apply The Function Key F7. Steps To Save Transaction • • • Select Action à Save From Menu. Press The F4 Function Key. Click Save Button in The Menu Toolbar.SkyEss Techno Solutions Pvt. Updates. We Cannot Exit The Form While We Have Unsaved Updates. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Steps To Discard A Transaction • • Select Action à Clear All From Menu. NOTE • Clear Action Can Be Applied At Block. Field OR Record Level. We Must Clear The Records OR Rollback Instead of Saving. Displaying Errors • The Errors On The Message Line Are Failure Of SQL Code. OR Deletes. Click Exit Button On The Tool Bar. But As Per Our Requirement We Can Customize Them For More Consistency And Integrity. OR Deletes. Updates. Exiting From A Run-time Session • We Can Exit From The Run-time Session Of Forms Any Time. To View The Underlying SQL Code Select Help à Display Error. Apply The Hot Key Combination CTRL + S. Page No : 44 of 49 . Form. Ltd. Inserts. Including Oracle Databases. Including JavaBeans And Pluggable Java Components. Access Comprehensive Facilities By Using Integrated Menus. • • Design Applications For Internet Deployment. i. • We Can Use Forms Builder To Quickly Develop Form-Based Applications For Presenting And Manipulating Data in A Variety of Ways. The Layout Editor. • From The Forms Builder. • Forms Builder Can Be Used To Design And Store The Definitions of Form. Forms Compiler. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. And Library Documents. • • • Control Forms Across Several Windows And Database Transactions.SkyEss Techno Solutions Pvt. Send Data Directly To Oracle Reports The Features Provided For Forms Designer • Design Forms That Can Use A Number of Data Sources. And Custom Controls. And PL/SQL Editor. • Present Data By Using Text. Ltd. Page No : 45 of 49 . Uses of Forms Builder Application • Insert.e. Object Navigator. Forms Builder • This is The Application-Building Component of Oracle Forms Developer. Image. We Can Invoke The Other Component. Delete. Menu. 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. Copy And Move Objects And Their Properties Easily Between Applications. And Query Data By Using A Variety of Interface Items. Update. • We Must Run The Forms Builder Component in A GUI Environment in Order To Use its Graphical Design Facilities. • Use Design Features Such As Wizards. • Build Applications Quickly And Easily By Using Powerful GUI Development Tools. • The Files Used At Run Time Must Already Have Been Compiled By The Forms Compiler Component. • We Can Test Our Applications. Form Module • It is The Main Component of An Application. Each With Selectable Items. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/046 Forms Compiler • Once The Form is Built. Page No : 46 of 49 . • The Files Must Reside on The Middle Tier Machine in A Directory Accessible To The Forms Runtime Engine As Specified in FORMS90_PATH. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Forms Compiler Reads The Definition of The Form Module And Creates An Executable Run File. Which Are collection of Files. • The Module is The Major Component of The Application And is The Basis For Storage And Ownership. Ltd. • A Module Owns The Rest of The Objects in The System That is Being Developed. We Use The Forms Compiler. • Data Items in A Form Are Arranged into Records. Menu Module • A Menu Module Can Consist of A Hierarchy of Menus. Forms Developer Module Types • A Forms Application Can Consist of Many Modules. The Form Module Presents The Objects And Data That Users Can See OR Interact With. By Accessing Forms Services Directly From Forms Builder By Setting Certain Preferences.SkyEss Techno Solutions Pvt. • PL/SQL Library Documents Can Contain Program Units That Can Be Used By Other Form And Menu Modules. And Library Documents As Needed. But When Attached To Form Modules They Can Provide A Service To The Facilities Offered By A Form. Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/047 PL/SQL Library Module • A PL/SQL Library is A Collection of PL/SQL Program Units. • The Default Menu Includes Commands For All Basic Database Operations. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Items. Page No : 47 of 49 . • We Can Build An Application From Multiple Form Modules. and Canvases in Detail • Form Modules Make Up The Main “Body” of An Oracle Forms Developer Application. • Menu Modules Are Not Functional By Themselves. QUERY. Menu Modules. We Can Create A Custom Menu Module.SkyEss Techno Solutions Pvt. Such As INSERT. Ltd. • The Code in The PL/SQL Library Code Can Be Referenced And Called From Other Modules. • Form Modules Can Consist of Many Types of Objects. Some of Which Are Visible To The User At Run Time. And Distribute Standard Objects That Can Be Reused Across The Entire Development Organization. • We Can Create An Object Library Module To Store. Object Library Module • An Object Library is A Collection of Form Objects That Can Be Used in Other Modules. DELETE. • If The Application Has Specific Requirements That Are Not Met By The Default Menu. • Forms Builder Provides The Default Menu For Every Form. Maintain. Let Us Understand Blocks. They Can Span Many Canvases And Windows. Navigation in A Form Module • When We Run A Form. Which Means That We See Only One Canvas At A Time. • A Block is The Logical Owner of Items. Oracle Forms Developer Displays That Canvas Automatically. • But We Can Assign Separate Windows For Each Canvas So That Several Canvases Can Be Viewed At Once. We Must Display The Canvas in A Window. Canvases • A Canvas is A “Surface” Where Visual Objects. • When A User Requests To Move To The Next Item in A Block. 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. And Each Block Has A Sequenced Position in The Form. Ltd. • Items Are Logically Grouped Into Blocks And Visibly Arranged on Canvases. • • • A Form Module Can Have Several Canvases. • 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. Page No : 48 of 49 . Note • Items In One Block Do Not Need To Be Physically Grouped. • If The First Item in This Block Resides on Another Canvas. • By Default. To See A Canvas And Its Items. And Manipulating Records. And Each Item in A Form Belongs To A Block. Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki. Users Can Request To Move To The Next Block OR Previous Block. Such As Graphics And Items. All Canvases in A Form Appear in The Same Window. Depending Upon The Item Type. Then That Canvas is Displayed Automatically. • If The Next Item is on A Different Canvas.SkyEss Techno Solutions Pvt. Displaying. We Principally Navigate By Way of Items And Blocks. Not By Canvases. • Blocks Provide A Mechanism For Grouping Related Items into A Functional Unit For Storing. • We Can Program Mechanisms Into The Application To Enable Navigation in Other Ways. • Each Item Has A Sequenced Position Within its Block. Are Arranged. Wherever That May Be. A Canvas Can Display Items From One OR More Blocks. Focus Will Be Set on The Next Item in Sequence. Each Form Consists of One OR More Blocks. • Similarly. Blocks • • A Block is The Intermediate Building Unit For Forms. • Reference Documentation on Oracle Forms 10gDS Prepared By : Sathish Yellanki.SkyEss Techno Solutions Pvt. • • • • • A Data Block is Associated With A Specific Database Table OR View. Many of The Blocks Will Be Data Blocks. Even Though The Data Block Can Be Programmed To Access Data From More Than One Table And Data Sources. Transactional Triggers. • If it is Based on A Table OR View. The Data Block Can Be Based on Only One Base Table. Control Blocks. Page No : 49 of 49 . Corporate Material Document Number : CT/Forms 10gDS/SkyEss/Feb10/CORTR-2010/049 Let Us Understand Types of Blocks in Forms Builder • • • • In Forms Builder There Are Two Main Types of Blocks Data Blocks. A FROM Clause Query. Ltd. Data Blocks • When We Build Database Applications With Forms Builder. A Stored Procedure.
Copyright © 2024 DOKUMEN.SITE Inc.