Copyright 2007, Information Builders. Slide 1 Enhancing Maintain Applications with HTML Mark Derwin and Mark Rawls Information Builders.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
Using Macros and Visual Basic for Applications (VBA) with Excel
Site Modules > Page Builder Access the Page Builder module through the Site Modules top navigation link. Access Page Builder from the Site Modules navigation.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 7 Creating an Online Form.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Creating a Visual Catalog with Maintain Mark Derwin and Mark Rawls Information Builders Information Builders Summit 2011 User Conference June 2011 Copyright.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Introduction To Form Builder
Creating Dynamic Surveys with Maintain Mark Derwin and Mark Rawls Information Builders Information Builders Summit 2011 User Conference June 2011 Copyright.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
® IBM Software Group © 2006 IBM Corporation JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content.
Chapter 3 Maintaining a Database
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
MBAC 611.  Click on the My Computer Icon  Open your private network directory  Create a new folder named lab7  Copy your lab6 Access file to the lab7.
Enter your Organization Code, Username and Password. These will be provided to you by your iAdvantage Administrator. Note that these entries.
Web Technologies Website Development Trade & Industrial Education
Copyright 2007, Information Builders. Slide 1 WebFOCUS Maintain – Enhancing Objects with JavaScript Mark Derwin Information Builders Information Builders.
Creating a Web Site to Gather Data and Conduct Research.
Website Development with Dreamweaver
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
RIGHT Mouse Button Formatting Cut Copy Paste Save LEFT Mouse Button MAIN BUTTON Single clicks Double clicks Drag Highlight.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Microsoft Access 2010 Chapter 10 Administering a Database System.
The Next Generation. Parent Access Grade History and Attendance.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
For additional assistance, please call the Help Desk Searching 1. If a Search window does not appear after logging into the system, click the Search icon.
Learning How to Make a PowerPoint Presentation A tutorial for novice users.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Creating an Application System Using Macros, Wizards, and the Switchboard.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Ch. 101 Database Management An Introduction to Databases.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
Copyright 2007, Information Builders. Slide 1 Flex your Dashboard Muscle with WebFOCUS Flex Enable John Gogoly Senior Systems Engineer June, 2008.
FOCUS II Demonstration Simply click the mouse to advance through the presentation. Or; Tap the right arrow key on the keyboard to advance through the slides.
Dreamweaver MX. 2 Tools for Code Editing (p. 366) n An HTML editor like Dreamweaver writes most of the code you need, but at times you will need to perform.
Creating and Editing a Web Page
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
Creating and Editing a Web Page Using Inline Styles
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
If you don’t have Google Earth downloaded already, you can go to to get it.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED FORMS.
Using Macros, Switchboards, PivotTables, and PivotCharts
Maintaining a Database
Unit I: Collecting Data with Forms
Chapter 7 Advanced Form Techniques
How to PostPower Point Presentations
Presentation transcript:

Copyright 2007, Information Builders. Slide 1 Enhancing Maintain Applications with HTML Mark Derwin and Mark Rawls Information Builders

Copyright 2007, Information Builders. Slide 2 Presentation Information  Authors: Mark Derwin and Mark Rawls  Company: Information Builders  Presentation Title: Enhancing Maintain Applications with HTML  Presentation Abstract: Deployed Maintain forms are displayed as DHTML. You can enhance objects, like the HTMLTable, by adding simple HTML commands to your code. This lab shows you how.

Copyright 2007, Information Builders. Slide 3 Enhancing Maintain Applications with HTML Creating a New Project  Right-click on Projects on localhost and select New Project…  Enter HTMLTable and Click Next >

Copyright 2007, Information Builders. Slide 4 Enhancing Maintain Applications with HTML Creating a New Project  The Movies Master and FOCUS files are already included in this directory so we don’t need to add any files.  Click Finish

Copyright 2007, Information Builders. Slide 5 Enhancing Maintain Applications with HTML Creating a New Project  Double click on the Master Files folder under HTMLTable to display Master files  Highlight Movies.foc and Movies.Mas  Click on the Icon with the + to include to files into the project

Copyright 2007, Information Builders. Slide 6 Enhancing Maintain Applications with HTML Creating a New Project  Right-click on the Maintain Files Folder and select New >  Select Maintain Procedure  Name it LAB1 and click Open

Copyright 2007, Information Builders. Slide 7 Enhancing Maintain Applications with HTML Inside the MDE  MAINTAIN – All Maintains start with the word MAINTAIN in upper case  END – All Maintains end with the word END in upper case  All other commands can be mixed case  Use -*, $$, $* *$ for comments

