You are on page 1of 65

ACKNOWLEDGEMENT

Nothing concrete can be achieved without an optimal combination of inspiration a
nd perspiration. No work can be accomplished without taking the guidance of the
experts. It is only the views and advice from ingenious intellectual that help i
n the transformation of a product into a quality product.
We owe my sincere gratitude to Mr. Amit Yadav, our honorable project guide. Last
but not the least, no acknowledgement will be complete without mentioning our p
arents. They have also supported us throughout the development project.

INDEX
1. Introduction 2. Software Requirement Specification 3. Software / Hardware Req
uirement 4. Data Flow Diagram 5. E-R Diagram 6. Coding 7. Execution 8. Testing &
Debugging 9. Appendix 10. Conclusion 11. Implementation 12. Maintenance 13. Bib
liography

INTRODUCTION
Management of any departmental store is a very difficult task. Departmental stor
e is an attempt to computerize the day to day activities of store. It is designe
d to help the store to perform daily duties and transaction with ease. Members’ sa
tisfaction is the foremost priority of the system. After a detailed study of the
existing system, it is evident that it does not fulfil the objectives of the or
ganization. It is require to have a computerized information system with the hel
p of which all tasks can be processed more accurately & quickly. To achieve this
it is necessary to design & develop a new system which will have benefits, over
existing system The generation of reports in the proposed system will take mini
mum time & they are electronically prepared. As a result, it is highly accurate.
It will be easy for the users of the system to compile information at a very hi
gh pace, measure the performance over a period & draw conclusion from the inform
ation retrieved by using the proposed system. As new information are being added
to & released from other respective courses every year. It will be highly used
friendly to track & maintaining presentation of all the students. The system is
such that is stand up to the user expectation like easy and faster retrieval f i
nformation. The system is very easy to learn & understand. A native user will be
able to use the system effectively. Information being prepare of electronically
can be said as accurate which is first and foremost condition for taking a cruc
ial decision by the management. Work carried out by a staff at various stages wi
ll be loss time consuming. Besides this, the proposed system will have the follo
wing capabilities.

Design and implementation of software. 3. manuals and the rulebooks.SOFTWARE REQUIREMENT SPECIFICATION System Analysis System Analysis refers to the process of examining a situation w ith the intent of improving it through better process and methods. Revolving a method of obtaining a information from identified source. which specify how various activities are carried out in the organization. it means a detailed explanation or description. Computer Presentation of existing system. The strategy consisted of: 1. 4. 2. diagnosing pr oblem and using the information to recommend information in system or in other w ords. therefore. Presentations an documents using organization 3. Information Source s The main sources of information were: 1. the process of gathering and interpreting facts. All relevant personal were consulted and no information was over-looked. System analys is is. We need to study how it function currently. 2. Users of the system 2. Before computerizing a sys tem under consideration. what are problems and what are requirements that proposed should mee t. . Using an information from module of organization. Prospectus. System and software requirements analysis. it has to be analyzed. The main components of making software are : 1. Ensuring verifying and m aintaining software integrity. Identify infor mation sources. 3. Information Gathering The team paid a visit at th e site to have a smell of existing system.

the response of all the operations is Error Han dling : In case there arise some error in recovering or computation of Safety an d Robustness : The informative media is accessible by everyone. very slow. More Time Consuming : Work carried out by the staff at various stages is highly time consuming. User Friendliness : The system is not easy to learn and understand. . As user cannot use the system effectively. information is lying in the organization in an unorganized manner and does not resemble the real world model . Furthermore. Besides this. all the tr ansaction or the information is recorded in the registers and as simple text fil es on the computers. there are many other drawbacks with the existing syste m which are listed as under : Flexibility in generation of information : The generation of information in the Long time taken to draw conclusions : As individual files are maintained for proposed system takes long time and they are manually prepared. each information. there are no safety mea sures for the security of information. measure performan ce over a period and draw conclusions from the information stored in two differe nt files. A native Use r Satisfaction : The system is such that it does not stand up to the user Respon se Time : Being manually driven. information.UNDERSTANDING THE EXISTING SYSTEM Existing system here is manual i. it is very cumbersome to trace it. it is very difficult to compile information. information being the most crucial for the organization. expectations like easy and faster retrieval of information. The person needy of particular information has to go throug h the registers and the text files and then prepare the information needed by hi m manually.e. Lack of Accuracy : Information being prepared manually cannot be said as accurate which is the first and the foremost condition for taking a crucial deci sion by the management.

