Вы находитесь на странице: 1из 54

SUPER MARKET

GOVERNMENT FIRST GRADE COLLEGE, K .R.PURAM

BANGALORE-560036

A Project on

SUPER MARKET MANAGEMENT

A Project report submitted in partial fulfillment to award


III Year BCA-V Semester Practical Examination of
Bangalore University

Submitted by
KARTHIK S
GURUCHARAN
DEVAKUMAR

Prof.Rashmi Rao Prof. Nalini.R


HOD,Computer Science Dept. Assistant Prof, Computer Science Dept.
K.R.Puram Bangalore-36 K.R.Puram Bangalore-36
SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

A Project on

SUPER MARKET MANAGEMENT


A Project report submitted in partial fulfillment to award
III Year BCA-V Semester Practical Examination of
Bangalore University

Submitted by

KARTHIK S
GURUCHARAN
DEVAKUMAR

Prof.Rashmi Rao Prof. Nalini.R


HOD,Computer Science Dept. Assistant Prof, Computer Science Dept.
K.R.Puram Bangalore-36 K.R.Puram Bangalore-36
SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K R PURAM

BANGALORE-560036

A Project on

SUPER MARKET MANAGEMENT


A Project report submitted in partial fulfillment to award
III Year BCA-V Semester Practical Examination of
Bangalore University

Submitted by

KARTHIK S
GURUCHARAN
DEVAKUMAR

Prof.Rashmi Rao Prof. Nalini.R


HOD,Computer Science Dept. Assistant Prof, Computer Science
Dept.
K.R.Puram Bangalore-36 K.R.Puram Bangalore-36
SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

A Project on

SUPER MARKET MANAGEMENT


A Project report submitted in partial fulfillment to award
III Year BCA-V Semester Practical Examination of
Bangalore University

Submitted by
KARTHIK S
GURUCHARAN
DEVAKUMAR

Prof.Rashmi Rao Prof. Nalini.R


HOD,Computer Science Dept. Assistant Prof, Computer Science
Dept.
K.R.Puram Bangalore-36 K.R.Puram Bangalore-36
SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

This is to certify that,


KARTHIK S 17DDSB7027
GURUCHARAN 17DDSB7020
DEVAKUMAR 17DDSB7014

III Year BCA V Semester Practical Examination of Bangalore University

THIS PROJECT IS DONE UNDER THE GUIDANCE OF


Prof. RASHMI RAO.K.
Head of the department of
The computer science

Prof. NALINI.R

ASSISTANT PROF.IN COMPUTER SCIENCE

Signature of the HOD Signature of the Assistant Prof

Examination center: GFGC, K R PURAM

Signature Of The Examiner

1……………………
2…………………
SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE K R PURAM


BANGALORE-560036

Laboratory Certificate

Department of Computer science

This is to Certify that,

KARTHIK S (17DDSB7027)

Has satisfactorily completed the project in computer


Science prescribed by the Bangalore University for III BCA V semester course in the
laboratory of this college in the year 2019-2020

Signature of the Teacher.

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

Laboratory Certificate

Department of Computer science

This is To Certify That,

GURUCHARAN (17DDSB7020)

Has satisfactorily completed the project in computer Science prescribed by the


Bangalore University for III BCA, V semester course in the laboratory of this college
in the year 2019-2020

Signature of the Teacher.

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

Laboratory Certificate

Department of Computer science

This is To Certify That,

DEVAKUMAR (17DDSB7014)

Has satisfactorily completed the project in computer Science prescribed by the


Bangalore University for III BCA, V semester course in the laboratory of this college
in the year 2019-2020

Signature of the Teacher

SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K R PURAM

BANGALORE-560036
CONTENTS

1. Acknowledgement
2. Synopsis
3. Problem definition
4. System Requirements
5. Introduction to Visual Basic 6.0
6. Data Flow Diagram
7. E R Diagram
8. Future Enhancement
9. Screens
10. Sample Coding
11. Conclusion
12. Bibliography

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K R PURAM
BANGALORE-560036

ACKNOWLEDGMENT
This project, like so many others, is the product of team of people working behind the
scenes. The knowledge and satisfaction accompanies a successful completion of a
project is hard to describe.
Our team members are thankful to Prof.Rashmi rao for providing lab
facilities and to Prof. Nalini.R who has given needed guidance and all moral support
to complete our project successfully.
We also thank our parents & others giving us the help & the confidence to
carry out our project.

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K R PURAM

