A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.

Slides:



Advertisements
Similar presentations
The New User Interface MEDITECH Training & Education.
Advertisements

A Guide to Oracle9i1 Creating Database Reports Chapter 7.
Tutorial 8: Developing an Excel Application
Copyright Ó Oracle Corporation, All rights reserved Sharing Objects and Code.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Using Visual Basic 6.0 to Create Web-Based Database Applications
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 7: Creating Database Reports
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Eyad Alshareef 1 Creating Custom Forms Part A. 2Eyad Alshareef Data Block and Custom Forms Data block form Data block form Based on data blocks that are.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction To Form Builder
Introduction To Form Builder
1 Chapter 5: Introduction To Form Builder. 2 Forms  Why Do We Use Form Builder?  Why Don’t We Use SQL Only?!
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
1 Introduction to Human Computer Interaction  Livecode Overview  Based on Livecode User Guide from RunRev Ltd. (2010) 
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
23 Copyright © 2004, Oracle. All rights reserved. Sharing Objects and Code.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Microsoft Visual Basic 2005: Reloaded Second Edition
Microsoft Visual Basic 2008 CHAPTER 8 Using Procedures and Exception Handling.
5-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
IE 411/511: Visual Programming for Industrial Applications
Forms - An Overview of Oracle Form Builder v.6.0 Abhishek Parag Prashant Arun.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Chapter 5 Menus, Common Dialog Boxes, and Methods Programming in C#.NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
OCC Network Drives  H:\  P:\ 
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
1 Chapter 12: Form Builder Objects and Flexible Code.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Chapter Eleven The X Window System. 2 Lesson A Starting and Navigating an X Window System.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Visual Basic.NET BASICS Lesson 14 Menus and Printing.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
Programming with Microsoft Visual Basic 2012 Chapter 1: An Introduction to Visual Basic 2012.
Running a Forms Developer Application
Forms Concepts Triggers Fired when Internal/External events occur
Working in the Forms Developer Environment
Developer 2000 CSE 4504/6504 Lab.
1. Introduction to Visual Basic
Using Procedures and Exception Handling
Chapter 6: Creating Custom Forms
Chapter 8: Creating An Integrated Database Application
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8

A Guide to Oracle9i2 Lesson A Objectives Understand the steps for developing a database application Design a database application interface Use timers in a Forms Builder application to create a splash screen Create form templates to ensure consistency across application modules Learn how to reference application components in an integrated database application Understand how to open and close form modules in a multiple form application Learn how to display a report in a database application

A Guide to Oracle9i3 Developing an Integrated Database Application Design –Creating the specifications for the application components Module development –Creating the individual form and report modules Module integration –Integrating the individual modules into a single application

A Guide to Oracle9i4 Developing an Integrated Database Application Testing –Unit testing: testing the individual form and report modules to confirm that they work correctly as single applications –System testing: evaluates whether the modules work correctly when you integrate them into the rest of the system Deployment –Packaging the integrated modules in an installable format that you can deliver to customers

A Guide to Oracle9i5 Development Process Good practice to create separate form modules –Developers can each work on part of an application –Easier to work with –Load faster in Web-based applications Files are integrated in project folder including –All fmb files –Graphic images

A Guide to Oracle9i6 Integrated Application Single entry point Single exit point Create a main form module –Splash screen –Switchboard - consists of command buttons that enable users to access the most commonly used forms and reports –Pull-down menus

A Guide to Oracle9i7 Main Form Screen Design

A Guide to Oracle9i8 Creating a Splash Screen First image that appears when you run an application Displays for limited time Use PRE-FORM trigger to set a timer Switch to main window when timer finishes

A Guide to Oracle9i9 Splash Screen Sample

A Guide to Oracle9i10 Creating a Splash Screen Timer

A Guide to Oracle9i11 Ensuring a Consistent Appearance Across Form Modules Forms should have consistent look, feel and behavior Template form –Generic form that includes graphics, command buttons, and program units –Store in a location that is accessible to all developers –Base new forms on the template form –Saves time –Ensures consistent look and behavior To use: –Select New --> Form Using Template from File menu when creating new form

A Guide to Oracle9i12 Template Form

A Guide to Oracle9i13 Visual Attribute Group A form object that defines object properties, such as text item colors, font sizes, and font styles Assigned to Visual Attribute Group property of form windows, canvases, and items

A Guide to Oracle9i14 Referencing Application Components Main form application uses program commands to open other form modules and to run report modules Application also references files that provide graphic image data for images

A Guide to Oracle9i15 Path Specification Approach Specify the complete path, including the drive letter and folder path, to the application file Works well for a development team that has standardized on saving all of the project files to a specific location on a file server Difficult to move the application to a different storage location Can create a global path variable –References a text string specifying the complete path to the drive and folder –Path information is stored in a single location –Set global variable in PRE-FORM trigger