Furthermore. User satisfaction : The system is much that is stands up to the user expectation s Safety and Robustness : The system will be accessible by only the authorized like easy and faster retrieval of information. there are saf ety measures for the security of information. it is required to ha ve a computerized information system with the help of which all tasks can be pro cessed more accurately and quickly. it is evident that is does not fulfill the objectives of the organiz ation. Due to wear and tear with the resources. measure the performance over a period and draw conclusion form the information retrieved by using the propose d system. Highly accurate : Information being prepared electronically. they are highly error prone. . PROPOSED SYSTEM After a detailed study of the exist ing system. To make the objective possible for the organization. it is highly accurate. it is necessary to design a nd develop a new system which will have the following benefits over existing sys tem : Flexibility in generation of information : The generation of reports in the proposed system will take minimal time and they are electronically prepared. users. Ease in maintaining information : As new information are being added to and released from their respective courses every year. As a result. To achieve this.Error Prone Resources : Resources being used by the informative media were provided by the organization long ago. Less time is taken to draw conclusions : It will be easy for the user(s) of the system to compile information at a very high pace. can be said as accurate which is the first and the foremost condition for taking a crucial deci sion by the management. As information being the most crucial for the organization. it will be highly user friend ly to track and maintain the presentation of all the students. data is stored by the system in an organized manner and resembles the real world model.

User-friendly interfacing : Since main interaction of the system will be with th e Formatted output : The information generated by the proposed system us highly Better organization of information : Proposed system has the capability to user. situation or events. As proposed system uses hi ghly technically compatible resources. there will be very-very less wear and tea r. It makes effective an d perfect utilization of man power and resources. the circumstances. Besides this. with the latest technologies available in the market. the user interface will be interactive and meaningful. it is able to cope up with the business changes in-order to be compatible with the latest changes i n the industry. Minimum efforts : Proposed system ensures that very less efforts will be Capable of adapting to the changes in the outside environment : The system required to start the presentation.Less time consuming : Work carried out by the staff at various stages will be le ss Error free resources : Resources being used by the system will be compatible time consuming. Any enhancement to the information can be done without much effo rt and is available instantly. formatted and help the users to reach the conclusion quickly.e. Proposed system will be capable of taking that there is no loss i nformation. Proposed system use s modern techniques for storage and retrieval of information. will have scope to foresee modification and enhancement i. express the information in a better and more meaningful way. the proposed system will have the following capabilities : Multiple viewer facility : Proposed system is being designed in such a way that many users can have a view with the system simultaneously. . So the resources are error free. Accurate round the clock : Proposed system is capable of giving accurate Excepti on Handling : To ensure that the system does not halt in case undesired system c apable enough to handle these unpleasing necessary decisions so information round the clock.

.

Windows 2000 3. 40 GB Hard Disk 2.0 2. Floppy Drive 1. 256 MB Ram 3. Keyboard 6. Visual Basic 6. Processor PIV SOFTWARE REQUIREMENTS 1. MS Access . Monitor 5.44MB 4.SYSTEM REQUIREMENTS HARDWARE REQUIREMENTS 1.

It represents external entities. respectively. A le vel 0 DFD. represents the entire software element or a single bubble with input and output data indic ated by incoming and outgoing arrows. DFDs can be partitioned in to levels that represent increasing information flow and functional detail.DATA FLOW DIAGRAM (DFD) A DFD is a graphical representation that depicts information flow and the transf orms that are applied as data move from input to output. . It represen ts one or more data items. Each of the processes represented at level 1 is a sub function of the overall system depicted in the context mode l. also called a fundamental system model or a context model. A level 1 DFD may contain fi ve or six bubbles with interconnection arrows. I t represents data store-stored information that is used by software. DFD Notations It represents a process or transform that is applied to data. DFD may be used to repres ent a system or software at any level of abstraction. The basic form of a DFD is also known as a data flow graph or a bubble chart.

