You are on page 1of 32

AFGHAN MOHALLA, JAMMU

ON

UNDER THE GUIDANCE OF MISS MEENAKSHI VAID

SUBMITTED BY ADARSH SHARMA CLASS ROLL NO:-31 BOARD ROLL NO:-

ACKNOWLEDGEMENT
I express my deep sense of gratitude to Miss Meenakshi Vaid, Oriental Academy, Jammu . Its a great privilege to have been her student & benefited from her excellent guidance.

Name:- ADARSH SHARMA Class:- 12th

CERTIFICATE
This is to certify that the project entitled DATA ENTRY SYSTEM OF INTERNATIONAL GARRAGE has been successfully completed by ADARSH SHARMA of class XII .In the due fulfillment of requirement for annual session 2012-2013.

Teachers Signature

Principal Signature

CONTENTS
Certificate Acknowledgement Department Profile

System Requirements

Introduction to the Visual Basic Objectives & Scopes Goals to be achieved Coding

Screen Shots

Bibliography

INTRODUCTION

Project

on

Data

Entry

System

International

National

Garrages is developed by a Adarsh Sharma for providing fully computerized system of International National Garrage to users. With the help of this project, we are making efforts to fully computerize the systems of National Garrage by providing different services to the customers like Vechial particular, payment particular, finance and receipts. By this way, we can help the user to get the exact information and services used by the customers at a glance and lengthy manual work can be avoided and there is no need to maintain a register for keeping all the records about customers. So, there is a saving of time & money and by this way, efficiency of the management of National Garrage System can be improved.

WORKING ENVIRONMENT
Hardware Environment
Processor RAM HARD DISK Pentium-IV 512 MB RAM 80 GB

Software Environment
OPERATING SYSTEM BACK END FRONTEND Microsoft Windows XP/2000 MS-SQL Server 2000 MS VISUAL BASIC 6.0

INTRODUCTION TO VISUAL BASIC 6.0


In the software development some activities are performed after the main development is complete. Implementation phase is concerned with the actual installation of the software on the computer and then testing it. Two types of specification are required to implement the system; these are software and hardware requirements. System implementation is described in two sections: Firstly, the implementation of the Patient Information System as front end in Visual Basic 6.0 and back end as ORACLE Server. VISUAL BASIC 6.0 DEVELOPMENT SYSTEM Visual Basic is an event driven programming language. Programming in Visual Basic is done visually, which means that as you design your application you will know how your application will look on execution. You can therefore change and experiment with the design to meet your requirement. The main advantage of Visual Basic is that it is Rapid application Development Tool. This is the main reason why Visual Basic is extensively as a prototyping type of language. The predecessor of Visual Basic was BASIC (Beginner All Purpose Symbolic Instruction Code). Basic was mainly interpreter-based language whereas Visual Basic is partly interpreter-based and partly compiler-based. Also Visual Basic supports the OOP but there was no concept of OOP in BASIC. Visual Basic works with all the RDBMS without any problems and provides easy methods for inserting, updating and accessing the data from the database.

Coding
Login.frm Private Sub Command1_Click(Index As Integer) welcome.Show

End Sub Private Sub Command2_Click() End End Sub

Welome.frm Private Sub Command1_Click() customer1.Show End Sub

Private Sub Command2_Click() supplier1.Show End Sub

Private Sub Command3_Click() End End Sub

Customer1.frm Private Sub Command1_Click() customer.Show End Sub

Private Sub Command2_Click() vehpurchase.Show End Sub

Private Sub Command3_Click() payment.Show End Sub

Private Sub Command4_Click() finance.Show End Sub

Private Sub Command5_Click() reciept.Show End Sub Private Sub Command6_Click() welcome.Show End Sub

Customer.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

10

Private Sub Command3_Click() Data1.Recordset.Update If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

Private Sub Command5_Click() End End Sub

Private Sub Command6_Click() customer1.Show End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo)

11

If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

Vehpurchase.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

12

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

Private Sub Command5_Click() End End Sub Private Sub Command6_Click() customer1.Show End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer

13

If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

Payment.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast

14

End If End Sub

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

Private Sub Command5_Click() End End Sub

Private Sub Command6_Click() customer1.Show

15

End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

Finance.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click()

16

Supplier1.frm Private Sub Command1_Click() service.Show End Sub

Private Sub Command2_Click() salesman.Show End Sub

Private Sub Command3_Click() insurance.Show End Sub

Private Sub Command4_Click() welcome.Show End Sub Service.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

17

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

18

Private Sub Command5_Click() End End Sub

Private Sub Command6_Click() supplier1.Show End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub Private Sub Command1_Click() Data1.Recordset.AddNew

19

End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

20

Private Sub Command5_Click() End End Sub

Private Sub Command6_Click() customer1.Show End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

21

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub Salesman.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext If Data1.Recordset.EOF Then Data1.Recordset.MoveLast

22

End If End Sub

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

Private Sub Command5_Click() End End Sub Private Sub Command6_Click() supplier1.Show End Sub

23

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

Insurance.frm Private Sub Command1_Click() Data1.Recordset.AddNew End Sub

Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext

24

If Data1.Recordset.EOF Then Data1.Recordset.MoveLast End If End Sub

Private Sub Command3_Click() Data1.Recordset.Update End Sub

Private Sub Command4_Click() Dim X As String X = (InputBox("enter customer", "search")) b = "customer_id=" & X Data1.Recordset.FindFirst b End Sub

Private Sub Command5_Click() End End Sub

25

Private Sub Command6_Click() supplier1.Show End Sub

Private Sub data1_validate(Action As Integer, save As Integer) Dim iresponse As Integer If save = True Then iresponse = MsgBox("save changes", vbYesNo) If iresponse = vbNo Then save = False Data1.UpdateControls 'refreshfields End If End If End Sub

26

SCREEN SHOTS

27

28

29

30

31

BIBLOGRAPHY

S.NO 1 2 3 4 5

Name of the Book System Analysis and Design MS-Access Introduction to database Management System Mastering Visual Basic 6.0

Author Awadh R.B Patel Bipin C Evangelos Petroutsos Petroutsos

Mastering Database programming

32

You might also like