BANGALORE-560036

INTRODUCTION

Traveling is a part and parcel of life,there are many outlets offering us to travel
different destinations that we required.One such well Known outlet is the "SUPER
MARKET MANAGEMENT" which serves best services for us to travel all around India and
also some other countries at attractive ticket fares.

The "SUPER MARKET MANAGEMENT" at present maintained manually due to which they
are facing tremendous pressure for that day work.This project helps more features in
reservation. Now a day's reservation are booking tickets is not so easy and there is no
convenient way. The system manually maintained as given below.

Our project is made on airway reservation system. The current system manually
maintains different files for all the different types of transaction that takes place. Our
project on reservation solves some of the problems. All the data received from the user
is made store in files and we have also option to retrieve the records from files .We
have made us of VB-6.0 to retrieve the data from the user. We have allowed to enter
all the entries and stored it as permanent. i.e some of the features are like the
customers can know the plane number, departure timing, arrival timing, the
cancellation of tickets etc. All the above services provided by 'SUPER MARKET
MANAGEMENT" to us is maintained manually which tends to time consuming and error
prone.

Due to these drawbacks our project team decided to overcome these drawbacks by
computerizing the current system. The main goal of our team is to eliminate the
drawbacks and to provide user-friendly interaction between the user and system. In
order to provide better service to the customers. All the above services provide best
services to the customers and also help in increasing the infrastructure and popularity
and the "SUPER MARKET MANAGEMENT".

Therefore the computerized system has a lot of advantages over that of the manual
system.

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

SYNOPSIS

Data is increasingly regarded as a vital co-operate resource


which must be organized, so as to maximize their value. In modern,
world, fast access to data, steady reaction to problem, fast resource
to customers and fast response to information needs the vital aspect
in the competitive field. The usage files and databases is solution for
a flexible system and optimal use of computer facilities. Hence,the
project of implementation.

Aim of the project

Our project is entitled as “BOUTIQUE MANGEMENT SYSTEM” basically aims The


Placing Order and Delivery data base. It Contain the information about the Cloth
tailoring booking dates and Customer name, delivery date and delivery report. The
Costumer data base contains information about regular customer details such as
customer name, account details etc,.

SUPER MARKET MANAGEMENT


GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

SYSTEM REQUIREMENT

HARDWARE ENVIRONMENT:
HARDWARE:
CPU : PENTIUM II / celron400 MHz
RAM : 32 MB
HARDDISK : 2.1 GB
MONITOR : 14 SVGA/mono
KEYBOARD : 104 KEYS
MOUSE : SERIAL MOUSE
FDD : 1.44MB

SOFTWARE ENVIRONMENT:
SOFTWARE:
OPERATING SYSTEM : WINDOWS 98
FRONTEND : VISUAL BASIC 6.0
BACKEND : MS ACCESS 7.0

SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM


BANGALORE-560036

THE VISUAL BASIC 6.0 ENVIRONMENT

Visual Basic is quickest and easiest way to create powerful application for
Microsoft operating systems. The Visual Basic programming system allows to create
robust and useful applications that fully make use of the GRAPHICAL USER
INTERFACE (GUI). The VISUAL BASIC programming language is a descendent
of BASIC language. As its name suggests, is big portion of the programming with
VISUAL BASIC is accomplished visually this means that during design time, we are
able to see how a program will look during design. This is a great advantage over other
programming languages because we are also able to change and experiment with our
design until we are satisfied with colors, sizes, images that are indicated in our
program.

The VISUAL BASIC is quite powerful, if we are able to remember a


programming, task it can be probably accomplished using VISUAL BASIC.

In VISUAL BASIC the “VISUAL” part to the methods used to create graphical
user interface (GUI). Rather than writing numerous lines of code to describe the
appearance and location of interface elements, we simply drag and drop pre built
objects and place on the screen. If we have ever used drawing program such as paint,
we already have most of the skills necessary to create an effective user interface.

In VISUAL BASIC the “BASIC” part refers to the BASIC language used by
more programmers than any other languages in the history of environment.
The process of computerization involves a front end to eliminate the manual
procedures. In the back end an on-line system is provided to enable the various
activities to be performed on a day-to-day basis.

