the sqldatagrid is a symbol that enables to interact with data stored in sql databases. the...
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/1.jpg)
![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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/2.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/3.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/4.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/5.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/6.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/7.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/8.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/9.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/10.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/11.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/12.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/13.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/14.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/15.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/16.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/17.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/18.jpg)
• 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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/19.jpg)
• 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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/20.jpg)
• 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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/21.jpg)
• 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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/22.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/23.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/24.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/25.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/26.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/27.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/28.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052117/56649e985503460f94b9b0c5/html5/thumbnails/29.jpg)