A Guide to Oracle9i16 Referencing Forms and Reports Using Module Names Assign a module name to the form or report in the Object Navigator Main application form can reference any form or report using the module name if file is stored: –In default form or report folder –Or available on Oracle Application Server

A Guide to Oracle9i17 Opening and Closing Forms in an Integrated Database Application Use built-in procedures to open one form from another Opening form is parent, new form is child

A Guide to Oracle9i18 Closing Forms

A Guide to Oracle9i19 Displaying a Report in an Integrated Database Application Report displays a summary view of database data at a specific point in time Can run as stand-alone applications or appear within integrated database applications To integrate with database application: –Install and start the local report server –Configure the main application form so it generates the report as an HTML file –Display the report in a browser window

A Guide to Oracle9i20 Installing a Local Report Server Run an Oracle9i utility named Rwserver Pass parameters that instruct it to install a new local report server and assign a name to the local report server Installed as Windows service Start from control panel

A Guide to Oracle9i21 Starting Local Report Service

A Guide to Oracle9i22 Creating a Report Object Create a report object in the main application form Top-level Forms Builder object in the Object Navigator window that represents a Reports Builder report file Configure its properties using the report object Property Palette

A Guide to Oracle9i23 Displaying the Report Object Create a form trigger for the button that the user clicks to display the report Trigger contains commands –To configure the report filename and output filename dynamically –To run the report and generate an HTML output file –To display the HTML file in a browser window 8

A Guide to Oracle9i24 Displaying the Report in a Browser Window

A Guide to Oracle9i25 Lesson B Objectives Learn how to create custom pull-down menus Understand how to display custom pull-down menus in form modules Explore how to write program commands to control menu items Learn how to create context-sensitive pop-up menus

A Guide to Oracle9i26 Creating Custom Pull-Down Menus Replace the default Forms Services pull- down menu choices with custom pull-down menu choices Create a menu module –Independent of any specific form –Attach the executable (.mmx) menu file to a form module in the form module Property Palette –Contains one or more menu items

A Guide to Oracle9i27 Menu Components

A Guide to Oracle9i28 Creating Menus Use Menu Editor Menu code trigger performs action when menu selected Menu properties are specified on Property Palette

A Guide to Oracle9i29 Menu Item Types Plain –Displays a text label and has an associated menu code trigger that fires when the user selects the menu item Check –Specifies a property that users can enable or disable Radio –Specifies a selection in a group of menu selections that behave like radio buttons

A Guide to Oracle9i30 Menu Item Types Separator –Specifies that the menu selection appears as a separator bar Magic –Specify that the menu selection is one of the following predefined magic types: Cut, Copy, Paste, Clear, Undo, About, Help, Quit, or Window –Have built-in functionality supplied by Forms Builder

A Guide to Oracle9i31 Menu Access Keys Pull-down menu selections have an underlined letter in the selection label Called the menu item’s access key Allows user to open or select the menu item by using the keyboard instead of the mouse pointer First letter of each menu item label is the default access key To override the default access key choice –Type an ampersand (&) before the desired access key letter in the menu label

A Guide to Oracle9i32 Menu Code Triggers Perform actions like opening a form Cannot reference specific form items Right-click menu item to open PL/SQL editor

A Guide to Oracle9i33 Displaying a Menu Module in a Form Compile the menu module Attach to form: –Open the form module Property Palette –Reference the compiled menu module file in the form module’s Menu Module property value Copy the compiled menu module file to the default form folder

A Guide to Oracle9i34 Using Program Commands to Control Menu Items

A Guide to Oracle9i35 Using Program Commands to Control Menu Items To use built-ins, reference menu items using their system-assigned names Determine the system-assigned names of individual menu items by viewing the menu structure in the Object Navigator To dynamically change menu properties: –SET_MENU_ITEM_PROPERTY('menu_name', property, value);

A Guide to Oracle9i36 Menu Names

A Guide to Oracle9i37 Pop-Up Menus Context-sensitive menus that appear when the user right clicks a specific screen display item Top-level form objects Associate a pop-up menu with a specific form — pop-up menu can appear only in that form

A Guide to Oracle9i38 Creating a Pop-Up Menu Create in Object Navigator Open in Menu Editor Define menu items Change menu labels Create menu code triggers

A Guide to Oracle9i39 Attaching a Pop-Up Menu to a Form Object Attach a pop-up menu object to a form canvas or to a data block item, such as a text item, command button, or check box Change the object’s Popup Menu property value to the name of the associated pop-up menu object

A Guide to Oracle9i40 Summary Forms and reports can be integrated into a database application A splash screen introduces an application and loads a main “switchboard” screen with command buttons to access commonly used forms Form templates and visual attribute groups are used to maintain a common appearance between forms Pull-down and pop-up menus are used to launch windows and perform application tasks