Professional Documents
Culture Documents
Mobile Shop Management System Documentation
Mobile Shop Management System Documentation
PROJECT REPORT ON
Nokia Mobile Shop Management System
Submitted to
University of Mumbai
2011-2012
BY
1
INDEX
2
Chapter 1
Preliminary Investigation
3
Organizational Overview
Organizational Chart
Mobile Store
Management
System
Employee
Supplier Customer
4
Description of System
detail in files and folders. They use to keep the record of product sold,
track of complaints.
Preparing report is very time consuming and tedious task. For searching
task.
5
Limitations Of Present System
Data are stride an excel sheet which takes lot of time and
data may be corrupted.
Lack of security.
6
Proposed System
7
Advantages of Proposed System:
8
Feasibility Of Study
1. Software Specification:-
BACKEND : MS Access-2007
2. Hardware Specifications
Minimum hardware requirements for this System are listed below:
Processor : Pentium-4
RAM : 256MB.
9
FRONTEND: - MICROSOFT VISUAL STUDIO 2008
1. First of all, VB.NET provides managed code execution that runs under
the Common Language Runtime (CLR), resulting in robust, stable and
secure applications. All features of the .NET framework are readily
available in VB.NET.
2. VB.NET is totally object oriented. This is a major addition that VB6 and
other earlier releases didn't have.
3. The .NET framework comes with ADO.NET, which follows the
disconnected paradigm, i.e. once the required records are fetched the
connection no longer exists. It also retrieves the records that are expected
to be accessed in the immediate future. This enhances Scalability of the
application to a great extent.
4. VB.NET uses XML to transfer data between the various layers in the
DNA Architecture i.e. data are passed as simple text strings.
5. Error handling has changed in VB.NET. A new Try-Catch-Finally block
has been introduced to handle errors and exceptions as a unit, allowing
appropriate action to be taken at the place the error occurred thus
discouraging the use of ON ERROR GOTO statement. This again credits
to the maintainability of the code.
6. Another great feature added to VB.NET is free threading against the VB
single-threaded apartment feature. In many situations developers need
spawning of a new thread to run as a background process and increase the
usability of the application. VB.NET allows developers to spawn threads
wherever they feel like, hence giving freedom and better control on the
application.
7. Security has become more robust in VB.NET. In addition to the role-
based security in VB6, VB.NET comes with a new security model, Code
Access security. This security controls on what the code can access. For
example you can set the security to a component such that the component
cannot access the database. This type of security is important because it
allows building components that can be trusted to various degrees.
8. The CLR takes care of garbage collection i.e. the CLR releases resources
as soon as an object is no more in use. This relieves the developer from
thinking of ways to manage memory. CLR does this for them.
10
BACKEND: MS-ACCESS 2007
Microsoft Office Access, previously known as Microsoft Access, is a
database management system from Microsoft that combines the relational
Microsoft Jet Database Engine with a graphical user interface and software-
development tools.
MS Access stores data in its own format based on the Access Jet Database
Engine. It can also import or link directly to data stored in other applications
and databases
Microsoft Access applications can adopt split-database architecture. The
database can be divided into a front-end database that contains the application
objects (queries, forms, reports, macros, and modules), and is linked to tables
stored in a back-end shared database containing the data. The "back-end"
database can be stored in a location shared by many users, such as a file server.
The "front-end" database is distributed to each user's desktop and linked to the
shared database.
Access includes an Upsizing Wizard that allows users to upsize their
databases to Microsoft SQL Server, an ODBC client–server database. An
additional solution, the SQL Server Migration Assistant for Access (SSMA), is
also available for download from
11
Stakeholders
1. Project Developers :-
Project Developers is one who develops software for customer. In
my project I am the first stakeholder i.e. Project Developer.
2. Project customer :-
Project Customer is one who pays for the developed software.
4. Project Testers
Project Testers are those who test the software.
12
Gantt Chart
System
15/8/20 28/9/201
Design
11 1
Coding
Interface
29/09/2 15/10/20
Coding
011 11
Database
16/10/2 30/10/20
Connecti
011 11
vity
Validatio
31/10/2 15/11/20
n Coding
011 11
Report
17/11/2 31/12/20
Coding
011 11
Impleme
ntation
Develope
5/12/20 12/12/20
r Testing
11 11
Client
13/12/2 22/12/20
Testing
011 11
User
25/12/2 29/12/20
Testing
011 11
Project
30/12/2 05/1/201
Delivery
011 2
Project
Report
Submissi
on
Project 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Report 8/1/201 12/1/201 WEEK
2 2
Hard
Copy
Checking 13
Project
13/1/20 18/1/201
Submissi
12 2
on
Chapter 2
System Analysis
14
Fact Findings
Introduction
The Current System is the manual one, hence is not speedy, accurate,
efficient as well as time consuming. An essential part of the system analysis,
which enables the developer to understand & the system correctly. It is
undertaken to obtain details of the system. To understand the physical flow of
the information through the current system. Collect various information through
various fact finding techniques. Identify the procedural difficulties experienced
by the user. Study the bottlenecks find out the redundant work being performed
in the system.
1. Interviews
Information was obtained from the employees at the organization by
interviewing them at the location and time convention both.
2. Document Searching
An extensive study of existing document an official correspondence
was done to understand the present working status of organization.
15
SR
NO EVENT TRIGGER SOURCE ACTIVITY RESPONSE DESTINATION
Event Table
16
17
9 Paying Bill Order Customer Paying bill Get payment Admin
fulfillment
18
Use Case Diagram
Supplier:-
Create a new
supplier
Update supplier
details
Lookup for
Delete supplier
supplier
details
Display supplier
details
Supplier Admin
Search supplier
Product:-
Create a new
product
Update product
details
Lookup for
product details
Delete product
details
Admin
Display product
details
19
Stock:-
Create new
stock details
Update stock
details
Lookup for
stock details
Delete stock
details
Customer:-
Create a new
customer details
Update
customer details
Lookup for
Delete customer
customer
details
details
Display
customer details
Customer Admin
Search customer
20
Order:-
Places an
Order
Create a new
order
Lookup for
order details
Update order
record
Customer Admin
Delete order
record
Bill:-
Places new
Bill
Create a new
Bill
Display Bill
Delete Bill
Customer Admin
21
Entity-Relationship Diagram
Bill
Nokia Mobile
Shop System
Bill
Employee
Product Supplier
Salary
22
Activity Diagram
Customer
Check availability
No
Yes
Supplier
Enter product information
Product
Add product
Enter order
Give payment
Calculate total
Generate Bill
23
Class Diagram
Customer Supplier
+Cust_id:Number +Supp_no:Number
+Cust_name:Text +Supp_name:Text
+Cust_add:Text +Supp_add:Text
+Cust_ph:Number +Suppt_ph:Number
+Cust_email:Text
+Insert () +Insert ()
+Update () +Update ()
+Delete () +Delete ()
+New () +New ()
1..* 1..*
1..* 1..*
Employee Bill
+Bill_no:Number
+Emp_id:Number +Order_no:Number
+Emp_name:Text +Cust_no:Number
+Emp_add:Text +Prod_name:Text
+Emp_ph:Number +Total:Number
+Insert () +Insert ()
+Update () +Update ()
+Delete () +Delete ()
+New () +New ()
24
Object Diagram
: Customer : Supplier
+Cust_id:Number +Supp_no:Number
+Cust_name:Text +Supp_name:Text
+Cust_add:Text +Supp_add:Text
+Cust_ph:Number +Suppt_ph:Number
+Cust_email:Text
+Insert () +Insert ()
+Update () +Update ()
+Delete () +Delete ()
+New () +New ()
1..* 1..*
1..* 1..*
: Employee : Bill
+Bill_no:Number
+Emp_id:Number +Order_no:Number
+Emp_name:Text +Cust_no:Number
+Emp_add:Text +Prod_name:Text
+Emp_ph:Number +Total:Number
+Insert () +Insert
25() +Insert()
+Update () +Update () +Update()
+Delete () +Delete () +Delete()
+New () +New () +New()
Sequence Diagram
Supplier:-
Create Supplier:
Admin
Update Supplier:
Supplier Admin
Delete Supplier:
Admin
26
Product:-
Create Product:
Admin
Update Product:
Admin
Delete Product:
Admin
27
Stock:-
Create Stock:
Admin
Update Stock:
Admin
Delete Stock:
Admin
28
Customer:-
Create Customer:
System
New Customer created
Customer Admin
Update Customer:
Customer Admin
Delete Customer:
Admin
29
Order:-
Create Order:
System
New Order created
Customer Admin
Update Order:
Customer Admin
Delete Order:
Admin
30
Bill:-
Create Bill:
Admin
Delete Delete:
Admin
31
Employee:-
Create Employee:
Admin
Update Employee:
Employee Admin
Delete Employee:
Admin
32
Collaboration Diagram
Customer
1. Customer enquiry
2. Get information
5. Place order
6. Get order
9. Generate receipt
11. Order
Supplier
33
State Diagram
Login
Idle
Customer enter
Customer enquiry
Order for mobile
Check availability of
Order for mobile
mobile
Mobile available
End
Check mobile details
Check details
Order fulfillment
Pay bill
Paying bill
Generate receipt
Generating receipt
34
Chapter 3
System Design
35
Converting ERD to Tables
5 Salary This table is use store ,retrieve and information about the
employee salary.
The field are e_id, e_fname,e_mname,e_lname, e_add,
e_contact, msalary, advance.
36
Supplier.vb
Stock.vb
Order.vb
Nokia Mobile
Bill.vb
Shop
System
Customer.vb Emp.vb
Order.vb
Salary.vb
Component Diagram
37
38
Package Diagram
Cancel
Supplier, Order,
Stock, Emp
Connection
Form Admin
Availability
39
Deployment Diagram
PC <<device>>
XP
Cust.vb Mobdetails.vb
Database
Transaction.vb
Server Order.vb
<<device>>
Emp.vb Bill.vb
Emp.vb
Printer
40
System flow
Maintain
Customer
customer
details
Mobile details
Price Mobile
Generate Customer
Mobile bill
mobile bill bill report
Nokia
Mobile store
management
Paid details
Paid
Maintain
Employee
employee
details
Transaction of Supplier
Supplier
mobile bill report
41
Structure chart
Product Customer
Get Save details details
Customer customer
details details
Checking of Giving
product purchase
order
42
Chapter 4
System Coding
43
Menu Tree
Customer information
Main
Mobile Details
Customer information
MDI Form
Employee
Mobile Details
Transaction Transaction
Mobile Bill
Reports
Supplier Report
Utility Calculator
About Us Help
Exit
44
Table List
1.Table name:-Cust_info
Sr.N Field Name Datatype Constraints Size Description
o.1 c_no Integer Primary key Stores the customer code
2 cname Varchar 10 Stores the customer name
3 cadd Varchar 10 Stores the customer address
2.Table name:-Employee
Sr. Field Name Datatype Constraints Size Description
No.
1 E_id Integer Primary key Stores the employee code
2 E_fname Varchar 15 Stores the employee name
45
3.Table name:-Supplier
Sr. Field Name Datatype Constraints Size Description
No.
1 o_no Integer Primary key Stores the company code
4. Table name:-Order
Sr. Field Name Datatype Constraints Size Description
No.
1 c_no Integer Foreign key Stores the customer code
2 c_name Varchar 15 Stores the customer name
3 c_add Varchar 15 Stores the customer address
4 contactno Bigint Stores the customer contact
no
5 email varchar 20 Stores the customer email
6 o_no Integer Stores the order no
7 p_no integer Stores the product no
8 P_name Varchar 15 Stores the product name
9 P_q ty Integer Stores the product quantity
10 P_mrp integer Stores the product prize
46
8. Table name:-Salary
Sr. Field Name Datatype Constraints Size Description
No.
1 E_id Integer primary Stores the employee id
2 E_fname Varchar 15 Stores the employee name
47
Program List
NO FORM PURPOSE
NAME
1 Loding.frm This form display the title of system name
of organization & copyright of the system
48
Report List
49
Program Description
Program Name: Loding.vb
Program Function: This is form is used to Load the
system.
Code:-
Public Class Loading
Dim i As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.PerformStep()
i = i + 1
Label2.Text = i
If ProgressBar1.Value = 100 Then
Me.Hide()
LoginForm1.Show()
Timer1.Enabled = False
End If
End Sub
50
Program Name: Login Form1.vb
Program Function: This is form is used to Login in the
system.
Code:-
51
Program Name: MDI.vb
Program Function: This is form contains menus i.e. path
for other forms.
Code:-
Public Class MDI
End Sub
End Sub
52
Order.Show()
End Sub
53
Program Name: Cust_info.vb
Program Function: This is form is used to add new
customer and its details
Data entry form:
Code:-
Imports System.Data.OleDb
Public Class Cust_Info
Dim cmd As OleDbCommand
Dim cn As New OleDbConnection
Dim ad As New OleDbDataAdapter
Dim SlotAdapter As New OleDb.OleDbDataAdapter
Dim ds As New DataSet
Dim dr As String
Dim dt As String
Dim i, f, a As Integer
Private Sub Cust_Info_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the
'_Database1_mdbDataSet14.Cust_info' table. You can move, or
remove it, as needed.
Me.Cust_infoTableAdapter1.Fill(Me._Database1_mdbDataSet14.Cust
_info)
54
cn = New
OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database1.mdb.accdb")
ad = New OleDbDataAdapter("select * from Cust_info",
cn)
ds = New DataSet()
ad.Fill(ds)
End Sub
TextBox5.Text = ""
End If
End Sub
55
End Sub
56
TextBox4.Text = ""
TextBox5.Text = ""
End Sub
End If
Dim cmd1 As New OleDbCommand
cn.Close()
cn.Open()
cmd1.Connection = cn
cmd1.CommandText = "select count(*) from Cust_info"
Dim m As Integer
m = cmd1.ExecuteScalar
a = Val(TextBox1.Text)
If a > m Then
MsgBox("No Record")
End If
End Sub
57
End If
MsgBox("Record Deleted Successfully.")
End Sub
58
cn.Close()
cn.Open()
If (f = 0) Then
' dt = TextBox1.Text
' MsgBox(dt)
End Sub
End Class
59
Program Name: emp.vb
Program Function: This is form is used to add new
employee and its details.
Test Data:-
Code:-
Imports System.Data.OleDb
Public Class emp
60
'TODO: This line of code loads data into the
'_Database1_mdbDataSet4.emp_details' table. You can move, or
remove it, as needed.
Me.Emp_detailsTableAdapter1.Fill(Me._Database1_mdbDataSet4.emp
_details)
cn = New
OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database1.mdb.accdb")
ad = New OleDbDataAdapter("select * from emp_details",
cn)
ds = New DataSet()
ad.Fill(ds)
End Sub
61
End Sub
62
End Sub
63
Private Sub Btn_e_First_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Btn_e_First.Click
i = 0
Call add(i)
MsgBox("This is first Record")
End Sub
64
If a = OleDbYes Then
a = MsgBox(" you want to exit the Form?",
OleDbYesNo + OleDbQuestion, "confirm exit")
Me.Close()
End If
End Sub
End If
Dim cmd1 As New OleDbCommand
cn.Close()
cn.Open()
cmd1.Connection = cn
cmd1.CommandText = "select count(*) from emp_details"
Dim m As Integer
m = cmd1.ExecuteScalar
a = Val(TextBox1.Text)
If a > m Then
MsgBox("No Record")
End If
End Sub
End Class
65
Program Name: Supplier.vb
Program Function: This is form is used to add new
supplier and its details.
Test Data:-
Code:-
Imports System.Data.OleDb
Public Class supplier
Dim cmd As OleDbCommand
Dim cn As New OleDbConnection
Dim ad As New OleDbDataAdapter
Dim SlotAdapter As New OleDb.OleDbDataAdapter
Dim ds As New DataSet
Dim dr As String
Dim dt As String
Dim i, f, a As Integer
Private Sub supplier_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the
'_Database1_mdbDataSet12.supplier' table. You can move, or
remove it, as needed.
Me.SupplierTableAdapter1.Fill(Me._Database1_mdbDataSet12.suppl
ier)
66
cn = New
OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database1.mdb.accdb")
ad = New OleDbDataAdapter("select * from Supplier",
cn)
ds = New DataSet()
ad.Fill(ds)
End Sub
Sub add(ByVal i As Integer)
Txt_bo_Ono.Text =
ds.Tables(0).Rows(i).Item(0).ToString
cmb_cm_sname.Text =
ds.Tables(0).Rows(i).Item(1).ToString
cmb_cm_model.Text =
ds.Tables(0).Rows(i).Item(2).ToString
Txt_bo_Qty.Text =
ds.Tables(0).Rows(i).Item(3).ToString
cmb_cm_color.Text =
ds.Tables(0).Rows(i).Item(4).ToString
Txt_bo_prize.Text =
ds.Tables(0).Rows(i).Item(5).ToString
txt_bo_total.Text =
ds.Tables(0).Rows(i).Item(6).ToString
Txt_bo_tax.Text =
ds.Tables(0).Rows(i).Item(7).ToString
txt_bo_totalprize.Text =
ds.Tables(0).Rows(i).Item(8).ToString
End Sub
Private Sub cal_btn_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cal_btn.Click
txt_bo_total.Text = Txt_bo_prize.Text *
Txt_bo_Qty.Text
Txt_bo_tax.Text = txt_bo_total.Text / 100
txt_bo_totalprize.Text = Val(txt_bo_total.Text) +
Val(Txt_bo_tax.Text)
End Sub
67
Private Sub Txt_bo_Qty_TextChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Txt_bo_Qty.TextChanged
End Sub
68
Private Sub cmb_cm_model_SelectedIndexChanged(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
cmb_cm_model.SelectedIndexChanged
If cmb_cm_model.SelectedIndex = "0" Then
Txt_bo_prize.Text = 25000
69
End If
End If
End If
End Sub
End Sub
70
MsgBox("this is next record")
End If
End Sub
End Sub
End Class
71
Program Name: order.vb
Program Function: This is form is used to purchase
mobile.
Test Data:-
Code:-
Imports System.Data.OleDb
Me.OrderTableAdapter.Fill(Me._Database1_mdbDataSet15.Order)
cn = New
OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database1.mdb.accdb")
ad = New OleDbDataAdapter("select * from Order", cn)
72
ds = New DataSet()
End Sub
TextBox1.Text = ds.Tables(0).Rows(i).Item(0).ToString
TextBox2.Text = ds.Tables(0).Rows(i).Item(1).ToString
TextBox3.Text = ds.Tables(0).Rows(i).Item(2).ToString
TextBox4.Text = ds.Tables(0).Rows(i).Item(3).ToString
TextBox5.Text = ds.Tables(0).Rows(i).Item(4).ToString
cmb_pr_id.Text = ds.Tables(0).Rows(i).Item(6).ToString
txt_pr_name.Text =
ds.Tables(0).Rows(i).Item(7).ToString
TextBox6.Text = ds.Tables(0).Rows(i).Item(8).ToString
txt_mrp.Text = ds.Tables(0).Rows(i).Item(9).ToString
TextBox7.Text = ds.Tables(0).Rows(i).Item(10).ToString
End Sub
73
MsgBox("Enter Valid Email Address.",
MsgBoxStyle.Exclamation, "Invalid Email Address")
TextBox4.Text = ""
End If
End Sub
74
ElseIf cmb_pr_id.SelectedIndex = 9 Then
txt_pr_name.Text = "nokia 5800"
txt_mrp.Text = 13518
End If
End Sub
End Sub
75
cmd.ExecuteNonQuery()
MsgBox("Record Saved Successfully.")
End If
End If
End If
End Sub
End Sub
End Sub
76
MsgBox("Record Deleted Successfully.")
End If
End If
End If
End Sub
77
End If
End Sub
End Sub
End Sub
End Sub
End Class
78
Program Name:-Salary.vb
Program Function: This is form is used to generate
salary of employee.
Test Data:-
Code:-
Imports System.Data.OleDb
End Sub
79
'TODO: This line of code loads data into the
'_Database1_mdbDataSet13.Salary' table. You can move, or
remove it, as needed.
Me.SalaryTableAdapter.Fill(Me._Database1_mdbDataSet13.Salary)
cn = New
OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database1.mdb.accdb")
ad = New OleDbDataAdapter("select * from Salary", cn)
ds = New DataSet()
ad.Fill(ds)
End Sub
Sub add(ByVal i As Integer)
TextBox1.Text = ds.Tables(0).Rows(i).Item(0).ToString
TextBox2.Text = ds.Tables(0).Rows(i).Item(1).ToString
TextBox3.Text = ds.Tables(0).Rows(i).Item(2).ToString
TextBox4.Text = ds.Tables(0).Rows(i).Item(3).ToString
TextBox5.Text = ds.Tables(0).Rows(i).Item(4).ToString
TextBox6.Text = ds.Tables(0).Rows(i).Item(5).ToString
End Sub
Private Sub Btn_e_Save_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Btn_e_Save.Click
cn.Close()
cn.Open()
If (f = 0) Then
' dt = TextBox1.Text
' MsgBox(dt)
cmd = New OleDbCommand("insert into Salary
values('" & TextBox1.Text & "','" & TextBox2.Text & "' ,'" &
TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text
& "','" & TextBox6.Text & "')", cn)
cmd.ExecuteNonQuery()
End If
MsgBox("Record Saved Successfully.")
End Sub
80
TextBox4.Text = " "
TextBox5.Text = " "
TextBox6.Text = " "
End Sub
End If
MsgBox("Record Deleted Successfully.")
End Sub
81
Call add(i)
MsgBox("This is first Record")
End Sub
82
End If
End Sub
End Sub
Me.EmpTableAdapter1.FillBy(Me._Database1_mdbDataSet2.emp)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub
End Class
83
Program Name: Mobile Details.vb
Program Function: This Form display the various
Mobile Details.
Test Result:
84
Program Name:-Help
Program Function: This is form is used to display details
about system.
Test Result:
85
Program Name:-Mobile Bill.vb
Program Function: This is form is used to display
receipt of individual customer.
Test Result:-
Code:-
Imports System.Data.OleDb
Public Class Mobile_Bill
Dim cn As New OleDbConnection
86
Label2.Text = Order.TextBox1.Text
Lno.Text = Order.TextBox5.Text
Lname.Text = Order.txt_pr_name.Text
Lqty.Text = Order.TextBox6.Text
Lper_prize.Text = Order.txt_mrp.Text
Lammount.Text = Order.TextBox7.Text
End Sub
Private Sub btn_print_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btn_print.Click
PrintForm1.Print(Me,
PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeFullWi
ndow)
End Sub
End Class
87
Program Name:-Supplier Bill.vb
Program Function: This is form is used to display
receipt of supplier bill.
Test Result:-
Code:-
Imports System.Data.OleDb
Public Class supplier_bill
Dim cn As New OleDbConnection
Label2.Text = supplier.cmb_cm_sname.SelectedItem
Lno.Text = supplier.Txt_bo_Ono.Text
Lname.Text = supplier.cmb_cm_model.Text
Lqty.Text = supplier.Txt_bo_Qty.Text
88
Lper_prize.Text = supplier.Txt_bo_prize.Text
Lammount.Text = supplier.txt_bo_total.Text
End Sub
Private Sub btn_print_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btn_print.Click
PrintForm1.Print(Me,
PowerPacks.Printing.PrintForm.PrintOption.CompatibleModeFullWi
ndow)
End Sub
End Class
Report Layouts
89
Code:-
Imports CrystalDecisions.CrystalReports.Engine
90
Report Name:- Supplier_bill.vb
Report function:- This form displays all customers bill.
Test Result:-
Code:-
Imports CrystalDecisions.CrystalReports.Engine
91
Chapter 5
92
System Implementation
To display crystal
CryRpt CrystalReport report.
1. Access control:-
System gives access by valid password.
2. Input control:-
System validates every textbox. It allows textual values for fields like customer name.
It also validates some numeric data only for fields like phone no.
4. Range control:-
In Order Transaction the system checks whether quantity given by the user is not
more than the available product.
93
Chapter 6
Future Enhancement
94
Future Enhancement
Conclusion
System helps to store all the data about the customer order in computer
and there is no need to do paper work.
95
96
Chapter 7
97
References & Bibliography
Sr.No. Type Description
Book name : Visual Basic 2008
Publication : Murach
Book name : Mastering Visual Basic 2008
98