The system is flexible since it implemented in VISUAL BASIC so that it provides


user friendly menu-driven software with online help and validation features for
accurate data capture, data storage and retrieval and any changes arising out can we
done without affecting change in the design specification.

Computing VISUAL BASIC has evolved from the original BASIC languages and now
contains several hundreds of statements, functions and keywords, many of which
relate directly to the windows GUI. Beginners can create useful application by
learning just a sew of the keywords, yet the power of this language allows all the
professionals t accomplish anything that can also be accomplished using any others
window programming language.

The VISUAL BASIC programming language is not unique to VISUAL BASIC


programming system. Applications Edition included in Microsoft Excel, Microsoft
Access, and many other windows application used the language. The VISUAL
BASIC programming system scripts Edition for Internet Programming is a subset of
the visual basic language. The investment we make in learning VISUAL BASIC will
carry to these other areas.

Whether our goal is to create a small utility for ourselves or our work group, a
large Enterprise-Wide system, or even to distributed application spanning in the glob
via Internet, although it retains much of the user-friendly, easy-to use feeling of the
earlier Basic, by it has added an immensely rich and powerful feature set with an
incredible capability for extension. It’s now certainly possible to design compile
VISUAL BASIC applications in a high structured and rigorous fashion. The characters
have helped to make VISUAL BASIC the world best selling programming
language.

SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

MS-Access

When we create a Microsoft Access database, we create one file


that contains the data and table structures as well as the queries,
forms, reports and other objects that make up the database.

Protecting information can be an important part of developing a


Microsoft Access database. By securing your database, you can
control what a user, is a group of users, can do with database
objects. Microsoft Access security made up of several pieces that
must be in place before security is account information with the
work group and permissions assignment in the database (.m d b)
file Microsoft Access Version 7 system database includes several
internal security enhancements.
Encrypting a database makes it indecipherable by a utility
program or word processor. Encrypting a database compact the
data base file and makes it indecipherable by a utility program or
word processor. Decrypting a database reverses it indecipherable in
order to protect it from unauthorized viewing or use.

SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

SYSTEM ANALYSIS
System analysis is a process of gathering facts concerning
the System breaking them into elements and relationship between
elements. It provides a frame work for visualizing the Organizational
and Environmental factors that operate on a System. The quality of
work performed by a machine is usually uniform, neat and more
reliable when compared to doing the same operations manually.

EXISTING SYSTEM
The Placing order details, the customer details and the
delivery details are maintained manually. The study of the existing
system revealed that the system has several drawbacks.
Drawbacks:
* The existing system has no security measure against logging in
and no checks are made for authorized users.
* The end user has to chamber a lot of command to make efficient
use of the system.
* The system does not have any descriptive reports and thus did not
help management in decision making.
* The delivery information per day is sometimes unable to find.

SUPER MARKET MANAGEMENT

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036
SUPER MARKET

ADMIN USER

SUPER MARKET MANAGEMENT


E-R DIAGRAM:

TABLENAME TABLE TYPE

ITEM CODE INTEGER,SIZE-50

ITEM NAME TEXT


ITEM FORM
MRP INTEGER,SIZE-50

DATE OF EXPIRY TEXT


DEALER FORM
TABLENAME TABLE TYPE

DEALER ID INTEGER,SIZE-50

ITEM CODE TEXT

DEALER NAME TEXT

ADDRESS INTEGER,SIZE-50

SHOP NAME TEXT

PHONE NO INTEGER,SIZE-50
ORDER FORM
PURCHASE ORDER NO INTEGER,SIZE-50

ITEM CODE INTEGER,SIZE-50

QUANTITY INTEGER,SIZE-50

ORDER DATA TEXT

SALES TAX INTEGER,SIZE-50

BILLING FORM
BILL NO INTEGER,SIZE-50

ITEM CODE INTEGER,SIZE-50

PARTICULARS TEXT

QUANTITY INTEGER,SIZE-50

RATE PER ITEM INTEGER,SIZE-50

NET AMOUNT INTEGER,SIZE-50

DATE OF BILLING TEXT

EMPLOYEE FORM
TABLE NAME TABLE TYPE

EMPLOYEE NO INTEGER,SIZE-50

EMPLOYEE NAME TEXT,SIZE-50

