Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.

Slides:



Advertisements
Similar presentations
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Advertisements

Concepts of Database Management Seventh Edition
Copyright Ó Oracle Corporation, All rights reserved Sharing Objects and Code.
Enhanced Guide to Oracle 10g
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
13 Copyright © 2004, Oracle. All rights reserved. Introduction to Triggers.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
7 Copyright © 2004, Oracle. All rights reserved. Working with Text Items.
10 Copyright © 2004, Oracle. All rights reserved. Creating Noninput Items.
9 Copyright © 2004, Oracle. All rights reserved. Creating Additional Input Items.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
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.
Introduction To Form Builder
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
1 Chapter 5: Introduction To Form Builder. 2 Forms  Why Do We Use Form Builder?  Why Don’t We Use SQL Only?!
14 Copyright © 2004, Oracle. All rights reserved. Producing Triggers.
2 Copyright © 2004, Oracle. All rights reserved. Creating Stored Functions.
Copyright  Oracle Corporation, All rights reserved. 4 Creating Functions.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
23 Copyright © 2004, Oracle. All rights reserved. Sharing Objects and Code.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Programming with Microsoft Visual Basic 2012 Chapter 13: Working with Access Databases and LINQ.
Copyright Ó Oracle Corporation, All rights reserved. 55 Working with Data Blocks and Frames.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Copyright Ó Oracle Corporation, All rights reserved. 22 Running a Form Builder Application.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Lecture 8 Creating Stored Functions. Objectives  After completing this lesson, you should be able to do the following:  What is Function?  Types of.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Copyright Ó Oracle Corporation, All rights reserved Producing Triggers.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
Chapter Thirteen Working with Access Databases and LINQ Programming with Microsoft Visual Basic th Edition.
10 Copyright © 2004, Oracle. All rights reserved. Creating Noninput Items.
Copyright Ó Oracle Corporation, All rights reserved Working with Other Canvases.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
16 Copyright © 2004, Oracle. All rights reserved. Adding Functionality to Items.
Copyright Ó Oracle Corporation, All rights reserved Query Triggers.
1 Guide to Oracle10G CHAPTER 7: Creating Database Reports 7.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
14 Copyright © 2004, Oracle. All rights reserved. Enhancing the User Interface.
25 Copyright © 2009, Oracle. All rights reserved. Showing Results with Pivot Tables.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Copyright Ó Oracle Corporation, All rights reserved Debugging Triggers.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
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.
Copyright Ó Oracle Corporation, All rights reserved. 77 Creating LOVs and Editors.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
Copyright Ó Oracle Corporation, All rights reserved. 88 Creating Additional Input Items.
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,
Working with Data Blocks and Frames
Working in the Forms Developer Environment
Creating a Basic Form Module
Creating LOVs and Editors
Chapter 1: An Introduction to Visual Basic 2015
Developing an Excel Application
Creating Noninput Items
Using SQL*Plus.
Creating Additional Input Items
Presentation transcript:

Copyright Ó Oracle Corporation, All rights reserved. 99 Creating Noninput Items

9-2 Copyright Ó Oracle Corporation, All rights reserved. Objectives After completing this lesson, you should be able to do the following: Identify item types that do not allow input Create a display item Create an image item Create a sound item Create a button Create a calculated item Create a hierarchical tree item After completing this lesson, you should be able to do the following: Identify item types that do not allow input Create a display item Create an image item Create a sound item Create a button Create a calculated item Create a hierarchical tree item

9-3 Copyright Ó Oracle Corporation, All rights reserved. Noninput Items Item types that do not accept direct user input include: Display items Image items Sound items Buttons Calculated items Hierarchical tree items Item types that do not accept direct user input include: Display items Image items Sound items Buttons Calculated items Hierarchical tree items

9-4 Copyright Ó Oracle Corporation, All rights reserved. Display Items Display items are similar to text items. Display items cannot: –Be edited –Be queried –Be navigated to –Accept user input Display items can: –Display data –Conserve resources Display items are similar to text items. Display items cannot: –Be edited –Be queried –Be navigated to –Accept user input Display items can: –Display data –Conserve resources

9-5 Copyright Ó Oracle Corporation, All rights reserved. Creating a Display Item

9-6 Copyright Ó Oracle Corporation, All rights reserved. Image Items Interface control Use to display bitmapped images: — –From file system—supported file type — –From database—LONG RAW column Interface control Use to display bitmapped images: — –From file system—supported file type — –From database—LONG RAW column

9-7 Copyright Ó Oracle Corporation, All rights reserved. Image File Formats PICT TPIC CALS TIFF GIF JFIF BMP RAS Image item Image files ReadWrite CALS GIF BMP RAS JPG TIFF JFIF JPEG PICT TPIC

9-8 Copyright Ó Oracle Corporation, All rights reserved. Image-Specific Item Properties Image Format Image Depth Compression Quality Display Quality Show Palette Sizing Style Show Horizontal Scrollbar Show Vertical Scrollbar Image Format Image Depth Compression Quality Display Quality Show Palette Sizing Style Show Horizontal Scrollbar Show Vertical Scrollbar

9-9 Copyright Ó Oracle Corporation, All rights reserved. Image Manipulation Palette Zoom Pan Rotate Select

9-10 Copyright Ó Oracle Corporation, All rights reserved. Creating an Image Item

9-11 Copyright Ó Oracle Corporation, All rights reserved. Sound Items Interface control Use to play and record sound: — –From file system—supported sound types — –From database—LONG RAW column Interface control Use to play and record sound: — –From file system—supported sound types — –From database—LONG RAW column