Copyright 2007, Information Builders. Slide 8 Enhancing Maintain Applications with HTML Adding a Data Source  Right-click on LAB1 and select Use data sources…  Double-click on movies to move it from Available data to Data sources to use  You can use up to 15 data sources per procedure  Click OK  Notice that the MAINTAIN command line now contains the file name

Copyright 2007, Information Builders. Slide 9 Enhancing Maintain Applications with HTML Loading the Stack  A stack is an array containing database or computed fields  Columns are fields and rows are data  Reads Master File to know field names, formats, lengths and position  Load up a stack with the NEXT command  We are loading 10 records into a stack named STK  Click Save

Copyright 2007, Information Builders. Slide 10 Enhancing Maintain Applications with HTML Creating a Form  Expand the LAB1 folder  Expand the Forms folder  Double-click on Form1 to display the form  Maximize the form

Copyright 2007, Information Builders. Slide 11 Enhancing Maintain Applications with HTML Adding an HTML Table  Select the HTML Table object from the Control Palette  Click on the upper left corner of the form, drag the cursor to the right side of the form to create a rectangle.  Select Stk and move over: Moviecode, Title and Category  Click OK

Copyright 2007, Information Builders. Slide 12 Enhancing Maintain Applications with HTML Running the Application  Save and Run  Right-click on LAB1 and select Run Procedure  Once Deployment is successful, click Close

Copyright 2007, Information Builders. Slide 13 Enhancing Maintain Applications with HTML Running the Application  Click X to return to the MDE  If code is not displayed, double-click on LAB1

Copyright 2007, Information Builders. Slide 14 Enhancing Maintain Applications with HTML Adding a Checkbox  Add a Checkbox to an HTMLTable to allow the user to select a row  Use HTML Tags  Input Type: CheckBox  Name: Must be unique for each row  Value: 1 or blank. You can change retrieval value  Use Form.GetHTMLField to retrieve the values from the HTMLTable.  You cannot resort this stack after you create the Checkbox

Copyright 2007, Information Builders. Slide 15 Enhancing Maintain Applications with HTML Enhancing the Code  Create a cbox field in STK for every row in the stack – Stk.Foccount  Give each check box a unique name – Concatenate counter to ‘check’  If checked, the returned value is 1. That can be changed  Create GetData case to retrieve selections  Create Sel field to retrieve values from HTMLTable – Uses GetHTMLField  Save!

Copyright 2007, Information Builders. Slide 16 Enhancing Maintain Applications with HTML Editing the HTML Table  Double-click on Form1 to display the form  Double-click on the HTMLTable to display the columns  Scroll down. Notice that cbox and Sel are on the column list

Copyright 2007, Information Builders. Slide 17 Enhancing Maintain Applications with HTML Editing the HTML Table  Add Cbox and Sel to the Table columns  Use the arrows to make Cbox the first field  Double-click on Cbox to edit the column

Copyright 2007, Information Builders. Slide 18 Enhancing Maintain Applications with HTML Editing the HTML Table  Change the Width of Cbox to 6.  Change the Content type from: 0 – Text To1 – HTML  Click OK to exit this screen  Click OK to return to the form

Copyright 2007, Information Builders. Slide 19 Enhancing Maintain Applications with HTML Adding a Button  Select the button object from the tools palette.  Draw a rectangle under the HTMLTable  Change the text to Process  Click on the Events Tab for the button  Select the Click Event and the Events screen opens

Copyright 2007, Information Builders. Slide 20 Enhancing Maintain Applications with HTML Adding a Button  Button1 & Click are selected and Maintain function is clicked  Expand the Functions folder  Drag the GetData case from Functions into the Event  Save and Run - Right-mouse click on LAB1 and select Run Procedure

Copyright 2007, Information Builders. Slide 21 Enhancing Maintain Applications with HTML Running the Application  To pre-check a value, use the keyword CHECKED Compute Stk(I).cbox/a100 = " ";  NOTE: Do not resort the stack when using this technique!

Copyright 2007, Information Builders. Slide 22 Enhancing Maintain Applications with HTML Adding a List Box  Add a List Box to an HTMLTable to allow the user to select a value from a drop down list  Use HTML Tags  Select  Name: Must be unique for each row  Value: Retrieval and display  Value can be static or dynamic  Retrieve database values and assign them  Use Form.GetHTMLField to retrieve the values from the HTMLTable.  You cannot resort this stack after you create the List Box