DFD CUSTOMER Customer Details SS_PURCHASE SS_SALES Purhase Details Updated purchase Details Sales Details for Bill Generation Stock Details SS_STOCK CUSTOMER RELIANCE FRESH Stock Details BILL Generating Bill Customer Details Updating Spare Details Customer Details Item Details SS_ITEM SS_CUSTOMER .

STRUCTURE TABLE RELIANCE FRESH CUSTOMER ITEM PURCHASE SALES SUPPLIER BILL EXIT DESIGN ERD (ENTITY RELATIONSHIP DIAGRAM) ERD are used to represent the object/relationship pair. Data objects are real world entities represented by a labeled rectang le. The primary purpose of ERD is to represent data object and their rela tionships. A set of primary components is identified for the ERD: data object. attributes. relationship and various type i ndicators. ERD Notations . It was originally purpos ed for the design of relational database system. Connections between data objects and relationships are established using a variety of special symbols that indic ates cardinality and modality. A labeled diamond represents relationships.

ENTITY W WEAK ENTITY RELATIONSHIP IDENTIFYING RELATIONSHIP ATTRIBUTE KEY ATTRIBUTE MULTIVALUED .

COMPOSITE ATTRIBUTE DATA FLOW .

RELIANCE FRESH id Ha s Name Customer id Has Supplier Address Phone Name Phone By Address Has Item Name Sales id Bill No Discount Price Bill Amount id Stock Customer Id Date Select Qoh . This process has proved to enable the analyst to produce a good dat abase structure so that the data can be stored and retrieved in a most efficient manner.Entity Relationship Diagrams are a major data modeling tool and will help organi ze the data in your project into entities and define the relationships between t he entities.

Hide Text1.Enabled = True cmdedit.AddNew End Sub Private Sub cmdclose_Click() Mainform.Enabled = False Text4.Enabl ed = True Text4.Enabled = True Cmdrefresh. "Dear User" checksave = 0 Exit For End If End If Next If checksave = 1 Then Adodc1. vbCritical.Enabled = True Text3.E nabled = True cmdedit.Enabled = True Command1. vbOKOnly + vbInformation.Enabled = False Text3.CODING Private Sub cmdadd_Click() Text1.Enabl ed = False Text2.Enabled = True Command1.Enabled = True End Sub Private Sub cmdedit_Click() Dim che cksave As Integer checksave = 1 For Each Control In CUSTOMERINFORMATION If TypeO f Control Is TextBox Then If Control.Enabled = True smddelete.Enabled = True Text2.Enabled = True smddelete.Enabled = False .Show CUSTOMERINFORMATION.Recordset.Enabled = False cmd add.Enabled = False Then MsgBox "Please Fill Al l The Required Data ".Enabled = True Adodc1.Update MsgBox "Record Save In Da tabase".Recordset. "Dear User" End If cmdedit.Enabled = True Cmdrefresh.

vb Critical.Enabled = True Text3.Enabled = False Cmdrefresh.Enabled = False Command1. "Dear User" Else MsgBox "You Have Permission To Update This Record ".Enabled = F alse smddelete.Enabled = False cmdadd.Enabled = False Then MsgBox "Data is Not Present ". vbOKCancel. "Dear User" UPDATERECORD = MsgBox("Are You Want To Update This Re cord".Enabled = True Text4.Enabled = False checkdata = 0 Exit For End If End If Next If checkdata = 0 Then MsgBox "You Don t Have Permission To Update This Record ". vbInformation. vbCritical. "Dea r User" Cmdrefresh.MoveFirst End Sub Private Sub Cmdrefresh_Click() Dim UPDATERECO RD As Integer Dim checkdata As Integer checkdata = 1 UPDATE THE DATA IN DATABAS E ***************************************************** check blank text box i n form For Each Control In CUSTOMERINFORMATION If TypeOf Control Is TextBox Then If Control.Enabled = True End If End If End Sub Private Sub Command1_Click() Dim instatus As Integer instatus = 1 For Each Control In CUSTOMERINFORMATION .Enabled = True cmdedit.Adodc1.Recordset. "Dear User") If UPDATERECORD = 1 Then Text1.Enabled = True Te xt2.

