® IBM Software Group © 2006 IBM Corporation EGL.CSV (Excel) File Reading and Writing This section describes how to access.CSV (Excel Spreadsheet) files.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
® IBM Software Group © 2006 IBM Corporation JSF dataTables – Basic Properties and Development Techniques Part I – of a 3-part section on the use of the.
Emissions and Energy Reporting System How to report a PEN for the Liquid Fuel Opt-in Scheme This presentation works best if you are able to use audio.
Creating a Form on a Web Page
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 7 Creating an Online Form.
Integrating Access with the Web and with Other Programs.
® IBM Software Group © 2006 IBM Corporation Additional AJAX Examples and Workshops This learning module provides additional AJAX use cases and examples.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
® IBM Software Group © 2006 IBM Corporation EGL / SOA – Creating and Consuming EGL Web Services This Learning Module shows how to utilize the RBD tooling.
® IBM Software Group © 2006 IBM Corporation JSF dataTables – Advanced use of Properties and Development Techniques Part III – of a 3-part section on the.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
® IBM Software Group © 2006 IBM Corporation JSF Menu Component How to create and use JSF Menu components to add custom static and programmatic (dynamic)
® IBM Software Group © 2006 IBM Corporation EGL/Web Project QuickStart – 3 of 4 – Creating the U.I. Layer These slides walk you through the process of.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
® IBM Software Group © 2006 IBM Corporation JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
® IBM Software Group © 2006 IBM Corporation EGL Calling RPG Programs This Learning Module shows how to use EGL to call RPG programs, running on System.
® IBM Software Group © 2006 IBM Corporation Display contents of a Data Table in Excel right from the browser – No POI needed This section describes how.
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
® IBM Software Group © 2006 IBM Corporation JavaScript – and EGL and.JSP Pages This learning module describes the use of JavaScript in your EGL and.JSP.
® IBM Software Group © 2013 IBM CorporationLast Update: August 2013 Workshops RDz Workbench – Using the Data Source Explorer Workshops.
® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.
® IBM Software Group © 2006 IBM Corporation EGL Programming – Data Parts and Assignment Statements – 4 – Arrays These slides walk you through the terms.
Self Guided Tour for Query V8.4 Basic Features. 2 This Self Guided Tour is meant as a review only for Query V8.4 Basic Features and not as a substitute.
® IBM Software Group © 2006 IBM Corporation Programmatically Rendering and Hiding JSF Controls This section describes how to hide and show JSF controls.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Systems Module Slide 2 – Overview and Navigation
1 Working with MS SQL Server Textbook Chapter 14.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
0 eCPIC User Training: Dependency Mapper These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
Key Applications Module Lesson 21 — Access Essentials
® IBM Software Group © 2006 IBM Corporation “Essential” HTML Tags and Page Development Techniques This Learning Module describes the standard HTML tags.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Lesson 1: Exploring Access Learning Objectives After studying this lesson, you will be able to: Start Access and identify elements of the application.
CSC 240 (Blum)1 Forms and Importing Data in Access.
® IBM Software Group © 2006 IBM Corporation EGL/Web Project QuickStart – 2 of 4 – Creating the Business Logic Layer These slides walk you through the process.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
® IBM Software Group © 2006 IBM Corporation Individual Cell Coloring – in a JSF dataTable Control You may need to programmatically (using EGL) change the.
Spreadsheet Data Tables Data Table 1 allows you to change one input variable’s value at a time and record the impact that the input assumption has on several.
® IBM Software Group © 2006 IBM Corporation Using JSF Mini-Calendar Controls This section describes how to use a JSF Mini-Calendar Control with EGL It.
® IBM Software Group © 2006 IBM Corporation JSF File Upload Control This Learning Module describes the use of the JSF File Upload component – for allowing.
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – RBD Tooling – for Web Development This unit introduces you to the aspects of the RBD tooling.
® IBM Software Group © 2006 IBM Corporation “Essential” JSF Components and EGL Bindings This Learning Module describes the foundation terms and concepts.
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.
0 eCPIC User Training: Portfolios Module These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
® IBM Software Group © 2006 IBM Corporation Finding Out Which Submit Button Was Clicked – and Other JSF Command Button Techniques This section describes.
® IBM Software Group © 2006 IBM Corporation EGL/Web Project QuickStart – 1 of 4 – Creating the Data Access Layer These slides walk you through the process.
® IBM Software Group © 2006 IBM Corporation JSF Panel – Section Controls This Learning Module shows how to develop server-side EGL applications with dynamic.
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
Corporate Customers Basic Services Intuit Financial Services University Business Financial Solutions Certification.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
® IBM Software Group © 2006 IBM Corporation Dependent Combo-Box U.I. Development This Learning Module walks you through the options and development techniques.
Chapter 9 Working with Databases. Copyright © 2011 Pearson Addison-Wesley Introduction In this chapter you will learn: – Basic database concepts – How.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
June 17, 2009 Office 2007 Tips & Tricks.
Chapter 2: The Visual Studio .NET Development Environment
Microsoft Office Access 2003
Microsoft Office Access 2003
Tutorial 7 – Integrating Access With the Web and With Other Programs
A drag and drop exercise can be created using Word quite easily using tables, text boxes and ensuring the document is saved properly.
Presentation transcript:

