Download presentation
Presentation is loading. Please wait.
Published byLydia Williams Modified over 9 years ago
1
Copyright Ó Oracle Corporation, 1999. All rights reserved. 55 Working with Data Blocks and Frames
2
5-2 Copyright Ó Oracle Corporation, 1999. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Identify the components of the Property Palette Manipulate properties through the Property Palette Control the behavior and appearance of data blocks After completing this lesson, you should be able to do the following: Identify the components of the Property Palette Manipulate properties through the Property Palette Control the behavior and appearance of data blocks
3
5-3 Copyright Ó Oracle Corporation, 1999. All rights reserved. Objectives Control frame properties Create blocks that do not directly correspond to the database Delete data blocks and their components Control frame properties Create blocks that do not directly correspond to the database Delete data blocks and their components
4
5-4 Copyright Ó Oracle Corporation, 1999. All rights reserved. Modifying the Appearance and Behavior of Data Blocks Reentrant wizards Layout Editor Data Block Property Palette Frame Property Palette Reentrant wizards Layout Editor Data Block Property Palette Frame Property Palette
5
5-5 Copyright Ó Oracle Corporation, 1999. All rights reserved. Displaying the Property Palette Use one of several methods: Select Tools—>Property Palette. Double-click the object icon in the Object Navigator. Double-click the object in Layout Editor. Click the right mouse button. Use one of several methods: Select Tools—>Property Palette. Double-click the object icon in the Object Navigator. Double-click the object in Layout Editor. Click the right mouse button.
6
5-6 Copyright Ó Oracle Corporation, 1999. All rights reserved. Property Palette Features Propertyname Propertyvalue Toolbar Expand/Collapse Find field Search Backward Search Forward
7
5-7 Copyright Ó Oracle Corporation, 1999. All rights reserved. Property Controls Text field Pop-up list LOV window More button Text field Pop-up list LOV window More button
8
5-8 Copyright Ó Oracle Corporation, 1999. All rights reserved. Visual Attributes Visual attributes: –Are font, color, and pattern properties –Can be set for form and menu objects A visual attribute is a form object with font, color, and pattern properties. Set the Visual Attribute Group property to the visual attribute object. Visual attributes: –Are font, color, and pattern properties –Can be set for form and menu objects A visual attribute is a form object with font, color, and pattern properties. Set the Visual Attribute Group property to the visual attribute object.
9
5-9 Copyright Ó Oracle Corporation, 1999. All rights reserved. Font, Pattern, and Color Picker
10
5-10 Copyright Ó Oracle Corporation, 1999. All rights reserved. Data Block Properties
11
5-11 Copyright Ó Oracle Corporation, 1999. All rights reserved. Data Block Property Groups General Navigation Records Database Advanced Database Scrollbar Font and Color Character Mode International General Navigation Records Database Advanced Database Scrollbar Font and Color Character Mode International
12
5-12 Copyright Ó Oracle Corporation, 1999. All rights reserved. Navigation Properties ORDERS Order Item Same Record Next Record Previous Navigation Data Block Next Navigation Data Block
13
5-13 Copyright Ó Oracle Corporation, 1999. All rights reserved. Database Properties Use properties in the Database group to control: Type of block—data or control block Query, insert, update, and delete operations on the data block Data block’s data source Query search criteria and default sort order Maximum query time Maximum number of records fetched Use properties in the Database group to control: Type of block—data or control block Query, insert, update, and delete operations on the data block Data block’s data source Query search criteria and default sort order Maximum query time Maximum number of records fetched
14
5-14 Copyright Ó Oracle Corporation, 1999. All rights reserved. SELECT.... WHERE Clause [ORDER BY Clause] Database Properties Work file Block display Recordsfetched Records buffered
15
5-15 Copyright Ó Oracle Corporation, 1999. All rights reserved. Records Properties Vertical Record Orientation Horizontal Record Orientation
16
5-16 Copyright Ó Oracle Corporation, 1999. All rights reserved. Records Properties Item Number of Records Displayed Current Record
17
5-17 Copyright Ó Oracle Corporation, 1999. All rights reserved. Scroll Bar Properties Item Scroll Bar X/Y Position Scroll Bar Width Scroll Bar Height
18
5-18 Copyright Ó Oracle Corporation, 1999. All rights reserved. Frame Properties ORDERS Order Item Form Layout Style Tabular Layout Style Distance between records
19
5-19 Copyright Ó Oracle Corporation, 1999. All rights reserved. Multiple Property Palettes Display multiple Property Palettes for an object: 1Open a Property Palette for the object. 2Hold down the [Shift] key and double-click the object icon for an additional palette. Display Property Palettes for the multiple objects: 1Open the Property Palette for first object. 2Click the Freeze/Unfreeze button on the toolbar. 3Invoke Property Palette for the next object. Display multiple Property Palettes for an object: 1Open a Property Palette for the object. 2Hold down the [Shift] key and double-click the object icon for an additional palette. Display Property Palettes for the multiple objects: 1Open the Property Palette for first object. 2Click the Freeze/Unfreeze button on the toolbar. 3Invoke Property Palette for the next object.
20
5-20 Copyright Ó Oracle Corporation, 1999. All rights reserved. Setting Properties on Multiple Objects Intersection/ Union
21
5-21 Copyright Ó Oracle Corporation, 1999. All rights reserved. Copying Properties Copy Paste Source objects Destination objects Properties Query All RecordsNo Query AllowedYes Insert AllowedYes Update AllowedYes Delete AllowedYes Name S_ITEM Query All RecordsNo Query AllowedYes Insert AllowedYes Update AllowedYes Delete AllowedYes Query All RecordsYes Query AllowedYes Insert AllowedYes Update AllowedNo Delete AllowedYes Query All RecordsYes Query AllowedYes Insert AllowedYes Update AllowedNo Delete AllowedYes
22
5-22 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating a Control Block Click the Data Blocks node and click the Create icon. or Select Navigator—>Create. Select the “Build a new data block manually” option in the New Data Block dialog box. Click the Data Blocks node and click the Create icon. or Select Navigator—>Create. Select the “Build a new data block manually” option in the New Data Block dialog box.
23
5-23 Copyright Ó Oracle Corporation, 1999. All rights reserved. Deleting a Data Block Select a data block for deletion and click the Delete icon. or Select Navigator—>Delete. Click Yes in the alert box. Select a data block for deletion and click the Delete icon. or Select Navigator—>Delete. Click Yes in the alert box.
24
5-24 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary Modify the data block properties in its Property Palette to change its behavior. Data blocks have Navigation, Database, Records, Scrollbar and other properties. Database properties include WHERE Clause, Query Data Source, and Maximum Records Fetched. Change frame properties to modify the arrangements of items within a data block. Modify the data block properties in its Property Palette to change its behavior. Data blocks have Navigation, Database, Records, Scrollbar and other properties. Database properties include WHERE Clause, Query Data Source, and Maximum Records Fetched. Change frame properties to modify the arrangements of items within a data block.
25
5-25 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary A control block is not associated with the database. Copy properties between data blocks and other objects. View and change properties of several objects together (Intersection/Union). A control block is not associated with the database. Copy properties between data blocks and other objects. View and change properties of several objects together (Intersection/Union).
26
5-26 Copyright Ó Oracle Corporation, 1999. All rights reserved. Practice 5 Overview This practice covers the following topics: Creating a control block Creating a visual attribute Modifying data block properties Modifying frame properties This practice covers the following topics: Creating a control block Creating a visual attribute Modifying data block properties Modifying frame properties
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.