Copyright 2007, Information Builders. Slide 23 Enhancing Maintain Applications with HTML Adding a List Box  Double click on LAB1  Create a lbox field in Stk  There are two values for each entry:  Retrieval and Display  This code leaves row 1 blank  Add a line in GetData  NewRate contains the selected value.  SAVE  Click on Form1 to display the form.  Double-click on the HTMLTable

Copyright 2007, Information Builders. Slide 24 Enhancing Maintain Applications with HTML Adding a List Box  Add fields Lbox, Rating and Newrate to the columns  Double-click on Title and change its width to 20. Click OK  Double-click on Lbox to change its format

Copyright 2007, Information Builders. Slide 25 Enhancing Maintain Applications with HTML Adding a List Box  Change the width to 10  Change the content type to 1 – HTML  Click OK to save  Click OK to return to the Form  Save and Run  NOTE: Do not resort the stack when using this technique!

Copyright 2007, Information Builders. Slide 26 Enhancing Maintain Applications with HTML Running the Application  When you process, all list boxes reset  Retrieve all values before screen resets  This example shows static values. You can substitute values for values in the database and only show valid items per line. Like Cars by Country or Employees by Department.

Copyright 2007, Information Builders. Slide 27 Enhancing Maintain Applications with HTML Presetting the List Box with Database Value compute x1/10=''; compute x2/10=''; compute x3/10=''; compute x4/10=''; compute x5/10=''; compute x6/10=''; if stk(i).rating = ' ' then compute x1='selected'; if stk(i).rating = 'G' then compute x2='selected'; if stk(i).rating = 'NR' then compute x3='selected'; if stk(i).rating = 'PG' then compute x4='selected'; if stk(i).rating = 'G13' then compute x5='selected'; if stk(i).rating = 'R' then compute x6='selected'; Compute Stk(I).lbox/a250 = " " | " G " | " NR " | " PG " | " PG13 " | " R " | " "

Copyright 2007, Information Builders. Slide 28 Additional Techniques - Homework

Copyright 2007, Information Builders. Slide 29 Enhancing Maintain Applications with HTML Adding an Input Field  Add an input field to an HTMLTable to allow the user to enter a value.  Use HTML Tags  Input Type: Text  Value: Blank, Static or dynamic  Size: Display Length  Use Form.GetHTMLField to retrieve the values from the HTMLTable.  You cannot resort this stack after you create the input field

Copyright 2007, Information Builders. Slide 30 Enhancing Maintain Applications with HTML Adding Input Fields  Add a field for input  VALUE can be blank, static or dynamic  SIZE is only kind of respected  Edit HTMLTable and include Inbox and Inval fields  Edit Inbox column  Change width to 10  Change Content type to 1 – HTML  Retrieve data in GetData  NOTE: Do not resort the stack when using this technique!

Copyright 2007, Information Builders. Slide 31 Enhancing Maintain Applications with HTML Adding Input Fields  You can change the input fields to password fields by replacing the word text with password: " ";

Copyright 2007, Information Builders. Slide 32 Enhancing Maintain Applications with HTML Adding a Radio Button  Add a Radio Button to an HTMLTable to allow the user to make a selection  Use HTML Tags  Input Type: Radio  Value: Retrieve and Display  Values can be blank, static or dynamic  Dynamic not recommended. Too many options may get truncated  Use Form.GetHTMLField to retrieve the values from the HTMLTable.  You cannot resort this stack after you create the input field

Copyright 2007, Information Builders. Slide 33 Enhancing Maintain Applications with HTML Adding Radio Buttons  Click on LAB1 for code  Add rbutton and Rval to STK for display and retrieval.  Double-click Form1 and add rbutton and Rval to the HTMLTable  Edit rbutton column  Change width to 25  Change Content Type to 1 – HTML  Save and Run

Copyright 2007, Information Builders. Slide 34 Enhancing Maintain Applications with HTML Adding Radio Buttons  Top Case Code Compute Stk(i).rbutton/a250 = " G " | " NR " | " PG " | " PG13 " | " R " Compute I=I+1;  Case GetData Code Compute Stk(I).Rval/a4 = Form1.GetHTMLField('radiox' || I);

Copyright 2007, Information Builders. Slide 35 Enhancing Maintain Applications with HTML Adding Radio Buttons  You can set a default checked entry by adding the word CHECKED to the desired row: " NR “