1. The document describes source code for a visual programming task that involves creating tables and forms for storing employee data.
2. Tables are designed to store employee ID, name, date of birth, and gender. Forms are created with labels, text boxes, and a navigator bar to add, edit, and view employee records.
3. Source code examples are provided for editing different employee fields, including ID, name, date of birth, gender, and using the navigator bar.
The document shows the log of commands used to sideload files onto an Android device using ADB and fastboot. It records multiple attempts to sideload various zip files, some succeeding and others failing with errors like "protocol fault".
This document provides instructions on using Data Definition Language (DDL) and Data Manipulation Language (DML) commands in a relational database management system (RDBMS). It describes the syntax and use of common DDL commands like CREATE, ALTER, DROP, and TRUNCATE to define and modify database tables. It also explains DML commands like INSERT, UPDATE, DELETE, and SELECT to manipulate data by adding, changing, removing, and querying records. Examples are given of creating tables, adding/removing columns, inserting data, updating records, deleting rows, and running queries using these SQL commands.
The document discusses Relational Database Management Systems (RDBMS). It defines key concepts such as data, database, DBMS, RDBMS and provides examples of how data is structured in tables with rows and columns. It also summarizes common RDBMS features like SQL queries, data types, integrity constraints, functions and joins. Overall, the document provides a high-level overview of RDBMS components and functionality.
Does Your IBM i Security Meet the Bar for GDPR?Precisely
While the European Union’s General Data Protection Regulation (GDPR) took effect May 25, many global organizations still feel the stress of achieving compliance. Could your organization pass an audit and avoid fines today?
If you are concerned about GDPR compliance, or compliance with other security regulations, view this webinar with IBM Systems Magazine where we provide a practical guide to setting up a more secure, auditable IBM i configuration. You will learn about base IBM i functions, Do-It-Yourself tips, and how software solutions can help you accelerate and maintain compliance.
This webcast and all related materials are provided for informational purposes only, and are not intended to provide, and should not be relied on for, legal advice pertaining to the subject matter. If you have specific questions on how this may affect your organization you should consult your legal advisor.
This power point presentation covers how to create a database. It includes 6 topics: acknowledgment, DDL, DML, DCL, TCL, and data types. DDL deals with database schemas and descriptions and includes commands like CREATE, ALTER, and DROP. DML deals with data manipulation and includes commands like SELECT, INSERT, UPDATE, and DELETE. DCL includes commands like GRANT and REVOKE and deals with database access privileges and permissions. TCL deals with transactions and includes COMMIT and ROLLBACK commands. The presentation defines different data types like string, integer, float, character, boolean and provides examples. It also discusses forms and reports in a database context.
This document provides instructions for creating a Visual Basic application for a film rental system. It includes requirements for installing Visual Basic 6.0, Crystal Reports 8.5, and additional components. It also provides directions for creating a database, adding controls, and configuring properties. The document then shares code listings for creating form modules, including procedures for handling inputs, validating data, displaying records, and interacting with the database.
SQL is a programming language used to manage data in relational database systems. It can be used to create, query, update, and modify relational databases. SQL comprises both data definition and data manipulation languages that allow users to define and modify database schemas as well as store, retrieve, and manage data within databases. Some key advantages of SQL include high speed for retrieving large amounts of data, adherence to well-defined standards, and not requiring coding to manage database systems.
This document provides an overview of Oracle SQL and its key components. It covers data types, SQL statements including DDL, DML, DQL, DCL, TCL, and system control statements. It also discusses constraints, joins, set operators, clauses, expressions and operators, functions, subqueries, views, indexes, and other Oracle-specific components like sequences, synonyms, and database links. Examples are provided for many SQL statements. The document is intended as a reference for the Oracle 11g SQL exam.
The document shows the log of commands used to sideload files onto an Android device using ADB and fastboot. It records multiple attempts to sideload various zip files, some succeeding and others failing with errors like "protocol fault".
This document provides instructions on using Data Definition Language (DDL) and Data Manipulation Language (DML) commands in a relational database management system (RDBMS). It describes the syntax and use of common DDL commands like CREATE, ALTER, DROP, and TRUNCATE to define and modify database tables. It also explains DML commands like INSERT, UPDATE, DELETE, and SELECT to manipulate data by adding, changing, removing, and querying records. Examples are given of creating tables, adding/removing columns, inserting data, updating records, deleting rows, and running queries using these SQL commands.
The document discusses Relational Database Management Systems (RDBMS). It defines key concepts such as data, database, DBMS, RDBMS and provides examples of how data is structured in tables with rows and columns. It also summarizes common RDBMS features like SQL queries, data types, integrity constraints, functions and joins. Overall, the document provides a high-level overview of RDBMS components and functionality.
Does Your IBM i Security Meet the Bar for GDPR?Precisely
While the European Union’s General Data Protection Regulation (GDPR) took effect May 25, many global organizations still feel the stress of achieving compliance. Could your organization pass an audit and avoid fines today?
If you are concerned about GDPR compliance, or compliance with other security regulations, view this webinar with IBM Systems Magazine where we provide a practical guide to setting up a more secure, auditable IBM i configuration. You will learn about base IBM i functions, Do-It-Yourself tips, and how software solutions can help you accelerate and maintain compliance.
This webcast and all related materials are provided for informational purposes only, and are not intended to provide, and should not be relied on for, legal advice pertaining to the subject matter. If you have specific questions on how this may affect your organization you should consult your legal advisor.
This power point presentation covers how to create a database. It includes 6 topics: acknowledgment, DDL, DML, DCL, TCL, and data types. DDL deals with database schemas and descriptions and includes commands like CREATE, ALTER, and DROP. DML deals with data manipulation and includes commands like SELECT, INSERT, UPDATE, and DELETE. DCL includes commands like GRANT and REVOKE and deals with database access privileges and permissions. TCL deals with transactions and includes COMMIT and ROLLBACK commands. The presentation defines different data types like string, integer, float, character, boolean and provides examples. It also discusses forms and reports in a database context.
This document provides instructions for creating a Visual Basic application for a film rental system. It includes requirements for installing Visual Basic 6.0, Crystal Reports 8.5, and additional components. It also provides directions for creating a database, adding controls, and configuring properties. The document then shares code listings for creating form modules, including procedures for handling inputs, validating data, displaying records, and interacting with the database.
SQL is a programming language used to manage data in relational database systems. It can be used to create, query, update, and modify relational databases. SQL comprises both data definition and data manipulation languages that allow users to define and modify database schemas as well as store, retrieve, and manage data within databases. Some key advantages of SQL include high speed for retrieving large amounts of data, adherence to well-defined standards, and not requiring coding to manage database systems.
This document provides an overview of Oracle SQL and its key components. It covers data types, SQL statements including DDL, DML, DQL, DCL, TCL, and system control statements. It also discusses constraints, joins, set operators, clauses, expressions and operators, functions, subqueries, views, indexes, and other Oracle-specific components like sequences, synonyms, and database links. Examples are provided for many SQL statements. The document is intended as a reference for the Oracle 11g SQL exam.
The document provides instructions for examiners evaluating answers to a Database Management System exam. It states that examiners should focus on assessing the understanding level of candidates rather than marking word-for-word answers. Examiners are instructed to give partial credit for concepts conveyed accurately by candidates and flexibility in figures drawn. The document also provides a sample exam question and marking scheme as an example.
The document discusses GRelC, a project that aims to design and deploy the first Grid Database Management System (Grid-DBMS) for the Globus community. It describes how GRelC allows for dynamic and transparent access to distributed, heterogeneous databases in a grid environment. Key features of GRelC include authentication, authorization, access control policies, data encryption, and support for single and multi-query operations across multiple database management systems.
This document provides an overview of PL/SQL, Oracle's procedural language extension for SQL and the Oracle Database. It discusses key PL/SQL features like tight integration with SQL, improved performance, productivity and portability. It also covers PL/SQL programming constructs like variables, data types, control structures, procedures, functions, triggers and cursors. PL/SQL code is organized into optional declaration, executable and exception sections and allows for modular programming and error handling.
This document discusses the authorization and configuration of tabs and subtabs in a user interface. It describes setting properties like the tab ID, parent tab, type, label, and access controls. External authorization is supported through database attributes, constants, and conditional checks on company ID, project ID, and other fields. The tabs are loaded and managed through classes like TabController and Tab which set properties and handle authorization and URL validation. Logging of tab operations is done through a TabLogger and TabLogManager class.
This document provides examples of using SQL commands in DB2 to create and manage database tables, insert and query data, create views, and more. It shows how to start and connect to a DB2 database instance named "sample", create tables like "EMPLOYEE" and insert sample records, perform joins, unions and other queries, update and delete records, create a view, list tables, and shut down the DB2 instance. The examples demonstrate basic and some advanced SQL features in DB2.
The document discusses Structured Query Language (SQL) and its basic statements. It covers:
- SQL is used to request and retrieve data from databases. The DBMS processes SQL queries and returns results.
- SQL statements are divided into DDL (data definition language) for managing schema, DML (data manipulation language) for data queries/modification, and DCL (data control language) for managing transactions and access control.
- The document provides examples of using SQL commands like CREATE TABLE, ALTER TABLE, DROP TABLE, INSERT, UPDATE, DELETE, SELECT and indexes. It also covers data types, constraints and operators used in SQL queries.
This document provides an overview of PL/SQL programming. It outlines an agenda that introduces PL/SQL and covers basic and advanced syntax. The introduction defines PL/SQL and outlines its advantages like block structures, procedural capabilities, and error handling. Basic syntax covers blocks, operators, comments, variables and data types. Advanced topics include cursors, procedures, functions, parameters, and exception handling. Triggers are also introduced as PL/SQL blocks triggered by data changes. Examples are provided throughout to illustrate key PL/SQL concepts.
The document discusses SQL commands and concepts. It begins by explaining the different types of SQL statements: Data Definition Language (DDL) for creating and modifying database objects, Data Manipulation Language (DML) for manipulating data, Data Retrieval Language (DRL) for querying data, Transaction Control Language (TCL) for managing transactions, and Data Control Language (DCL) for managing user access. It then provides examples of key DDL commands like CREATE, ALTER, and DROP TABLE and DML commands like INSERT, UPDATE, DELETE. It concludes by introducing aggregate functions in SQL like COUNT for summarizing data.
This document provides SQL code to populate a date dimension table in a data warehouse. It includes code to create lookup tables for day and month names in multiple languages. It then shows code to create the date dimension table with over 50 date-related fields. Finally, it includes a stored procedure that loops through a date range, inserts rows into the date dimension table, and calculates values for fields like week, month, quarter, and translations based on the date. The code is designed to populate the date dimension table in a standardized way to support date-based analysis in business intelligence projects.
This document provides an overview of Structured Query Language (SQL) including its core components: Data Definition Language (DDL) for defining database schemas, Data Manipulation Language (DML) for querying and modifying data, and Data Control Language (DCL) for managing permissions and transactions. It describes SQL statements for creating tables, defining constraints, and querying data using SELECT statements. Examples are provided to illustrate concepts like joins, aliases, and pattern matching. Data types, NULL handling, and nested queries are also summarized.
1) Structured Query Language (SQL) is a programming language used to store and manipulate data within relational databases.
2) SQL became a standard of ANSI in 1986 and ISO in 1987.
3) SQL was one of the first languages to use Edgar Codd's relational model, as described in his 1970 paper, despite not fully adhering to Codd's model.
The document summarizes a project management system developed for Zydus Cadila Health Care Ltd. Key features of the system include reflecting accurate project status, easy task dependency definition, customized security, and enhanced communication tools. The system was developed using ASP.NET, C#, VB.NET, and SQL Server. It includes modules for managing departments, employees, projects, tasks, targets, alerts and more. The database was designed with multiple tables to store related data and ensure referential integrity.
Ground Breakers Romania: Explain the explain_planMaria Colgan
This session was delivered as part of the EMEA Ground Breakers tour in Romania, Oct. 2019. The execution plan for a SQL statement can often seem complicated and hard to understand. Determining if the execution plan you are looking at is the best plan you could get or attempting to improve a poorly performing execution plan can be a daunting task even for the most experienced DBA or developer. This session examines the different aspects of an execution plan, from selectivity to parallel execution and explains what information you should be gleaming from the plan and how it affects the execution. It offers insight into what caused the Optimizer to make the decision it did as well as a set of corrective measures that can be used to improve each aspect of the plan.
Here is a mock assessment test for the 1Z0-146 certification exam which can be your final warm up game before you appear for the real exam. Questions follow similar pattern but also test your basic understanding on a concept. For answer key – comment on the post with your email id and I shall send across to you the same.
I hope the readers of my book will find the mock paper quite handy while the rest of you will discover the areas to dive in further.
The document discusses stored procedures and cursors in databases. It defines stored procedures as reusable code stored in a database that can improve performance. Cursors are used to fetch multiple rows of data from a result set. The document provides examples of creating stored procedures and using cursors to loop through result sets. It also includes an exercise to write a stored procedure that inserts values into two tables.
This document provides details about a .NET Technologies lab manual, including:
1) An outline of the course contents, objectives, prerequisites, learning outcomes, syllabus, and references.
2) A list of 21 experiments to be conducted in the lab, covering topics like web controls, ASP.NET pages, validation controls, databases, and databinding.
3) Requirements for the experimental setup, including software like Visual Studio 2010 and hardware requirements.
4) Details and sample code for the first two experiments - calculating factorials and performing currency conversions.
This document presents Myoungkyu Song's preliminary dissertation proposal on facilitating the maintenance and evolution of non-functional concerns (NFCs) in modern enterprise applications through the use of domain-specific languages. The proposal addresses issues with managing metadata that implements NFCs across languages. The objectives are to develop reusable enterprise metadata, manage transparent program transformations, and enable reusing NFCs across languages. The work will involve developing pattern-based structural expressions for metadata, a language for documenting bytecode enhancements, and an approach for automatically translating metadata to reuse NFC implementations across languages.
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
DBA Commands and Concepts That Every Developer Should Know was presented by Alex Zaballa, an Oracle DBA with experience in Brazil and Angola. The presentation covered Oracle Flashback Query, Flashback Table, RMAN table recovery, pending statistics, explain plan, DBMS_APPLICATION_INFO, row-by-row vs bulk processing, Virtual Private Database, extended data types, SQL text expansion, identity columns, UTL_CALL_STACK, READ privileges vs SELECT privileges, and online table redefinition. The presentation included demonstrations of many of these concepts.
PostgreSQL is an open source object-relational database system that has been in development since 1982. It supports Linux, Windows, Mac OS X, and Solaris and can be installed using package managers or installers. PostgreSQL provides many features including procedural languages, functions, indexes, triggers, multi-version concurrency control, and point-in-time recovery. It also has various administration and development tools.
The document discusses best practices for naming variables, functions, classes and other code elements. It recommends using intention-revealing names that are pronounceable, searchable and avoid encodings or abbreviations. Names should clearly convey what each element represents without need for comments. Context and consistency in naming conventions helps readers understand the code more easily. Overall, taking time to thoughtfully name elements improves code quality, readability and maintainability.
The document provides instructions for examiners evaluating answers to a Database Management System exam. It states that examiners should focus on assessing the understanding level of candidates rather than marking word-for-word answers. Examiners are instructed to give partial credit for concepts conveyed accurately by candidates and flexibility in figures drawn. The document also provides a sample exam question and marking scheme as an example.
The document discusses GRelC, a project that aims to design and deploy the first Grid Database Management System (Grid-DBMS) for the Globus community. It describes how GRelC allows for dynamic and transparent access to distributed, heterogeneous databases in a grid environment. Key features of GRelC include authentication, authorization, access control policies, data encryption, and support for single and multi-query operations across multiple database management systems.
This document provides an overview of PL/SQL, Oracle's procedural language extension for SQL and the Oracle Database. It discusses key PL/SQL features like tight integration with SQL, improved performance, productivity and portability. It also covers PL/SQL programming constructs like variables, data types, control structures, procedures, functions, triggers and cursors. PL/SQL code is organized into optional declaration, executable and exception sections and allows for modular programming and error handling.
This document discusses the authorization and configuration of tabs and subtabs in a user interface. It describes setting properties like the tab ID, parent tab, type, label, and access controls. External authorization is supported through database attributes, constants, and conditional checks on company ID, project ID, and other fields. The tabs are loaded and managed through classes like TabController and Tab which set properties and handle authorization and URL validation. Logging of tab operations is done through a TabLogger and TabLogManager class.
This document provides examples of using SQL commands in DB2 to create and manage database tables, insert and query data, create views, and more. It shows how to start and connect to a DB2 database instance named "sample", create tables like "EMPLOYEE" and insert sample records, perform joins, unions and other queries, update and delete records, create a view, list tables, and shut down the DB2 instance. The examples demonstrate basic and some advanced SQL features in DB2.
The document discusses Structured Query Language (SQL) and its basic statements. It covers:
- SQL is used to request and retrieve data from databases. The DBMS processes SQL queries and returns results.
- SQL statements are divided into DDL (data definition language) for managing schema, DML (data manipulation language) for data queries/modification, and DCL (data control language) for managing transactions and access control.
- The document provides examples of using SQL commands like CREATE TABLE, ALTER TABLE, DROP TABLE, INSERT, UPDATE, DELETE, SELECT and indexes. It also covers data types, constraints and operators used in SQL queries.
This document provides an overview of PL/SQL programming. It outlines an agenda that introduces PL/SQL and covers basic and advanced syntax. The introduction defines PL/SQL and outlines its advantages like block structures, procedural capabilities, and error handling. Basic syntax covers blocks, operators, comments, variables and data types. Advanced topics include cursors, procedures, functions, parameters, and exception handling. Triggers are also introduced as PL/SQL blocks triggered by data changes. Examples are provided throughout to illustrate key PL/SQL concepts.
The document discusses SQL commands and concepts. It begins by explaining the different types of SQL statements: Data Definition Language (DDL) for creating and modifying database objects, Data Manipulation Language (DML) for manipulating data, Data Retrieval Language (DRL) for querying data, Transaction Control Language (TCL) for managing transactions, and Data Control Language (DCL) for managing user access. It then provides examples of key DDL commands like CREATE, ALTER, and DROP TABLE and DML commands like INSERT, UPDATE, DELETE. It concludes by introducing aggregate functions in SQL like COUNT for summarizing data.
This document provides SQL code to populate a date dimension table in a data warehouse. It includes code to create lookup tables for day and month names in multiple languages. It then shows code to create the date dimension table with over 50 date-related fields. Finally, it includes a stored procedure that loops through a date range, inserts rows into the date dimension table, and calculates values for fields like week, month, quarter, and translations based on the date. The code is designed to populate the date dimension table in a standardized way to support date-based analysis in business intelligence projects.
This document provides an overview of Structured Query Language (SQL) including its core components: Data Definition Language (DDL) for defining database schemas, Data Manipulation Language (DML) for querying and modifying data, and Data Control Language (DCL) for managing permissions and transactions. It describes SQL statements for creating tables, defining constraints, and querying data using SELECT statements. Examples are provided to illustrate concepts like joins, aliases, and pattern matching. Data types, NULL handling, and nested queries are also summarized.
1) Structured Query Language (SQL) is a programming language used to store and manipulate data within relational databases.
2) SQL became a standard of ANSI in 1986 and ISO in 1987.
3) SQL was one of the first languages to use Edgar Codd's relational model, as described in his 1970 paper, despite not fully adhering to Codd's model.
The document summarizes a project management system developed for Zydus Cadila Health Care Ltd. Key features of the system include reflecting accurate project status, easy task dependency definition, customized security, and enhanced communication tools. The system was developed using ASP.NET, C#, VB.NET, and SQL Server. It includes modules for managing departments, employees, projects, tasks, targets, alerts and more. The database was designed with multiple tables to store related data and ensure referential integrity.
Ground Breakers Romania: Explain the explain_planMaria Colgan
This session was delivered as part of the EMEA Ground Breakers tour in Romania, Oct. 2019. The execution plan for a SQL statement can often seem complicated and hard to understand. Determining if the execution plan you are looking at is the best plan you could get or attempting to improve a poorly performing execution plan can be a daunting task even for the most experienced DBA or developer. This session examines the different aspects of an execution plan, from selectivity to parallel execution and explains what information you should be gleaming from the plan and how it affects the execution. It offers insight into what caused the Optimizer to make the decision it did as well as a set of corrective measures that can be used to improve each aspect of the plan.
Here is a mock assessment test for the 1Z0-146 certification exam which can be your final warm up game before you appear for the real exam. Questions follow similar pattern but also test your basic understanding on a concept. For answer key – comment on the post with your email id and I shall send across to you the same.
I hope the readers of my book will find the mock paper quite handy while the rest of you will discover the areas to dive in further.
The document discusses stored procedures and cursors in databases. It defines stored procedures as reusable code stored in a database that can improve performance. Cursors are used to fetch multiple rows of data from a result set. The document provides examples of creating stored procedures and using cursors to loop through result sets. It also includes an exercise to write a stored procedure that inserts values into two tables.
This document provides details about a .NET Technologies lab manual, including:
1) An outline of the course contents, objectives, prerequisites, learning outcomes, syllabus, and references.
2) A list of 21 experiments to be conducted in the lab, covering topics like web controls, ASP.NET pages, validation controls, databases, and databinding.
3) Requirements for the experimental setup, including software like Visual Studio 2010 and hardware requirements.
4) Details and sample code for the first two experiments - calculating factorials and performing currency conversions.
This document presents Myoungkyu Song's preliminary dissertation proposal on facilitating the maintenance and evolution of non-functional concerns (NFCs) in modern enterprise applications through the use of domain-specific languages. The proposal addresses issues with managing metadata that implements NFCs across languages. The objectives are to develop reusable enterprise metadata, manage transparent program transformations, and enable reusing NFCs across languages. The work will involve developing pattern-based structural expressions for metadata, a language for documenting bytecode enhancements, and an approach for automatically translating metadata to reuse NFC implementations across languages.
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
DBA Commands and Concepts That Every Developer Should Know was presented by Alex Zaballa, an Oracle DBA with experience in Brazil and Angola. The presentation covered Oracle Flashback Query, Flashback Table, RMAN table recovery, pending statistics, explain plan, DBMS_APPLICATION_INFO, row-by-row vs bulk processing, Virtual Private Database, extended data types, SQL text expansion, identity columns, UTL_CALL_STACK, READ privileges vs SELECT privileges, and online table redefinition. The presentation included demonstrations of many of these concepts.
PostgreSQL is an open source object-relational database system that has been in development since 1982. It supports Linux, Windows, Mac OS X, and Solaris and can be installed using package managers or installers. PostgreSQL provides many features including procedural languages, functions, indexes, triggers, multi-version concurrency control, and point-in-time recovery. It also has various administration and development tools.
The document discusses best practices for naming variables, functions, classes and other code elements. It recommends using intention-revealing names that are pronounceable, searchable and avoid encodings or abbreviations. Names should clearly convey what each element represents without need for comments. Context and consistency in naming conventions helps readers understand the code more easily. Overall, taking time to thoughtfully name elements improves code quality, readability and maintainability.
Similar to Jamaludin irbah 12630220-tugas visual3 (20)
1. PEMROGRAMAN VISUAL 3
TUGAS
Nama : Jamaludin Irbah
NPM : 12630220
Kelas : 5B
FAKULTAS TEKHNIK INFORMATIKA
UNIVERSITAS ISLAM KALIMANTAN
MUHAMMAD ARSYAD AL-BANJARY
BANJARMASIN
2. Pemrograman Visual 3 Page 2
A. Rancangan Tabel
Tabel tbdatapegawai
Nama Field Type
NIP Varchar (6)
Nama_Pegawai Varchar (25)
Tanggal_Lahir Date
Jenis_Kelamin Varchar(5)
Tabel tbtransaksi
Nama Field Type
NIP Varchar (10) Primary
Nama_Peagawai Varchar(25)
Tanggal_Lahir Date
Jenis_Kelamin Varchar(5)
B. Rancangan Form
Tabel Keterangan Nama Pegawai
Nama Komponen Perubahan Nama Value (Teks/Caption)
Label3 Label 3 NIP
Label1 Label1 Nama
Label 2 Label 2 Tanggal Lahir
Label 4 Label 4 Kelamin
Tabel Keterangan Pegawai
Nama Komponen Perubahan Nama Value (Teks/Caption)
ScrollBar DBNavigator1 Insert Data
ScrollBar DBNavigator1 Delete
ScrollBar DBNavigator1 Edit
ScrollBar DBNavigator1 Refresh
Source Code
Source Code Edit NIP
unit UDataPeg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, StdCtrls, Mask, DB, DBTables, Grids, DBGrids;
type
TForm1 = class(TForm)
TBPribadi: TTable;
3. Pemrograman Visual 3 Page 3
DSPribadi: TDataSource;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
DBEditNoPeg: TDBEdit;
DBEditNamaPeg: TDBEdit;
DBEditTglLahir: TDBEdit;
DBEditKelamin: TDBEdit;
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label5: TLabel;
procedure DBEditNoPegChange(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.DBEditNoPegChange(Sender: TObject);
begin
end;
end.
Penjelasan :
Source Code ini digunakan untuk Menyimpan data nomor induk pegawai
Source Code Edit Nama
unit UDataPeg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, StdCtrls, Mask, DB, DBTables, Grids, DBGrids;
Type
TForm1 = class(TForm)
TBPribadi: TTable;
DSPribadi: TDataSource;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
DBEditNoPeg: TDBEdit;
4. Pemrograman Visual 3 Page 4
DBEditNamaPeg: TDBEdit;
DBEditTglLahir: TDBEdit;
DBEditKelamin: TDBEdit;
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label5: TLabel;
procedure DBEditNoPegChange(Sender: TObject);
procedure DBEditNamaPegChange(Sender: TObject);
private
{ Private declarations }
Public
{ Public declarations }
End;
Var
Form1: TForm1;
Implementation
{$R *.dfm}
procedure TForm1.DBEditNoPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditNamaPegChange(Sender: TObject);
begin
end;
end.
penjelasan :
Edit Nama untuk memasuk kan data atas nama pegawai.
Source Code Edit Tanggal Lahir
unit UDataPeg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, StdCtrls, Mask, DB, DBTables, Grids, DBGrids;
Type
TForm1 = class(TForm)
TBPribadi: TTable;
DSPribadi: TDataSource;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
DBEditNoPeg: TDBEdit;
DBEditNamaPeg: TDBEdit;
DBEditTglLahir: TDBEdit;
DBEditKelamin: TDBEdit;
5. Pemrograman Visual 3 Page 5
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label5: TLabel;
procedure DBEditNoPegChange(Sender: TObject);
procedure DBEditNamaPegChange(Sender: TObject);
procedure DBEditTglLahirChange(Sender: TObject);
private
{ Private declarations }
Public
{ Public declarations }
End;
Var
Form1: TForm1;
Implementation
{$R *.dfm}
procedure TForm1.DBEditNoPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditNamaPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditTglLahirChange(Sender: TObject);
begin
end;
end.
penjelasan :
untuk memasuk kan data tanggal lahir pegawai.
Source Code Edit Jenis Kelamain
unit UDataPeg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, StdCtrls, Mask, DB, DBTables, Grids, DBGrids;
Type
TForm1 = class(TForm)
TBPribadi: TTable;
DSPribadi: TDataSource;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
6. Pemrograman Visual 3 Page 6
DBEditNoPeg: TDBEdit;
DBEditNamaPeg: TDBEdit;
DBEditTglLahir: TDBEdit;
DBEditKelamin: TDBEdit;
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label5: TLabel;
procedure DBEditNoPegChange(Sender: TObject);
procedure DBEditNamaPegChange(Sender: TObject);
procedure DBEditTglLahirChange(Sender: TObject);
procedure DBEditKelaminChange(Sender: TObject);
private
{ Private declarations }
Public
{ Public declarations }
End;
Var
Form1: TForm1;
Implementation
{$R *.dfm}
procedure TForm1.DBEditNoPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditNamaPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditTglLahirChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditKelaminChange(Sender: TObject);
begin
end;
end.
penjelasan :
untuk memasuk kan data jenis kelamin pegawai
Source code ScrollBar
unit UDataPeg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, StdCtrls, Mask, DB, DBTables, Grids, DBGrids;
Type
7. Pemrograman Visual 3 Page 7
TForm1 = class(TForm)
TBPribadi: TTable;
DSPribadi: TDataSource;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
DBEditNoPeg: TDBEdit;
DBEditNamaPeg: TDBEdit;
DBEditTglLahir: TDBEdit;
DBEditKelamin: TDBEdit;
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label5: TLabel;
procedure DBEditNoPegChange(Sender: TObject);
procedure DBEditNamaPegChange(Sender: TObject);
procedure DBEditTglLahirChange(Sender: TObject);
procedure DBEditKelaminChange(Sender: TObject);
procedure DBNavigator1Click(Sender: TObject; Button: TNavigateBtn);
private
{ Private declarations }
Public
{ Public declarations }
end;
var
Form1: TForm1;
Implementation
{$R *.dfm}
procedure TForm1.DBEditNoPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditNamaPegChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditTglLahirChange(Sender: TObject);
begin
end;
procedure TForm1.DBEditKelaminChange(Sender: TObject);
begin
end;
procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn);
begin
end;
end.
Penjelasan :
ScrollBar ini berfungsi sebagai menu pilihan atau pengganti button untuk memilih
menu masukan data, edit data, maupun menghapus data.