vbCritical. "Dear User" smddelete. vbOKOnly + vbInformation. "Dear User" End I f Adodc1.MoveFirst End Sub Private Sub smddelete_Clic k() Dim instatus As Integer instatus = 1 confirmdel = MsgBox("Are You Want To De lete This Record".Text = "" Then MsgBox "Please Fill All The Required Data ". vbCritical. "Dear User" instatus = 0 Exit For End If En d If Next If instatus = 1 Then Adodc1.Recordset.MoveFirst End Sub .Enabled = False instat us = 0 Exit For End If End If Next If instatus = 1 Then Adodc1.Enabled = False smddelete.Enabled = True Comman d1.Recordset.Recordset.Enabled = True cmdadd.Ena bled = True End If Adodc1. "Dear User" cmdedit.Recordset.Enabled = True Cmdrefresh. vbOKCancel.Delete MsgBox "Record Deleted In Database". "Dear User") For Each Control In CUSTOMERINFORMAT ION If TypeOf Control Is TextBox Then If Control. vbOKOnly + vbInformation.Update MsgBox "Record Save In Th e Database".If TypeOf Control Is TextBox Then If Control.Enabled = False Then MsgBox "Te xtboxes Are Disabled ".

"Dear User" UPDATERECORD = MsgBox("Are You Want To Update This Record".Enabled = True Command1.Private Sub cmdadd_Click() txtitemcode.Enabled = True txtitemname. vbCritical.Enable d = True cmdadd.Enabled = True Cmdrefresh(0).Enabled = False cmdedit. vbCritical. "Dear User" cmdedit.Recordset.Enabled = True smddelete.AddNew End Sub Private Sub cmdclose_Cl ick() Mainform.Enabled = True End Sub Private Sub cmdedit_Click() Dim UPDATERECORD As Integer Dim checkdata As Integer checkdata = 1 UPDATE THE DATA IN DATABASE *********************************************** ****** check blank text box in form For Each Control In iteminformation If Type Of Control Is TextBox Then If Control.Hide txtitemcode. "Dear User") If UPDATERECORD = 1 Then .Enabled = True Command1.Show iteminformation. "Dear User" Else MsgBox "You Have Permission To Update This Record ".Enabled = False checkdata = 0 Exit For End If End If Next If checkdata = 0 Then MsgBox "You Don t Have Permission To U pdate This Record ".Enabled = False txtitemname . vbInformation.Enabled = True Adodc1.Enabled = False Then MsgBox "Data is Not P resent ". vbOKCancel.

Enabled = True Cmdrefresh(0 ).Enabled = False Then MsgBox "Pl ease Fill All The Required Data ". vbCritical.Recordset.MoveFirst End Sub Private Sub Command1 _Click() Dim checksave As Integer checksave = 1 For Each Control In iteminformat ion If TypeOf Control Is TextBox Then If Control.Enabled = True smddelete.Recordset. vbOKOnly + vbInformation.Enabled = False End If Adodc1. vbCritical. "Dear User" instatus = 0 Exit For End If End If Next If instatus = 1 Then Adodc1.Enabled = False Cmdrefre sh(0).txtitemcode.Enabled = True End If End If End Sub Private Sub Cmdrefresh_Click(Index As Integer) Dim instatus As Integer instatus = 1 For Each Control In iteminformati on If TypeOf Control Is TextBox Then If Control.Update MsgBox "Record Save In The Database".Enabled = True Com mand1. "Dear User" checksave = 0 .Enabled = True cmdedit.Enabled = False Co mmand1.Enabled = False cmdadd.Enabled = False smddelete.Enabled = True txtitemname.Text = "" Then MsgBox "Please Fi ll All The Required Data ". "Dear User" cmdedit.Enabled = True cmdadd.