9-12 Copyright Ó Oracle Corporation, All rights reserved. Sound Item Control PlayPlay RecordRecord RewindRewind FastFast ForwardForward VolumeVolume Time Indicator SliderSlider

9-13 Copyright Ó Oracle Corporation, All rights reserved. Sound Types AU AIFF AIFF-C WAV

9-14 Copyright Ó Oracle Corporation, All rights reserved. Sound-Specific Item Properties Sound Format Audio Channels Compress Sound Quality Show Play/Record/Rewind/Fast Forward/Volume Control/Time Indicator/Slider Button Sound Format Audio Channels Compress Sound Quality Show Play/Record/Rewind/Fast Forward/Volume Control/Time Indicator/Slider Button

9-15 Copyright Ó Oracle Corporation, All rights reserved. Creating a Sound Item

9-16 Copyright Ó Oracle Corporation, All rights reserved. Buttons Interface control Cannot display/represent data Use to initiate an action Display as: –Text button –Iconic Interface control Cannot display/represent data Use to initiate an action Display as: –Text button –Iconic

9-17 Copyright Ó Oracle Corporation, All rights reserved. Buttons Use buttons to: –Move input focus –Display an LOV –Invoke an editor –Invoke another window –Commit data –Issue a query –Perform calculations Use buttons to: –Move input focus –Display an LOV –Invoke an editor –Invoke another window –Commit data –Issue a query –Perform calculations

9-18 Copyright Ó Oracle Corporation, All rights reserved. Button-Specific Item Properties Label Mouse Navigate Default Button Iconic Icon Filename Tooltip Tooltip Visual Attribute Group Label Mouse Navigate Default Button Iconic Icon Filename Tooltip Tooltip Visual Attribute Group

9-19 Copyright Ó Oracle Corporation, All rights reserved. Tool Tip

9-20 Copyright Ó Oracle Corporation, All rights reserved. Creating a Button

9-21 Copyright Ó Oracle Corporation, All rights reserved. Calculated Items They accept item values that are based on calculations. They are read-only. They can be expressed as: –Formula –Summary They accept item values that are based on calculations. They are read-only. They can be expressed as: –Formula –Summary

9-22 Copyright Ó Oracle Corporation, All rights reserved. Calculation Modes Formula –A calculated item value is the result of a horizontal calculation. –It involves bind variables. Summary –A calculated item value is a vertical calculation. –A summary is performed on values of a single item over all rows in a block. Formula –A calculated item value is the result of a horizontal calculation. –It involves bind variables. Summary –A calculated item value is a vertical calculation. –A summary is performed on values of a single item over all rows in a block.

9-23 Copyright Ó Oracle Corporation, All rights reserved. Item Properties Specific to the Calculated Item Formula Calculation Mode Formula Calculation Mode Formula Summary Calculation Mode Summary Function Summarized Block Summarized Item

9-24 Copyright Ó Oracle Corporation, All rights reserved. Summary Functions AVG COUNT MAX MIN STDDEV SUM VARIANCE AVG COUNT MAX MIN STDDEV SUM VARIANCE

9-25 Copyright Ó Oracle Corporation, All rights reserved. Item Based on a Formula ORDERS Order Item idProduct idPriceQtyShipped Item Total , NVL((:s_item.price * :s_item.quantity_shipped),0) Item Formula item

9-26 Copyright Ó Oracle Corporation, All rights reserved. Rules for Formula Items A formula item must not invoke restricted built-ins. A formula item cannot execute any DML statements. Do not terminate a PL/SQL expression with a semicolon. Do not enter a complete PL/SQL statement in assignment expressions. A formula item must not invoke restricted built-ins. A formula item cannot execute any DML statements. Do not terminate a PL/SQL expression with a semicolon. Do not enter a complete PL/SQL statement in assignment expressions.

9-27 Copyright Ó Oracle Corporation, All rights reserved. Item Based on a Summary ORDERS Order Item idProduct idPriceQtyShipped Item Total , Item 2,005 Order Total Summarized item Summary item

9-28 Copyright Ó Oracle Corporation, All rights reserved. Rules for Summary Items Summary item must reside in: –The same block as the summarized item –A control block with Single Record property set to Yes Summarized item must reside in: –A data block with Query All Records property or Precompute Summaries property set to Yes –A control block Datatype of summary item must be Number, unless using MAX or MIN Summary item must reside in: –The same block as the summarized item –A control block with Single Record property set to Yes Summarized item must reside in: –A data block with Query All Records property or Precompute Summaries property set to Yes –A control block Datatype of summary item must be Number, unless using MAX or MIN

9-29 Copyright Ó Oracle Corporation, All rights reserved. Creating a Hierarchical Tree

9-30 Copyright Ó Oracle Corporation, All rights reserved. Hierarchical Tree Properties Allow empty branches Multi selection Show lines Show symbols Record group Data query Allow empty branches Multi selection Show lines Show symbols Record group Data query

9-31 Copyright Ó Oracle Corporation, All rights reserved. Summary Display items Image items Sound items Buttons Calculated items Hierarchical tree items Display items Image items Sound items Buttons Calculated items Hierarchical tree items

9-32 Copyright Ó Oracle Corporation, All rights reserved. Practice 9 Overview This practice covers the following topics: Creating display items Creating an image item Creating iconic buttons Creating calculated items: –Formula –Summary This practice covers the following topics: Creating display items Creating an image item Creating iconic buttons Creating calculated items: –Formula –Summary