® IBM Software Group © 2006 IBM Corporation EGL.CSV (Excel) File Reading and Writing This section describes how to access.CSV (Excel Spreadsheet) files from a program. It assumes you understand EGL projects, the language, tools, build-files and statements used to access serial files.

2 Last update: 12/04/2007 Reading/Writing an MS-Excel Spreadsheet (.csv) File  Let’s say that you needed to write an MS-Excel spreadsheet using EGL. Here are the steps:  Create a page that allows users to search for orders from a customer. Then subsequently, select orders and write the data to a comma-delimited (spreadsheet) file. Your JSFHandler will contain:  Create a new record of type: CSVRecord – which contains a reference to a Resource Association logical name for the.CSV filespec  EGL/SQL search logic (explicit/custom SQL)  EGL write logic to read and/or write to an external file  Modify the Resource Association element for the external file  Logical (internal) name  File type  (Physical) file name/file spec  Run the page  The detailed steps begin on the next slide. Note that we will be combining writing a.CSV file with some fairly intense JSF dataTable work. Set aside the appropriate period of time  Note – see the product help on the topic: CSVRecord stereotype – for detailed information on the CSVRecord properties

3 Last update: 12/04/2007 Writing to a.CSV File – 1 of 7  Here’s what we’re going to be doing with this workshop  This page will allow users to search for any customer’s orders Then select one or more orders To write to a.CSV file

4 Last update: 12/04/2007 Create the page and JSFHandler – 2 of 7  Create the page and JSFHandler – 2 of 7 csvRecPage.jsp  Create a new,.JSP web page, named: csvRecPage.jsp Notes  Copy/Paste the code in the ***Notes section of this slide – and read the comments. Observe the following: CSVRecord 1.The CSVRecord declaration – note that the screen capture is cut-off, and does not show all the comments, and code in the Notes section. sel int[0] Orders 2.The sel int[0] array is a dynamic array that will (at run-time) contain the index values of the Orders – for every row the user checks (checkbox control – U.I. technique shown on an upcoming slide) Orders sel 3.The loop shows how to reference the selected Orders rows – by using the sel array’s occurrences - note the nested array brackets “shorthand” Ctrl/S  Ctrl/S – save your code

5 Last update: 12/04/2007 – 3 of 7  Create the default dataTable and other Controls – 3 of 7 orders (From Page Designer/Page Data view) Drag and Drop orders on the page – and create the dataTable shown below - display all of the fields in the record – as Read/only (output) controls  Drag and Drop searchCustID – make it an Input field  Drag and Drop the getOrders() function – next to the field (by placing it inside the dotted line border)  Drag and drop the writeOrders() function – below the JSF dataTable

6 Last update: 12/04/2007 Modify the dataTable’s U.I. Properties – 4 of 7  Modify the dataTable’s U.I. Properties – 4 of 7 From Page Designer, select the entire dataTable (note – the easiest way to select the entire dataTable is to click on a column, and press the up arrow key twice on your keyboard) From the hx:dataTableEx properties – give the control a Border: 1 From – Display options Delete Column classes:

7 Last update: 12/04/2007 Add a selection column to the table – 5 of 7  Add a selection column to the table – 5 of 7 From - Row actions:  Click: Add selection column to the table  A new column will be added to your dataTable with a small checkbox inside it, representing the selection row action, and your Properties should show:  Value:  From: Value: click the Browse… icon sel – int[]  Select the sel – int[] array OPTIONAL  Click: Add selection toolbar  Click: Add selection combo box

8 Last update: 12/04/2007  Add a new Association to the Resource Association – 6 of 7 As you did in the previous workshop(s): EGLWeb.eglbld - Add a new Resource Association to the EGLWeb.eglbld build file. orders - Add a File Name for orders – and point it to a systemName. - - From the EGLWeb.eglbld file, select your resource associations part, as the resourceAssociations for the build file Generate your project

9 Last update: 12/04/2007  Run the Program – 7 of 7  Run the page  Search for a Customer with orders  Select (check) some orders to add to the.CSV file  Click writeOrders  From MyComputer, open the.CSVFile

10 Last update: 12/04/2007  Now that you have completed this topic, you should be able to:  List several of the EGL record types used for accessing external files  Define the purpose of the following EGL system files  Build file  Resource Association Part  Linkage Part  Create a new Resource Association to define an external file for EGL access  Write and Debug an EGL program that used external data access statements to read and write external files  Define a serialRecord for an external file Topic Summary