Recordset.MoveFirst End Sub Private Sub smddelete_Click() Dim instatus As Integer instatus = 1 confirmdel = MsgBox("Are You Want To Delet e This Record". "Dear User") For Each Control In iteminformation If TypeOf Control Is TextBox Then If Control. Enabled = False Adodc1. vbOKOnly + vbInformation. "Dear User" End If Command1.Delete MsgBox "Record Deleted In Database".Recordset.Save MsgBox " Record Save In Database".Enabled = False Then MsgBox "Textboxes Are Disabled ".MoveFirst End Sub .Exit For End If End If Next If checksave = 1 Then Adodc1. "Dear User" smddelete.Enabled = False instatus = 0 Exit For End If End If Next If instatus = 1 Then Adodc1.Recordset. vbOKOnly + vbInformation. vbCritical. vbOKCancel. "Dear User" End If Adodc 1.Recordset.

Show Else nm = Ms gBox("WRONG USER NAME OR PASSWORD".Private Sub CMDOK_Click() If (txtusername.Fields(0)) And (txtpassword.Recordset. vbCritical.Text = Adodc1. "DEAR CUSTOMER") End If End Sub Private Sub Command2_Click() End End Sub .Fields(1)) Then MDIForm1.Text = Adodc1.Recordset.

S how End Sub Private Sub clickPurchaseForm_Click() PURCHASEFORM.Show End Sub Private Sub clickexi t_Click() End End Sub Private Sub ClickItemInformation_Click() iteminformation.Show End Sub Priv ate Sub clickPurchaseInformation_Click() PURCHASEINFORMATION.Show End Sub Privat e Sub clickraisebill_Click() PRINTBILL.Show End Sub Privat e Sub clicksaleform_Click() SALEFORM.Show End Sub .Private Sub clickAdministration_Click() ADMINISTRATION.Show End Sub Private Sub clicksalebill_Cl ick() End Sub Private Sub clicksaledetail_Click() SALEDETAIL.Show End Sub Private Sub clickSupplierInfor mation_Click() SUPPLIERINFORMATION.Show End Sub Private Sub clickCustomertotal_Click() CUSTOMERINFORMATION.

Enabled = False MDIForm1.Show Else ProgressB ar1.Private Sub Timer3_Timer() Static i As Integer i=i+1 If i >= 101 Then Picture1.V isible = False Timer3.Value = i End If End Sub .Hide Mainform.

Private Sub Command1_Click() PRINTBILL.ShowPrinter End Sub .Hide End Sub Private Sub Command2_Click() CommonDialog1.