EMPLOYEE ADDRESS TEXT,SIZE-50

EMPLOYEE PHONE NO TEXT,SIZE-50

EMPLYOYEE MAIL ID INTEGER,SIZE-50

EMPLOYEE SALARY INTEGER,SIZE-50


CUSTOMER FORM
TABLENAME TABLE TYPE

CUSTOMER CODE INTEGER,SIZE-50

CUSTOMER NAME TEXT

CUSTOMER ADDRESS TEXT

CUSTOMER PHONE NO INTEGER,SIZE-50

NUMBER OF ITEMS INTEGER,SIZE-50

DISCOUNT GIVEN INTEGER,SIZE-50

BILL AMOUNT INTEGER,SIZE-50

Boutique Management System


GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

SYSTEM IMPLEMENTATION

a).About the project:

To enter into the project, give the correct password else it


gives the “INVALID PASSWORD”.

The main form contains the following menus,


 New/modify cloths
 Cloths selling
 Customer
 View report

Here we design the project which involves the following


data base;
 Placing order and delivery details
 Delivery status
 Branch office details
 Employee details

The placing order and delivery database contain the information


about the Cloth tailoring booking dates and Customer name, delivery date
and delivery report.

The delivery report has information such as the receiving person sign
and whether the goods are delivered with good condition or not, the date
and time of delivery.
The Customer data base contains information about regular customer
details such as Customer name,address and their account details. Usually
the boutique shops may or may not have branches across the cities and
country so the branch offices profit and booking delivery details are
maintained in the different data base.

Product listing: Details of different products available in showroom are


visible in this module.

Add products: using this module we can add new stock details that are
available in showroom.

Adding customer details: We can add new customers details and personal
details for further contact and updating new products details to them.

Update and Delete products: Details that are out dated can be deleted from
application and we can even update new stock details with existing records in
data base.

Updating customer details: Old records that are present in database can be
deleted and even updated.

Report Generation: Details of data that are update to every module can be
printed from report generation module for analyzing daily, montly and
weekly status.

Advantages:
 This software application will reduce manual work and reduce manual
power.
 Data is secured and no chance of losing data security algorithm is used
for password security.
 Provide solution for analyzing Billing details for daily, montly, year sales.
FORM1:

Private Sub Command1_Click()

Form2.Show

End Sub

FORM 2(LOGIN FORM):

Private Sub Command1_Click()

If Text2.Text = "super market" And Text1.Text = "123" Then

MsgBox "Welcome", vbInformation

Form3.Show

Text1.Text = ""

Else

MsgBox "your password in incorrect"

Text1.Text = ""

Text1.SetFocus
End If

End Sub

Private Sub Command2_Click()

Unload Me

End Sub

FORM3(MAIN MENU):

Private Sub Command1_Click()

Form4.Show

End Sub

Private Sub Command2_Click()

Form5.Show

End Sub

Private Sub Command3_Click()

Form6.Show

End Sub

Private Sub Command4_Click()

Form7.Show

End Sub

Private Sub Command5_Click()

Form1.Show

End Sub

Private Sub Command6_Click()

Form8.Show

End Sub

FORM4(ITEM FORM) :

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset
Private Sub Cmdadd_Click()

Cmdadd.Enabled = False

Cmdupdate.Enabled = True

rs.AddNew

Text1 = ""

Text2 = ""

Text3 = ""

Text4 = ""

Text1.SetFocus

End Sub

Private Sub Cmdclose_Click()

Form3.Show

End Sub

Private Sub Cmddelete_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign

Else

rs.MoveNext

MsgBox "RECORD is deleted"

End If

End Sub

Private Sub Cmdedit_Click()

rs.Edit

rs.Fields("Item Code") = Text1.Text

rs.Fields("Item Name") = Text2.Text

rs.Fields("MRP") = Text3.Text

rs.Fields("Date of Expiry") = CDate(Text4.Text)

rs.Update

Cmdupdate.Enabled = True
Cmdedit.Enabled = False

End Sub

Private Sub Cmdfirst_Click()

rs.MoveFirst

assign

End Sub

Private Sub Cmdlast_Click()

rs.MoveLast

assign

End Sub

Private Sub Cmdnext_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If

assign

End Sub

Private Sub Cmdnextform_Click()

