Download presentation
Presentation is loading. Please wait.
Published byCharla Stevens Modified over 8 years ago
1
Data Control In this presentation… –databases supported –inserting a data control –data control properties –using the data control
2
data control database types –DDM –ADO –same for data control, database actions and database description dialog
3
data control DDM databases –iSeries record level access –SSL encryption
4
data control ADO databases –Microsoft SQL Server –Oracle –iSeries, zSeries –Microsoft Access –many, many more
5
data control inserting a data control –Insert/Data from Designer menu –set properties to bind to a database –bind fields to data control
6
data control data control 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.
7
data control data control properties –BOFAction move to first record stay at beginning of file –EOFAction move to last record stay at end of file add new record –ConnectionString prompter to help build connection string for ADO connections, the contents of the connection string are determined by the OLE DB provider.
8
data control data control properties –ConnectionString prompter to help build connection string for ADO connections, the contents of the connection string are determined by the OLE DB provider.
9
data control 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
10
data control sample ADO connection string –Provider=MSDASQL.1;Persist Security Info=False;Data Source=MS Access Database;Initial Catalog=newlookdemo.mdb
11
data control data control events –OnBOF Beginning of File –OnChange Fields has changed –OnEOF End of File –OnNext Next record –OnPrevious Previous record
12
data control binding controls to data controls –DataField property –DataSource property –available for Text box control Label control Combo box control Date combo box control
13
data control database description tool –available from Tools menu –view Connection String –view properties –view database structure
14
centric 8 Training Workshop 5
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.