Enabled = True Adodc1.Recordset.Recordset.Show PURCHASEFORM.Recordset.Enabled = F alse Then MsgBox "Please Fill All The Required Data ".Recordset. "Dear User" c mdedit.Enabled = True End Sub Pri vate Sub Command1_Click() Adodc1.Private Sub cmdadd_Click() Text1.Move First End If .Enabled = True Text3.Recordset.Recordset.BOF = False) Then Adodc1.MovePrevious E lse MsgBox "Record are Finished ". "Dear User" End If Adodc1.Enabled = True Text6.Enabled = True Text2.Enabl ed = True Text5.Save MsgBox "Record Save In Database". vbCritical.Hide cmdedit. vbCritical.MoveFirst End Sub Private Sub Cmdre fresh_Click() Mainform. vbOKOnly + vbInfo rmation.Recordset.Enabled = False checksave = 0 Exit For End If End If Next If checksave = 1 Then Adodc1. "Dear User" Adodc1.MoveFirst End Sub Private Sub Command 2_Click() If (Adodc1.AddNew End Sub Private Sub cmdedit_Click() Dim checksave As Integer checksave = 1 For Each Control In PURCHASEFORM If TypeOf Control Is TextBox Then If Control.

Recordset. Recordset.End Sub Private Sub Command3_Click() If (Adodc1.EOF = False) Then Adod c1.Recordset.Recordset.MoveNext Else MsgBox "Record are Finished ".MoveLast End Sub . vbCritical.MoveFirst End If End Sub Private Sub Command4_Click() Adodc1. "Dear User " Adodc1.

MoveFirst End Sub Private Sub smddel ete_Click() Adodc1.Delete Adodc1.Hide End Sub Priv ate Sub Cmdrefresh_Click() Adodc1.Show PURCHASEINFORMATION.Recordset.MoveFirst End Sub .Recordset.Private Sub cmdclose_Click() Mainform.Recordset.

EOF = False) a = Adodc1.Text = Date Dim a As String Do While (Adodc 1.AddItem ( a) .Show SALEFORM. j As Integer j=0 i=0 For i = i To 9 If (t1(j) <> "") Then t 3(j) = t1(j) * t2(j) j=j+1 Else End If Next End Sub Private Sub Command2_Click() Dim c.Recordset.Hide End Sub Private Sub Com mand1_Click() Dim i.Fields("itemname") List1.Text = total E nd Sub Private Sub Form_Load() Text5. total As Integer Dim i As Integer total = 0 c=0 i=0 For i = i To 9 If t3 (c) <> "" Then total = total + t3(c) c=c+1 Else End If Next Text8.Recordset.Dim u As Integer Private Sub cmdclose_Click() Mainform.

Adodc1.txtcname.(Val(Text8.Text = Text7.Index < 9) Then Text1(u) = List1.Text PRINTBILL.Text = ( Text2.Te xt) * (Val(Text7.Text PRINTBILL.txtbno.txtd is.Text u=u+1 Else hs = MsgBox("NO MORE ARE INSERTED". "DEAR CUSTOMER") End If End Sub Private Sub smddelete_Click() PRINTB ILL.Text = Text6. vbCritical.Text = Val(Text8.Text) End Sub Private Sub List1_DblClick() If (Text1(u).MoveNext Loop End Sub Private Sub Text19_Change() End Sub Private Sub Text2_LostFocus() Text1.t xtcaddress.Text = Text5.txtbamount.Show End Sub .Text * Text3.Text) .Text = Text10.Text = Text9.Text PRINTBILL.Hide PRINTBILL.Text PRINTBILL.Recordset.Text) / 100)) PRINTBILL.txtbdate.Text SALEFORM.

vbCritical.AddNew En d Sub Private Sub cmdclose_Click() Mainform.Enabled = False Text4. "Dear User" checksave = 0 Exit For End I f End If Next If checksave = 1 Then Adodc1.Enabled = True Text2.Enabled = True cmdedit.Enabled = Fal se Adodc1.Recordset.Enabled = True Command1.Enabled = True Text3.Enabled = False Text3.Enabled = False Then MsgBox "Please Fi ll All The Required Data ". Enabled = False Text2.Private Sub cmdadd_Click() Text1.Recordset.Enabled = True cmdedit.Enabled = True End Sub Private Sub cmdedit_Click() Di m checksave As Integer checksave = 1 For Each Control In SUPPLIERINFORMATION If TypeOf Control Is TextBox Then If Control.MoveFirst End Sub Private Sub Cmdrefresh_Click() Dim UPDATER ECORD As Integer Dim checkdata As Integer .Enabled = True Adodc1.Update MsgBox "Record Save In Database".Recordset. vbOKOnly + vbInformation.Enabled = True Cmdrefr esh. "Dear User" End If cmdedit.Enabled = Fals e cmdadd.Enabl ed = True Text4.Enabled = True smddelete.Hide Text1.Show SUPPLIERINFORMATION.

Enabled = False Then MsgBox "Data is Not Present ". "Dear User" Cmdrefresh.Enabled = False smddelete. vbCritical. vbOKCancel.T ext = "" Then MsgBox "Please Fill All The Required Data ". vbInformation.Enabled = False cmdadd. "Dear User" UPDATERECORD = MsgBox("Are You Want To Update This Record".Enabled = True Text4.Enabled = True Text2.Enabled = True Text3.Enabled = False Command1. "Dear User") If UPDA TERECORD = 1 Then Text1. vbCritical.E nabled = False Cmdrefresh. "Dear User" Else MsgBox "You Have Permission To Update This Record ".Enabled = True cmdedit. "Dear Use r" instatus = 0 Exit For End If End If Next .Enabled = True End If End If End Sub Private Sub Command1_Click() Dim instatus As Integer instatus = 1 For Ea ch Control In SUPPLIERINFORMATION If TypeOf Control Is TextBox Then If Control.Enabled = False chec kdata = 0 Exit For End If End If Next If checkdata = 0 Then MsgBox "You Don t Ha ve Permission To Update This Record ". vbCritical.checkdata = 1 UPDATE THE DATA IN DATABASE ************************************ ***************** check blank text box in form For Each Control In SUPPLIERINFO RMATION If TypeOf Control Is TextBox Then If Control.

Recordset. "Dear User" cmdedit.Recordset.Enabled = False instatus = 0 Exi t For End If End If Next If instatus = 1 Then Adodc1.Enabled = True smddelete.Recordset.Delete MsgBox "Re cord Deleted In Database".Enabled = True cmdadd.Enabled = Fals e End If Adodc1. "Dear User" smddelete.Update MsgBox "Record Save In The Database ". "Dear User" End If Adodc1.If instatus = 1 Then Adodc1.Enabled = True Command1.MoveFirst End Sub Private Sub smddelete_Click() Dim in status As Integer instatus = 1 confirmdel = MsgBox("Are You Want To Delete This Record". vbCritical.MoveFirst End Sub . vbOKOnly + vbInformation.R ecordset.Enabled = False Then MsgBox "Textboxes Ar e Disabled ".Enabled = True Cmdrefresh. vbOKCancel. vbOKOnly + vbInformation. "Dear User") For Each Control In SUPPLIERINFORMATION If Typ eOf Control Is TextBox Then If Control.

OUTPUT .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

cleverness. Source code clarity is enhanced by structured coding techniques. in this interpretation. . by good coding style. testing and modifications are eased. The preliminary goal of imple mentation is to write source code and internal documentation so that conformance of the code to its specifications can be easily verified. Simplicity.TESTING AND DEBUGGING INTRODUCTION:The implementation phase of software development is concerned with translating design specification into source code. obscurity. and a detailed design descrip tion. The implementation team should be provided with a well-defined set of software r equirement. It refers to the difference between the actu al output of software and the correct output. and by f eature provided in modern programming languages. Error is also to used to refer to human action that result in software containing a defect or fau lt. SOME SPECIAL TERMS IN TESTING FUNDAMENTAL 1. an architectural design specification. This goal can be achieved by making the s ource code as clear and straightforword as possible. by. Error The term error is used in two ways. clarity and ele gance are the hallmark of good programs. appropriate supporting documents. Each team member must understand the objectives of implementation. and so that debugging . and complexity a re indications of inadequate design and misdirected thinking. error is e ssential a measure of the difference between actual and ideal. by good internal comments.

Failure Failure is the inability of a system or component to perform a required function according to its specifications.Unit testing ------. Failure may be caused due to functional or performance reasons. A software failure occurs if the behavior of t he software is the different from the specified behavior.Integration testing A program unit is usually small enough that the programmer who developed it can test it in great detail. A fault is a basic reason for software malfunction and is synonymous with the comm only used term Bug. Unit Testing The term unit testing comprises the sets of tests performed by an individual pro grammer prior to integration of the unit into a larger system. SOME OF THE COMMON USED STRATEGIES FOR TESTING ARE AS FOLLOWS:a. The situation is illustrated as follows: Coding & debugging ------. and certainly in greater detail than will be possible w hen the unit . 3. Fault Fault is a condition that causes to fail in performing its required function.2.

In the unit testing the program s are tested separately. Module Testing A module and encapsulates related component. There are four categories of tests that a programmer will typically perform on a program unit. So can be tested without other syst em module. as well as boundary values (minimum values. b. it is also called program teasing. ma ximum values and values on and just outside the functional boundaries) and speci al values. . independent of each other. Since the check is done at t he program level. 1) Functional test 2) Performance test 3) Stress test 4) Structur e test 1) Functional Test Functional test cases involve exercising the code with Nominal input values for which expected results are known. c. Subsystem Testing Subsystem testing may be independently design and implemented common problems ar e sub-system interface mistake in this checking we concentrate on it.is integrated into an evolving software product.

