Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting.

Similar presentations


Presentation on theme: "Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting."— Presentation transcript:

1 Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting to data sources.

2 Advanced Integration - Grid Control Enhanced Grid control –Supports advanced refacing and new development. Extends existing 5250 support. Provides link to alternate data sources, e.g. databases loaded using script or macros. –Removes constraints of 24x80 ‘green screen’. Grids can hold more information than typical ‘green screens’. Improves user productivity. Improves aesthetic appeal.

3 Advanced Integration - Grid Control Enhanced Grid control –Automatically displays iSeries subfile data (5250). –Displays data in a series of rows and columns. New functionality –New Row, Column, Cell objects. –Use the Collections property to add columns. –Resize grid columns (Designer & User). –Sort columns (User). –Re-order columns (in Designer only). –Horizontal scrolling. Saves screen space. –Grid Supports use of other controls. Use Designer to change field recognition, e.g. DateCombo etc. –Makes integration easier.

4 Advanced Integration - Grid Control The Grid control and Enterprise Integration –Combine data from multiple layers: Presentation. Application. Data. –Use the enhanced Grid to retrieve data from: Databases. iSeries apps. Other.

5 Advanced Integration - Grid Control Grid properties –Properties: CaptionText CaptionBackColor CaptionForeColor ImageList ShowCaption ShowColumnHeaders FoldCount ScrollBars Columns –Events: OnBeginEdit OnEndEdit OnLoadRecord OnScroll OnSort

6 Advanced Integration - Grid Control Collections: –Modify individual column properties. –Customize look and feel Cells –Modify cell collections for each row using macro or script properties.

7 Advanced Integration - Grid Control The Enhanced Grid control and data integration –Databases supported –Inserting a grid control Database types –DDM –ADO

8 Advanced Integration - Grid Control DDM databases –iSeries –zSeries –SSL encryption ADO databases –Microsoft SQL Server –Oracle –iSeries, zSeries –Microsoft Access –Any database that has ADO driver.

9 Advanced Integration - Grid Control Inserting a Grid control –Insert Grid from Designer menu. –Set properties to bind to a database. –Bind fields to Grid control.

10 Advanced Integration - Grid Control Data connection properties –Server Specify the server type (ServerDDM, ServerADO) –Source If Server property is DBServerADO then the Source property is a Command object variable, an SQL statement, a stored procedure, or a table name If the Server property is set to DBServerDDM, the Source property specifies a file or member name.

11 Advanced Integration - Grid Control Data connection properties –ConnectionString Prompter to help build connection string For ADO connections, the contents of the connection string are determined by the OLE DB provider. –Sample DDM connection string Network Address=192.168.1.1;Network Port=447;Use Encryption for Data=False;User ID=brendan;Host CCSID=37;Mode=Read|ShareDenyNone;Isolation Level=ReadCommitted;Process Binary as Character=False –Sample ADO connection string Provider=MSDASQL.1;Persist Security Info=False;Data Source=MS Access Database;Initial Catalog=newlookdemo.mdb

12 Advanced Integration - Grid Control Database description tool –Available from Tools menu –View Connection String –View properties –View database structure

13 centric 8 Training Workshop 6

14 This page is intentionally left blank.


Download ppt "Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting."

Similar presentations


Ads by Google