Date post: | 12-Jan-2016 |
Category: |
Documents |
Upload: | robyn-skinner |
View: | 534 times |
Download: | 24 times |
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:
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
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
Comparison between SqlDataGrid and wwGenericSQLGrid
• Installation
• Configuration
• Functionality
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
Configuration Custom Properties
..
Configuration - SQL Authentication
#GenericGrid.ServerName
#GenericGrid.DatabaseName
#GenericGrid.UserName
#GenericGrid.Password
A2DataGrid.ConfiguredServer_dg
A2DataGrid.ConfiguredDatabase_dg
A2DataGrid.ConfiguredUser_dg
A2DataGrid. ConfiguredPassword_dg
Configuration – Connection to DB
#GenericGrid.SQLString
#GenericGrid.Connect
A2DataGrid.SQLQuery_dg
A2DataGrid.CmdTestConnection_dg
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
Configuration – Row Properties
#GenericGrid.MaxRecords
#GenericGrid.RowCount
#GenericGrid.GetRowNumber
A2DataGrid.RowLimit
A2DataGrid.RowCount_dg
A2DataGrid.SelectedRowNumber_dg
Configuration – Misc
#GenericGrid.Visible
#GenericGrid.ConnectionTimeout
#GenericGrid.Enabled
#GenericGrid.Execute
#GenericGrid.Font
A2DataGrid.Visible
A2DataGrid.ConnectionTimeout_dg
A2DataGrid.Enabled
A2DataGrid.CmdRetrieve
A2DataGrid.FontName_dg
Missing Functions
#GenericGrid. Caption
#GenericGrid.GetColumnVisible
#GenericGrid.SetColumnVisible
#GenericGrid.GetColumnWidth
#GenericGrid.SetColumnWidth
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
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
Mamdouh’s Part from hereSession WW12Session TitleJan Migge , Mamdouh Diab
Focus of presentation:
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
• Insert or modify data in selected database table
• Delete rows from a database table
• Selected data from existing table
• Run a custom SQL query
SQLDataGrid new options
A- Grouping data
B- Aggregation
C- Filtering
D- Writing Values Back to Database
E- Table/View Listbox
Grouping data
..
Aggregation
..
Filtering
..
Writing Values Back to Database
..
Table/View Listbox
ComboBoxListString_dg
Demo Application