While structure testin g is referred to as “white box” or “glass box” testing. response time. program throughput. deriving test date to exercise t hose paths. and measuring the test coverage achieved when the test cases are exercised. A certain amount of avoid expending too much effort on fine-tunin g of a program unit that contributes little to the over all performance of the e ntire system. . Performance testing is most productive at the subsystem and system levels. executing the te st.2) Performance Test Performance testing determines the amount of execution time spent in various par ts of the unit. The major activities in structur al testing are deciding which path to exercise. Some authors refer collectively to func tional performance and stress testing as “black box” testing. determining the test coverage criterion to be used. 3) Stress Test Stress test are those designed to intentionally break the unit. A great deal can be learned about the strengths and limitations of a program by examining the ma nner in which a program unit breaks. and device utilization by the program unit. 4) Structure Test Structure tests are concerned with exercising the internal logic of a program an d traversing particular execution paths.

This is called “Debugging”. Defect testing and debugging is quite different testin g establishes the existence of effects and correcting this defect.DEBUGGING Defect testing is intended to find areas where the program does not co nfirm to its specifications. Tests are designed to reveal the presence of defect in the system. When defect have been found in the program. There must be discovered and removed . debugging is concerned with locating and Locate Error Design Error Report Repair Error Request The program .

Frame:This control is use d to draw boxes on the form and to group other elements. This is one method by which forms and procedures in different forms can exchange information. Text Box:This control displays that the user can edit. Procedure stored in a module can be called from any part of the application. Command Button :A commo n button represent an action that is carried out when the used click the button. Module :Modules are used to store procedure.APPENDIX Data Control :The data control gives you access to database without any programm ing. .

