1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 4 February 15 LOV: List of ValuesLOV: List of Values Dealing with Errors and ProblemsDealing.

Slides:



Advertisements
Similar presentations
A Guide to Oracle9i1 Creating Custom Forms Chapter 6.
Advertisements

Developing an Excel Application
Tutorial 8: Developing an Excel Application
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Enhanced Guide to Oracle 10g
Chapter 6: Creating Custom Forms. Data Block and Custom Forms Data block form Based on data blocks that are associated with specific database tables Reflect.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 1 Databases and Database Objects: An Introduction
Excel and VBA Creating an Excel Application
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 5 February 22 Dealing with Errors and ProblemsDealing with Errors and Problems.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Eyad Alshareef 1 Creating Custom Forms Part B. 2Eyad Alshareef Lesson B Objectives After completing this lesson, you should be able to: Suppress default.
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.
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?!
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
What is so good about Archie and RevMan 5
Access Tutorial 10 Automating Tasks with Macros
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
For Version 6.0 and later Lattice3D Reporter Tutorial For Version 6.0 and later LATTICE TECHNOLOGY, INC.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Forms - An Overview of Oracle Form Builder v.6.0 Abhishek Parag Prashant Arun.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
2 Copyright © 2007, Oracle. All rights reserved. Navigating in R12 Oracle Applications.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 2 February 1 PL/SQLPL/SQL Creating a FormCreating a Form.
Tutorial 7 Planning and Creating a Flash Web Site.
Chapter 17 Creating a Database.
1 Chapter 12: Form Builder Objects and Flexible Code.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
1 MIS309 Database Systems Introduction to Microsoft Access.
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
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,
Oracle Forms Oracle Forms Builder provides various tools, which have powerful Graphical User Interfaces (GUI's) to design such forms. All objects, properties,
1 R. Ching, Ph.D. MIS Dept. California State University, Sacramento Week 3 February 8 Principles of Good DesignPrinciples of Good Design Menu ModulesMenu.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
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,
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
DB Implementation: MS Access Forms. MS Access Forms: Purpose Data entry, editing, & viewing data in Tables Forms are user-friendlier to end-users than.
Chapter 7: Creating Custom Forms. Data Block and Custom Forms Data block form Based on data blocks that are associated with specific database tables Reflect.
Headstart Designer R Pasi Lehtinen TKP Tieto Oy
Eyad Alshareef, Edited by: Mostafa Ali
Forms Concepts Triggers Fired when Internal/External events occur
Working with Data Blocks and Frames
Working in the Forms Developer Environment
Developer 2000 CSE 4504/6504 Lab.
Creating LOVs and Editors
Lexical Reference Variables in Graphics and List Box in Forms
Lecture on Oracle Forms
DB Implementation: MS Access Forms
Chapter 6: Creating Custom Forms
DB Implementation: MS Access Forms
Creating Additional Input Items
Wings 2.0 Business Flow Reference
Presentation transcript:

1 R. Ching, Ph.D. MIS Area California State University, Sacramento Week 4 February 15 LOV: List of ValuesLOV: List of Values Dealing with Errors and ProblemsDealing with Errors and Problems OLE: Object Linking and EmbeddingOLE: Object Linking and Embedding

2 R. Ching, Ph.D. MIS Area California State University, Sacramento Working with Multiple Canvases and Data Blocks Window Master Data Block  Tab canvas  Content canvas Items  Detail Data Block Items Menu Menu LOV

3 R. Ching, Ph.D. MIS Area California State University, Sacramento Tab Canvas Data block User enters a code How many users will remember all the codes?

4 R. Ching, Ph.D. MIS Area California State University, Sacramento LOV (list of values) Code transferred into box

5 R. Ching, Ph.D. MIS Area California State University, Sacramento

6

7 Principles of Design A form or reports should... Communicate information to the userCommunicate information to the user Be flexible to adapt to different needs, levels of experience and knowledge of the intended userBe flexible to adapt to different needs, levels of experience and knowledge of the intended user Be simple, and no simplerBe simple, and no simpler Perform to match the flow and speed of the userPerform to match the flow and speed of the user Provide assistance to its users through feedback and the ability to undo errorsProvide assistance to its users through feedback and the ability to undo errors

8 R. Ching, Ph.D. MIS Area California State University, Sacramento Flexibility Flexibility: The degree to which users can adapt the application to their intended useFlexibility: The degree to which users can adapt the application to their intended use –Provide different paths for different levels of experience

9 R. Ching, Ph.D. MIS Area California State University, Sacramento Simplicity Hide levels of complexity Simplify the common tasks Limit the number of interface elements Make interface element consistent and cohesive – –Frequency, sequence, importance and function Minimize redundancy and complexity of paths Use standards to guide users Automate data entry to improve reliabilityAutomate data entry to improve reliability –Default values, list of values, triggers

10 R. Ching, Ph.D. MIS Area California State University, Sacramento Sequence of Events... Create the content canvasCreate the content canvas –Add the master data block –Program the triggers Create the tab canvasCreate the tab canvas –Add the detail data block Create and attach the LOV (list of values)Create and attach the LOV (list of values) Menu added through inheritance (i.e., call_form)Menu added through inheritance (i.e., call_form) Fine tune the form moduleFine tune the form module

11 R. Ching, Ph.D. MIS Area California State University, Sacramento LOV: List of Values

12 R. Ching, Ph.D. MIS Area California State University, Sacramento List of Values (LOV) Used to authenticate or automate the selection of values from a listUsed to authenticate or automate the selection of values from a list Returns values to other items (e.g., data block item)Returns values to other items (e.g., data block item) Modal (popup) windowModal (popup) window Search functionSearch function –Handle large lists Can be filled by a query (dynamic list) or a static listCan be filled by a query (dynamic list) or a static list LOV

13 R. Ching, Ph.D. MIS Area California State University, Sacramento LOV and Record Groups LOV Record Group Define Values Manufacturer Name Manufacturer code Values

14 R. Ching, Ph.D. MIS Area California State University, Sacramento Creating an LOV Create the LOV through the LOV WizardCreate the LOV through the LOV Wizard –Build the SQL query that creates the list –Select and assign the return value to the data block item Assign the LOV to the data blockAssign the LOV to the data block Program a trigger that will display the LOVProgram a trigger that will display the LOV

15 R. Ching, Ph.D. MIS Area California State University, Sacramento Creating an LOV Create  In the Object Navigator, select LOVs  Click on Create in the tool palette  Select the LOV Wizard

16 R. Ching, Ph.D. MIS Area California State University, Sacramento  Enter the query Check your SQL syntax

17 R. Ching, Ph.D. MIS Area California State University, Sacramento  Specify the columns for the LOV

18 R. Ching, Ph.D. MIS Area California State University, Sacramento Specify the Return Value manufacturers.manufacturer_codemanufacturers.manufacturer_code Prevents the column from appearing in the LOV  Enter the return value for the data block

19 R. Ching, Ph.D. MIS Area California State University, Sacramento Assign the Return Item for the Data Block  Assign the column to return

20 R. Ching, Ph.D. MIS Area California State University, Sacramento Object Navigator LOV will have a record group associated with it

21 R. Ching, Ph.D. MIS Area California State University, Sacramento Record Group Edit the query through the record group’s property palette

22 R. Ching, Ph.D. MIS Area California State University, Sacramento Assign the LOV to the Data Block

23 R. Ching, Ph.D. MIS Area California State University, Sacramento Assign the LOV to the Data Block

24 R. Ching, Ph.D. MIS Area California State University, Sacramento Program the Trigger Displays the LOV Executes the query when the OK button is pressed An alternative to using An alternative to using

25 R. Ching, Ph.D. MIS Area California State University, Sacramento The user can either double-click or press to launch the LOV

26 R. Ching, Ph.D. MIS Area California State University, Sacramento Dealing with Errors and Problems

27 R. Ching, Ph.D. MIS Area California State University, Sacramento Launching a Query

28 R. Ching, Ph.D. MIS Area California State University, Sacramento Ending a Form Without Entering a Query FRM Error

29 R. Ching, Ph.D. MIS Area California State University, Sacramento Attempting a Query While Not in Query Mode

30 R. Ching, Ph.D. MIS Area California State University, Sacramento FRM Error

31 R. Ching, Ph.D. MIS Area California State University, Sacramento Overcoming Problems with Triggers Maximize the MDI and form module windowsMaximize the MDI and form module windows Enter query mode when the form is launchedEnter query mode when the form is launched Re-enter query mode after every queryRe-enter query mode after every query Cancel the query if no query is entered when exiting the formCancel the query if no query is entered when exiting the form Suppress system alerts and messagesSuppress system alerts and messages

32 R. Ching, Ph.D. MIS Area California State University, Sacramento Add and program the WHEN-NEW-FORM-INSTANCE and WHEN-NEW-RECORD-INSTANCE triggers Add and program the WHEN-MOUSE-CLICK trigger Note: This was taken from another form module

33 R. Ching, Ph.D. MIS Area California State University, Sacramento

34 R. Ching, Ph.D. MIS Area California State University, Sacramento Local variables needed to capture the error code and launch the alert

35 R. Ching, Ph.D. MIS Area California State University, Sacramento Re-enters query mode after a prior query

36 R. Ching, Ph.D. MIS Area California State University, Sacramento Content canvas Tab canvas Eventually...

37 R. Ching, Ph.D. MIS Area California State University, Sacramento OLE: Object Linking and Embedding

38 R. Ching, Ph.D. MIS Area California State University, Sacramento Object Linking and Embedding (OLE) Allows the developer to link or embed objects within other files objectsAllows the developer to link or embed objects within other files objects –An object can be a document, spreadsheet, graphic (GIF, TIF, JPEG, etc.), etc.

39 R. Ching, Ph.D. MIS Area California State University, Sacramento OLE Architecture Divides tools into OLE servers and containersDivides tools into OLE servers and containers –Server - an application that creates and serves OLE objects in other applications –Container - an application that provides facilities for creation, manipulation and storage of OLE objects

40 R. Ching, Ph.D. MIS Area California State University, Sacramento OLE Container (embedding) Link Spreadsheet (object) Excel (server) Oracle Form Module

41 R. Ching, Ph.D. MIS Area California State University, Sacramento Access Activation - connecting to the server application and using its features to manipulate and display the objectActivation - connecting to the server application and using its features to manipulate and display the object –In-place Activation Activates within the container applicationActivates within the container application Focus on the objectFocus on the object –External Activation (default) Activates within the server applicationActivates within the server application Object updated upon closeObject updated upon close

42 R. Ching, Ph.D. MIS Area California State University, Sacramento Create the OLE Container OLE Container  Create the OLE Container with the OLE button in the tool palette  Select the Property Palette

43 R. Ching, Ph.D. MIS Area California State University, Sacramento Change the Resize Property

44 R. Ching, Ph.D. MIS Area California State University, Sacramento Assign a File or Application to the OLE

45 R. Ching, Ph.D. MIS Area California State University, Sacramento Opening an Existing File  Select the file  Display an icon in the OLE container

46 R. Ching, Ph.D. MIS Area California State University, Sacramento During Runtime Double click on the icon Quick Time Player (designated Windows plug-in) launched to play the movie file

47 R. Ching, Ph.D. MIS Area California State University, Sacramento