the sqldatagrid is a symbol that enables to interact with data stored in sql databases. the...

29

Upload: robyn-skinner

Post on 12-Jan-2016

536 views

Category:

Documents


24 download

TRANSCRIPT

Page 1: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created
Page 2: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created in Published or Managed mode.

How to use A2 SQLDataGrid instead of wwGenericSQLGrid for SQL

Databases

Session WW12Session TitleJan Migge , Mamdouh Diab

Focus of presentation:

Page 3: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Time for a change

The Classic wwGenericSQLGridDid a great job since early 2000s

But not optimized for later OS and old design

New Grid- Ease in installation,

configuration, usability- Modern design- New Features

Page 4: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Problems with old SQL Grid

- Manual download and installation required- Problems with installation on later OS (Search

through Siebel)- Have to be installed on each machine manually

(pretty sure, but needs to be validated)- Unsupported, No Fixes or Enhancements

Page 5: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Comparison between SqlDataGrid and wwGenericSQLGrid

• Installation

• Configuration

• Functionality

Page 6: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Installation

wwGeneric SQL Grid:- Download- Install from executable- Activate ActiveX from Intouch- Install on each other node (To be validated)

A2 SQL Data Grid:- Just Embed the existing Graphic

Page 7: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration Custom Properties

..

Page 8: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration - SQL Authentication

#GenericGrid.ServerName

#GenericGrid.DatabaseName

#GenericGrid.UserName

#GenericGrid.Password

A2DataGrid.ConfiguredServer_dg

A2DataGrid.ConfiguredDatabase_dg

A2DataGrid.ConfiguredUser_dg

A2DataGrid. ConfiguredPassword_dg

Page 9: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration – Connection to DB

#GenericGrid.SQLString

#GenericGrid.Connect

A2DataGrid.SQLQuery_dg

A2DataGrid.CmdTestConnection_dg

Page 10: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration – Navigation

#GenericGrid.MoveFirst

#GenericGrid.MoveLast

#GenericGrid.MoveNext

#GenericGrid.MovePrevious

#GenericGrid.Clear

A2DataGrid.CmdPageFirst_dg

A2DataGrid.CmdPageLast_dg

A2DataGrid.CmdPageNext_dg

A2DataGrid.CmdPagePrev_dg

A2DataGrid.CmdClear_dg

Page 11: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration – Row Properties

#GenericGrid.MaxRecords

#GenericGrid.RowCount

#GenericGrid.GetRowNumber

A2DataGrid.RowLimit

A2DataGrid.RowCount_dg

A2DataGrid.SelectedRowNumber_dg

Page 12: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Configuration – Misc

#GenericGrid.Visible

#GenericGrid.ConnectionTimeout

#GenericGrid.Enabled

#GenericGrid.Execute

#GenericGrid.Font

A2DataGrid.Visible

A2DataGrid.ConnectionTimeout_dg

A2DataGrid.Enabled

A2DataGrid.CmdRetrieve

A2DataGrid.FontName_dg

Page 13: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Missing Functions

#GenericGrid. Caption

#GenericGrid.GetColumnVisible

#GenericGrid.SetColumnVisible

#GenericGrid.GetColumnWidth

#GenericGrid.SetColumnWidth

Page 14: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Missing Functions

#GenericGrid.GetColumnNumber#GenericGrid.GetRowNumber

#GenericGrid.GetRowColumnValue(Int,Int)#GenericGrid.GetSelectedCellValue

-> Due to this change it is not possible any longer to access data from a Cell directly

-> SQLData Object/Script is required to read data directly

Page 15: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Switching to the new Control

Switching controls make no sense when Access to Cell values are

required

New Application/Environements with several Nodes

(ease of installation & distribution)

Advanced Design

New Functionallity

Page 16: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Mamdouh’s Part from hereSession WW12Session TitleJan Migge , Mamdouh Diab

Focus of presentation:

Page 17: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

SQLDataGrid activities

• Insert or modify data in selected database table • Delete rows from a database table

• Selected data from existing table

• Run a custom SQL query

Page 18: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

• Insert or modify data in selected database table

Page 19: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

• Delete rows from a database table

Page 20: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

• Selected data from existing table

Page 21: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

• Run a custom SQL query

Page 22: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

SQLDataGrid new options

A- Grouping data

B- Aggregation

C- Filtering

D- Writing Values Back to Database

E- Table/View Listbox

Page 23: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Grouping data

..

Page 24: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Aggregation

..

Page 25: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Filtering

..

Page 26: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Writing Values Back to Database

..

Page 27: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Table/View Listbox

ComboBoxListString_dg

Page 28: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created

Demo Application

Page 29: The SQLDataGrid is a symbol that enables to interact with data stored in SQL databases. the SQLDataGrid symbol can use in an InTouch application created