Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
39713113 DBMS Lab Manual CaseStudy

39713113 DBMS Lab Manual CaseStudy

Ratings: (0)|Views: 43 |Likes:
Published by tejashulk

More info:

Published by: tejashulk on Mar 03, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/03/2012

pdf

text

original

 
 11.1 Tutorials using Oracl
e 9i & VB6.0……………….....
42611.2 Tutorials using MS-
Access & VB6.0.……………...
. 44811.3 Tutorials using MS-
Sql & VB6.0…...……………..…
44911.4
Compamy Database……………………..………….…….
45311.5
Report Generation………………...…………………….…
49511.6
Additional Examples……………………………….……….
499
Chapter
 
11
 
ApplicationDevelopment-Tutorials
 
 
426
 
Chapter 11
In Chapters 1 through Chapter 10, we have discussed database concepts and i amsure that it would be incomplete if database application development is notcovered. This chapter is dedicated to fulfill this requirement. The aim is to describethe steps involved in developing a database application for a small company usingOracle9i as back-end and VB 6.0 as front-end. However, instead of starting with alarge application like the company database, we shall first present few simpletutorials.You would definitely get complete details of various issues related to thedesign of a customized application development. The only requirement tounderstand this chapter is know the basics of VB 6.0. This chapter starts with fewsmall tutorial examples and then it takes you to Software RequirementSpecification (SRS) of Company database and explains the procedures to createforms, command buttons, VB code, and many more. By practicing this case study,you can develop any other application package with out any additional efforts.The entire chapter is divided into four parts each one considers a different backend tool.
PART - I
11.1 TUTORIALS USING ORACLE9
& VB6.0
We shall begin with tutorials that use Oracle9i DBMS as back-end and VB6.0 asfront-end tool. It is assumed that the reader is aware of VB6.0 already so thatunderstanding the tutorials become easier.
 
Application Development: Tutorials
427
11.1.1 Tutorial - I
The aim of this tutorial is to:
Create a simple table 'Test' in Oracle9i with two attributes 'RegNo' and 'Name'and develop an application in VB6.0 to add new records, browse, modify, anddelete the records.
We shall assume the following hardware and software:
Operating System: Windows XP ProfessionalDatabase: Oracle 9iFront-End Tool: VB 6.0
Step-1: Go to the SQL window. Click on Start > All programs > Oracle-OraHome90> Application Development > SQL Plus.Step-2: Type the following code in the SQL prompt:CREATE TABLE Test (RegNo VARCHAR2(10),Name VARCHAR2 (20) NOT NULL,PRIMARY KEY(RegNo));Step-3: Click Start > Control Panel > Administrative tools > Data Sources(ODBC).Step-4: Press
Add
button and enter a name for the DSN (Data Source Name). Leave the restblank. In this example,
it is named as “Elective”.
 The screenshots of Step-3 and Step-4 are shown below:

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->