Form5.Show

End Sub

Private Sub Cmdprevious_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Cmdupdate_Click()

rs.AddNew
rs.Fields("Item Code") = Text1.Text

rs.Fields("Item Name") = Text2.Text

rs.Fields("MRP") = Text3.Text

rs.Fields("Date Of Expiry") = CDate(Text4.Text)

rs.Update

MsgBox "Record is updated"

Cmdadd.Enabled = True

Cmdupdate.Enabled = False

End Sub

Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("D:\SUPER MARKET\supermarket.mdb")

Set rs = db.OpenRecordset("ITEM FORM", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("Item Code")

Text2.Text = rs.Fields("Item Name")

Text3.Text = rs.Fields("MRP")

Text4.Text = rs.Fields("Date of expiry")

End Sub

FORM5(DEALER FORM) :

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset

Private Sub Cmdadd_Click()

Cmdadd.Enabled = False

Cmdupdate.Enabled = True

rs.AddNew

Text1 = ""

Text2 = ""

Text3 = ""
Text4 = ""

Text5 = ""

Text6 = ""

Text1.SetFocus

End Sub

Private Sub Cmdclose_Click()

Form4.Show

End Sub

Private Sub Cmddelete_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign

Else

rs.MoveNext

MsgBox "RECORD is deleted"

End If

End Sub

Private Sub Cmdedit_Click()

rs.Edit

rs.Fields("Dealer ID") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Dealer Name") = Text3.Text

rs.Fields("Address") = Text4.Text

rs.Fields("Shop Name") = Text5.Text

rs.Fields("Phone No") = Text6.Text

rs.Update

Cmdupdate.Enabled = True

Cmdedit.Enabled = False

End Sub

Private Sub Cmdfirst_Click()


rs.MoveFirst

assign

End Sub

Private Sub Cmdlast_Click()

rs.MoveLast

assign

End Sub

Private Sub Cmdnext_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If

assign

End Sub

Private Sub Cmdnextform_Click()

Form6.Show

End Sub

Private Sub Cmdprevious_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Cmdupdate_Click()

rs.AddNew

rs.Fields("Dealer ID") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Dealer Name") = Text3.Text

rs.Fields("Address") = Text4.Text
rs.Fields("Shop Name") = Text5.Text

rs.Fields("Phone No") = Text6.Text

rs.Update

MsgBox "Record is updated"

Cmdadd.Enabled = True

Cmdupdate.Enabled = False

End Sub

Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("D:\SUPER MARKET\supermarket.mdb")

Set rs = db.OpenRecordset("DEALER FORM", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("Dealer ID")

Text2.Text = rs.Fields("Item Code")

Text3.Text = rs.Fields("Dealer Name")

Text4.Text = rs.Fields("Address")

Text5.Text = rs.Fields("Shop Name")

Text6.Text = rs.Fields("Phone No")

End Sub

FORM 6(ORDER FORM):

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset

Private Sub Cmdadd_Click()

Cmdadd.Enabled = False

Cmdupdate.Enabled = True

rs.AddNew

Text1 = ""

Text2 = ""

Text3 = ""
Text4 = ""

Text5 = ""

Text1.SetFocus

End Sub

Private Sub Cmdclose_Click()

Form5.Show

End Sub

Private Sub Cmddelete_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign

Else

rs.MoveNext

MsgBox "RECORD is deleted"

End If

End Sub

Private Sub Cmdedit_Click()

rs.Edit

rs.Fields("Purchase Order No") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Quantity") = Text3.Text

rs.Fields("Order Data") = Text4.Text

rs.Fields("Sales Tax") = Text5.Text

rs.Update

Cmdupdate.Enabled = True

Cmdedit.Enabled = False

End Sub

Private Sub Cmdfirst_Click()

rs.MoveFirst

assign
End Sub

Private Sub Cmdlast_Click()

rs.MoveLast

assign

End Sub

Private Sub Cmdnext_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If

assign

End Sub

Private Sub Cmdnextform_Click()

Form7.Show

End Sub

Private Sub Cmdprevious_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Cmdupdate_Click()

rs.AddNew

rs.Fields("Purchase Order No") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Quantity") = Text3.Text

rs.Fields("Order Data") = Text4.Text

rs.Fields("Sales Tax") = Text5.Text

rs.Update
MsgBox "Record is updated"

Cmdadd.Enabled = True

Cmdupdate.Enabled = False

End Sub

Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("D:\SUPER MARKET\supermarket.mdb")

Set rs = db.OpenRecordset("ORDER FORM", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("Purchase Order No")

Text2.Text = rs.Fields("Item Code")

Text3.Text = rs.Fields("Quantity")

Text4.Text = rs.Fields("Order Data")

Text5.Text = rs.Fields("Sales Tax")

End Sub

FORM 7(BILLING FORM):

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset

Private Sub Cmdexit_Click()

Form6.Show

End Sub

Private Sub Cmddelete_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign
Else

rs.MoveNext

MsgBox "RECORD is deleted"

End If

End Sub

Private Sub Cmdedit_Click()

rs.Edit

rs.Fields("Bill Number") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Particulars") = Text3.Text

rs.Fields("Quantity") = Text4.Text

rs.Fields("Rate Per Item") = Text5.Text

rs.Fields("Net Amount") = Text6.Text

rs.Fields("Date Of Billing") = Text7.Text

rs.Update

Cmdupdate.Enabled = True

Cmdedit.Enabled = False

End Sub

Private Sub Cmdfirst_Click()

rs.MoveFirst

assign

End Sub

Private Sub Cmdlast_Click()

rs.MoveLast

assign

End Sub

Private Sub Cmdnext_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If
assign

End Sub

Private Sub Cmdnextform_Click()

Form8.Show

End Sub

Private Sub Cmdprevious_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Cmdupdate_Click()

rs.AddNew

rs.Fields("Bill Number") = Text1.Text

rs.Fields("Item Code") = Text2.Text

rs.Fields("Particulars") = Text3.Text

rs.Fields("Quantity") = Text4.Text

rs.Fields("Rate Per Item") = Text5.Text

rs.Fields("Net Amount") = Text6.Text

rs.Fields("Date Of Billing") = CDate(Text7.Text)

rs.Update

MsgBox "Record is updated"

'Cmdadd.Enabled = True

'Cmdupdate.Enabled = False

End Sub

Private Sub Command1_Click()

'Cmdadd.Enabled = False

'Cmdupdate.Enabled = True

rs.AddNew

Text1 = ""
Text2 = ""

Text3 = ""

Text4 = ""

Text5 = ""

Text6 = ""

Text7 = ""

Text1.SetFocus

End Sub

Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("D:\SUPER MARKET\supermarket.mdb")

Set rs = db.OpenRecordset("BILLING FORM", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("Bill Number")

Text2.Text = rs.Fields("Item Code")

Text3.Text = rs.Fields("Particulars")

Text4.Text = rs.Fields("Quantity")

Text5.Text = rs.Fields("Rate Per Item")

Text6.Text = rs.Fields("Net Amount")

Text7.Text = rs.Fields("Date Of Billing")

End Sub

FORM 8(EMPLOYEE FORM):

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset

Private Sub Command1_Click()

'Command1.Enabled = False

'Command2.Enabled = True

rs.AddNew
Text1 = ""

Text2 = ""

Text3 = ""

Text4 = ""

Text5 = ""

Text6 = ""

Text1.SetFocus

End Sub

Private Sub Command2_Click()

rs.Fields("EMPLOYEE NO") = Val(Text1.Text)

rs.Fields("EMPLOYEE NAME") = Text2.Text

rs.Fields("E-ADDRESS") = Text3.Text

rs.Fields("E-PHONE-NO") = Val(Text4.Text)

rs.Fields("E-MAIL-ID") = Text5.Text

rs.Fields("E-SALARY") = Val(Text6.Text)

rs.Update

'Command1.Enabled = True

'Command2.Enabled = False

MsgBox "record is updated"

End Sub

Private Sub Command3_Click()

rs.Edit

End Sub

Private Sub Command4_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign

rs.MoveNext

End If

MsgBox "record is deleted"


Text1 = ""

Text2 = ""

Text3 = ""

Text4 = ""

Text5 = ""

Text6 = ""

End Sub

Private Sub Command5_Click()

Form5.Hide

Form4.Show

End Sub

Private Sub Command6_Click()

rs.MoveFirst

assign

End Sub

Private Sub Command7_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Command8_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If

assign

End Sub
Private Sub Command9_Click()

rs.MoveLast

assign

End Sub

Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("c:\new folder\BIG BAZAAR\bigdbase.mdb")

Set rs = db.OpenRecordset("employee", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("EMPLOYEE NO")

Text2.Text = rs.Fields("EMPLOYEE NAME")

Text3.Text = rs.Fields("E-ADDRESS")

Text4.Text = rs.Fields("E-PHONE-NO")

Text5.Text = rs.Fields("E-MAIL-ID")

Text6.Text = rs.Fields("E-SALARY")

End Sub

FORM 9(CUSTOMER FORM):

Dim ws As Workspace

Dim db As Database

Dim rs As Recordset

Private Sub Command1_Click()

rs.AddNew

Text1 = ""

Text2 = ""

Text3 = ""

Text4 = ""

Text5 = ""

Text6 = ""

Text7 = ""
End Sub

Private Sub Command2_Click()

rs.Fields("CUSTOMER CODE") = Val(Text1.Text)

rs.Fields("CUSTOMER NAME") = Text2.Text

rs.Fields("C-ADDRESS") = Text3.Text

rs.Fields("C-PHONE NO") = Val(Text4.Text)

rs.Fields("NO OF ITEMS") = Val(Text5.Text)

rs.Fields("DISCOUNT GIVEN") = Val(Text6.Text)

rs.Fields("BILL AMOUNT") = Val(Text7.Text)

rs.Update

MsgBox "record is updated"

End Sub

Private Sub Command3_Click()

rs.Edit

End Sub

Private Sub Command4_Click()

rs.Delete

If (rs.EOF) Then

rs.MovePrevious

assign

rs.MoveNext

End If

MsgBox "record is delete"

Text1 = ""

Text2 = ""

Text3 = ""

Text4 = ""

Text5 = ""

Text6 = ""

Text7 = ""
End Sub

Private Sub Command5_Click()

Form7.Hide

Form4.Show

End Sub

Private Sub Command6_Click()

rs.MoveFirst

assign

End Sub

Private Sub Command7_Click()

rs.MovePrevious

If (rs.BOF) Then

rs.MoveFirst

End If

assign

End Sub

Private Sub Command8_Click()

rs.MoveNext

If (rs.EOF) Then

rs.MoveLast

End If

assign

End Sub

Private Sub Command9_Click()

rs.MoveLast

assign

End Sub
Private Sub Form_Load()

Set ws = DBEngine.Workspaces(0)

Set db = ws.OpenDatabase("C:\New folder\BIG BAZAAR\customer.mdb")

Set rs = db.OpenRecordset("customers", dbOpenTable)

End Sub

Public Sub assign()

Text1.Text = rs.Fields("CUSTOMER CODE")

Text2.Text = rs.Fields("CUSTOMER NAME")

Text3.Text = rs.Fields("C ADDRESS")

Text4.Text = rs.Fields("C PHONENO")

Text5.Text = rs.Fields("NO OF ITEMS")

Text6.Text = rs.Fields("DISCOUNT GIVEN")

Text7.Text = rs.Fields("BILL AMOUNT")

rs.Update

End Sub

FORM 10:

Private Sub Command1_Click()

End

End Sub

Private Sub Form_Load()

End Sub
Boutique Management System

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

CONCLUSION:

The Project “ BOUTIQUE MANAGEMENT SYSTEM” is Successfully completed. The


System has been developed which makes everything easier and faster. The user
easily interacts with the system. The package is modularized in such a way that is
to easy to understand and make change by programmers in future.

The main benefits of the system are:

 User friendly, easy to maintain


 Provides user with well-Structured information
 Saves time and effort.

The software has been designed, and implemented with its ability to provide
various and processing it includes interactive GUI for the user in order to guide
them in such a way to use the software properly. The system would hold good
flexibility for future enhancements.
Boutique Management System

GOVERNMENT FIRST GRADE COLLEGE, K PURAM

BANGALORE-560036

BIBILIOGRAPHY

Name of the book Author Name:

 The Complete reference (VB 6.0) : Noel Jerker


 Microsoft Access 2010: Craig eddy and Timothy Buchanan
 The complete reference Access 2010:Anderson
 MSDN Library: Microsoft corporation
 Database management system: Elmasri and Navathe
Thank You

Вам также может понравиться