The data can be easily backed up onto a reliable media so that no or minimal data loss is there in case of system crash.CONCLUSION 1. The RELIANCE FRESH is automated as hand written documentation is minimized to a bare minimum once the S/w is fully implemented. 2. This project has made us require a p rofessional outlook towards a problem statement and solving it to the best and m aximum. .

this facility is build in t his project. It is granted that this project will work as it is at Present and also in future as all specifications are along the time and frame of the department.IMPLEMENTATION This project is successfully implemented in Visual Basic and MS Access and was s een in all respect of specification. Till now it is successfully working. . As far as the modification in the this Project is considered. Any number of record can be maintained acco rding to given schedule of store. You can add an customer information and also can delete his informa tion from the database in case of his exit from this organization. Also this project can be successfully implemented in any organization.

Corrective Maintenance Suppose that the maintenance programmer has loca ted the fault/Problem How to fix it without introducing a regression fault Major skills required for corrective maintenance Superb diagnostic skills Superb test ing skills Superb documentation skills Difficulty of Maintenance About 67% of th e total cost of a product accrues during the maintenance phase Maintenance is a major income source Nevertheless. Types of maintenance: 1. and/or har dware 3. operating system. even today many organizations assign maintenan ce to Unsupervised beginners. Perfec tive maintenance Client requests changes to improve product effectiveness Add additional functionality Make product run faster Improve maintainability 2. Adaptive maintenance Responses to changes in the environment in which the produc t operates The product is ported to a new compiler. and Less competent programmers The Rewards of Main tenance .MAINTENANCE Maintenance Phase: Any change to any component of the product (including documen tation) after it has passed the acceptance test.

the client will t ake future development business elsewhere Maintenance is the most important phas e of software production. not the ma intainer The code itself may be badly written Maintenance is despised by many so ftware developers Unless good maintenance service is provided. the most difficult— and most thankless . the product would not need maintenance The user’s pr oblems are often caused by the individuals who developed the product.Maintenance is a thankless task in every way Maintainers deal with dissatisfied users If the user were happy.

2. 3.BIBLIOGRAPHY 1.0 Visual Basic 6 fr om ground up By Hebert Schild By Evangelos Petroutsos By Gary Cornell . Complete Reference Visual Basic 6.0 Mastering Visual Basic 6.