You are on page 1of 124

Submitted to:Mr.

RAVIKANT

Submitted by:PREETI Roll No. 6634040

1|Page

CERTI ICATE
We hereby certify that the work is being presented in the project report

!ENTIT"E# $%TE" MANA&EMENT S'STEM(


in the partial fulfillment of the requirement for the award of degree of BAC !"#$ #% C#&P'(!$ APP")CA()#* submitted in the department of BCA of CCS )*i+er,ity Meerut is an authentic record of our work carried out under the super+ision of Mr RAVIKANT and our project leader ,epartment of BCA-

(he matter embodied in this dissertation has not been submitted by me for the award of any other degree-

PREETI

(his is to certify that the abo+e statement made by the candidate is correct to the best of my knowledge-

.|Page

INTRODUCTION TO ASSIGNED PROJECT


Hotel Management System is developed for making the work of the hotel systemized. It can do all functions like can reserve rooms, can show status of rooms available, and can reserve rooms in any class like single room or A . It can also print those details which are already in this program through a printer. It also helps in maintaining accounts of the Hotel. !sing it, a person doesn"t need to go through the registers and search for the rooms available. #he system will be developed under $indows %& as an operating system and 'isual (asic as front end and Microsoft Access as back end. #his system can also generate a report. At last, we can say the system covers all the aspects of making the hotel management system easier.
/|Page

#o $hom It May

oncern

I hereby declare that the semester pro)ect work is being presented in the partial fulfillment of the re*uirement for the award of degree of +(achelor ,f omputer Application- from + HA!.HA/0 HA/A1 SI12H !1I'3/SI#0, M33/!#- is an authentic record of our work carried out under guidance of Mr. /avikant who guided us to complete our pro)ect successfully.

&/33#I /oll 1o. 4456767

Mr. Amit Teotia Head Of Department


0|Page

ACKNOWLEDGEMENT #he beatitude, bliss and euphoria that accompany the successful completion of any task would not be complete without the e8pression of appreciation of simple virtues to the people who made it possible. So with reverence, veneration honor I acknowledge all those whose guidance and encouragement has made successful in winding up this opus. I take this opportunity to e8press my deep and sincere gratitude to Mr. Mukesh 9umar and to my friends who helped me to prepare this pro)ect on Hotel Management System.
1|Page

CONTENTS
Preface #bjecti+es 2isual Basic3 an introduction ,esigning of ,atabase $elationship in (ables 4ystem $equirement Analysis Analysis $eport 4ystem ,esign Program 4tructure 4creen shot of 4oftware (esting 2alidation #f ,ata
5|Page

4oftware ,e+elopment 4oftware )mplementation (ools6!n+ironment 'sed Coding

MET$%#%"%&'
(he &ethodology used in 7Classic life cycle8
4ystem !ngineering

Analysis

,esign

Coding

(esting

)mplement 9|Page &aintenance

MET$%#%"%&'

,e+elopment of a program is an important process that in+ol+es steps similar to any problem sol+ing task -there are fi+e main steps in the programmingProcess:3 ,efining the problems Planning and solution Coding the problem (esting the problem ,ocumenting the problem-

;|Page

,efining the problem:3 (he first step is to define the problem- )n this step the problem is clearly understood and started in detail- (he statement consists of :3 A layout how to sol+e the problem What are the inputs to the problem< What are the output of the problem that to do #btained from the software de+eloped to sol+e the problem "ist of constraints= if applicable= in the program 4ome formula= if to be used in the program-

>|Page

VIS)A" -ASIC ENVIR%NMENT 2)4'A" BA4)C:3 Welcome to &icrosoft +isual basic= the fastest easiest way to create application for &icrosoft windows- Whether you are an e?perienced professional or brand new to windows programming= +isual basic pro+ide you with a complete set of tools to simplify rapid application de+elopment-

1@ | P a g e

4o what is +isual basic the 7+isual8 part refers to the method used to create the graphic user interface AB')C- $ather then writing numerous line of code to describe the appearance and location of the interface element= you simply add rebuilt objects into place on your screen- )f youD+e e+er used a drawing program such as paint= you already ha+e most of skills necessary to create an effecti+e user interface(he basic part refers to the basic programmersD all3purpose symbolic instruction code language= a language used by more programmers then any other language in history of computing- 2isual basic has in+ol+ed from the original basic language and now contains se+eral hundred statement= function= and keywords= many of which relate directly to the windows B')- Beginners can create useful applications by learning just a few of the keywords= yet the power of the language allows professional to accomplish anything that can be accomplished using any other windows programming language(he programming language is not unique to +isual basic(he +isual basic programming system= application edition
11 | P a g e

included in &icrosoft !?cel= &icrosoft Access and many other windows applications uses the same language- (he +isual basic scripting !dition A2B scriptC is widely used scripting language and a subset of the +isual basic language(he in+estment you make in learning +isual basic will carry o+er to these other areasWhether your goal is to create a small utility for yourself or your work group= a large enterprise E wide system or e+en distributed application spanning the glob +ia the internet= +isual basic has the tools as you need-

,ata access features allow to create database= front and applications= and scalable ser+er side component for most popular database formats= including &icrosoft 4F" ser+er and other enterprise le+el database Acti+e G technologies allow you to use the functionality pro+ided by other applications= such as &icrosoft word= word processor= &icrosoft e?cel spreadsheet and other windows applications- Hou can e+en automate your applications and object created
1. | P a g e

using the professional or enterprise additions of +isual basic )nternet capabilities make it easy to pro+ide access to document and applications accurse the internet or intranet from within your application= or to create internet ser+er applications Hour finished applications are a true- !?e file that use a +isual basic +irtual machine that you can freely distribute-

#%C)MENTIN& T$E PR%&RAM After the program has been written for the solution of a problem that had been implemented successfully on the computer it appears as if the job of the programmer has finished- (he input of the program= output of the program= there design and layouts= data structure= data files and special
1/ | P a g e

procedures= all such information is called and presented in a precise and concise form-

#o.ume*t/tio* mu,t .o*t/i* t0e 1ollo2i*3 i*1orm/tio*: )n detail= what the purpose of program< Who has de+eloped the program for whom< What does the program do< What are the files used with that software< ,etailed description of that data files 4ecurity measures inbuilt in that software-

10 | P a g e

S% T4ARE #ESI&N #ESI&NIN& ,esign phase of software de+elopment deals with transferring the costumer requirements as described in the 4$4 document into a form implement able using a programming language- )n order to easily implement able in con+entional programming language= the following items must be design during the design phase ,ifferent module required to implement design phase solution11 | P a g e

Control relationship among the identified modules )nterface among different modules ,ata structures of the indi+idual modules Algorithm modulesrequired implementing the indi+idual

(hus the goal of

the design phase to take the 4$4

document as the input and the input to produce the abo+e mentioned items at the completion stage of the design phaseowe+er= we can broadly classify +arious design acti+ities into two important parts: Preliminary design ,etailed design

But the meaning and scope of these two stages may +ary considerably from one methodology to another- We will
15 | P a g e

assume in the te?t during high le+el design= deferent module and control relationship among them are identified and the interface among these modules is defined- (he outcome of high le+el design is called the program structure or software architecture- &any different nations are used to represent a high le+el design'sually a tree Elike diagram called the structure chart is used to represent the control hierarchy in a high 3le+el design,uring detailed design the data structure and the algorithm used by the different modules the design is usually known as the module specification documentWhat is good software design< A good design should capture all the functionalities of the system correctly )t should be easily under stable )t should be efficient )t should be amenable to change )t should be easily maintainable19 | P a g e

$AR#4ARE SPECI ICATI%N ardware is necessary background for making run time base for any software- 3333333333333333333333333333333 is light comple? software and that way it requires +ery few hardware specification- (he system requirement includes:3 &inimum memory space &inimum disk space &inimum speed processor 3 3 3 /. &B 1-. BB 0;5& I

A minimum /. &B $A& is required-

1; | P a g e

Pentium series processors +ary well for e?ecution of program A good resolution colored monitor unit high refreshing rate is also helpful for achie+ing good graphics-

S% T4ARE SPECI ICATI%N


4oftware is easily e?ecuted by compiling the source codeBraphics by requires a good pi?el en+ironment so that image can be drown easily and effecti+ely Platform 3 window >;6.@@@6?p Compiler E 2B studies 5-@ Afront endC &4 Access ABackendC )n this library management system project the platform used in either window >; or windows GP- (he compiler of
1> | P a g e

the project is done in +isual basic 5-@- Which is used as the front end and &4 Access is used as the backend of the project-

4#%(WA$! ,!2!"#P&!*( (##"4


5. INTER ACE #ESI&N T%%"S. -)TT%NS:

(he command button control is used to begin= interrupt= or end a process- When clicked= it in+okes a command that has been written into its Click e+ent procedure.@ | P a g e

&ost 2isual Basic applications ha+e command buttons that allow the user to simply click them to perform actions- When the user chooses the button= it not only carries out the appropriate action= it also looks as if itDs being pushed in and released and is therefore sometimes referred to as a push button%or more information see 7Clicking Buttons to perform actions8 in 7forms= Controls= and &enus8 for a simple demonstration of the command button control- 4ee 7Clicking Buttons to perform actions8 in 7forms= Controls= and &enus8 for a simple demonstration of the command controlHou will likely use one or more command buttons in your application- (o add command buttons to a form= draw them on as you would any other control- Command button can be siJedSetti*3 t0e ./6tio*:

.1 | P a g e

(o change the te?t displayed on the command= use the caption property- At design time= you can set this property by selecting it from the control properties window- When you set the caption property at design time= the button te?t will be updated dynamicallyHou can set the caption property up to .11 total characters- )f your caption e?ceeds the width of the command button it will wrap to the ne?t lineowe+er= it will be clipped if the control cannot accommodate its o+erall height-

Hou can change the front display on the command button by setting its front propertyCre/ti*3 t0e 7eybo/rd ,0ort.ut,:

Hou can use the caption property to create access key shortcuts for your command buttons by adding an ampersand AKC before the alphabet you want to use as the access key- %or e?ample= to create an access key for the caption 7Print8 you add an ampersand before the alphabet 7P8:
.. | P a g e

7KPrint8- At run time= the alphabet 7P8 will be underlined and the user can select the command by simultaneously pressing A"(LPN%TE:

to include an ampersand in a caption without creating an access key include two ampersands AKKC- A single ampersand is displayed in the caption and no characters are underlined-

S6e.i1yi*3 t0e de1/ult /*d ./*.el 6ro6ertie,:

#n each form= you can select a command to be the default command button 33333 that is= whene+er the user presses the !*(!$ key= the command button is clicked regardless of which other controls on the form has the focus- (o specify a command button as default= set the default property to true./ | P a g e

Hou can also specify a default cancel commandWhen the cancel property of a command button is set to true= it will be clicked whene+er the user presses the !4C key= regardless of which other control on the form has the focusA command button can be selected at run time by using the mouse or keyboard in the following ways: 'se a mouse to click the button &o+e the focus to the button by pressing the (AB key= and then choose the button by pressing the 4PAC!BA$ or !*(!$ Press an access key AA"(L the underlined letterC for a command button )f the command button is the default cancel button for the form= pressing !*(!$ chooses the button= e+en if you change the focus to a different control )f the command button is the default cancel button for the form= then pressing !4C chooses the button= e+en if you change the focus to a different control.0 | P a g e

T0e +/lue 6ro6erty:

Whene+er the command button is selected= its +alue property is set to true and the click e+ent is triggered- %alse AdefaultC indicates a button isnDt chosen- Hou can use the +alue property in code to trigger the command buttonDs click e+ent- %or e?ample: cmdClose-2alueM(rue

T0e Cli.7 E+e*t:

When clicked= the command buttonDs Click e+ent is (riggered and the code youD+e written in the Click e+ent procedure is in+okedClicking a command button control also generates the
.1 | P a g e

&ouse ,own and &ouse 'p e+ents- )f you intend to attach e+ent procedures for these related e+ents= be sure that their actions donDt conflict(he order in which these three !+ent occurs +aries from control to control- )n the command button control= these e+ents occur in this order: &ouse ,own= Click= and &ouse 'pNote: if the user attempts to double3click the command Button control= each click will be processed separatelyN (hat is= the command button control does not support the ,ouble3click e+entor More I*1orm/tio* 4ee reference of 2isual Basic= And Blacks Books 7$esponding to the &ouse and Oeyboard !+ents=8 for more information on the &ouse ,own and &ouse 'p e+ents- 4ee 7$esponding to &ouse and Oeyboard !+ents8 for more information on the &ouse ,own and &ouse 'p e+ents.5 | P a g e

(he command button control= like the check bo? and option button control= may be +isually enhanced by alerting the setting of the style property and then using the picture= ,own Picture and ,isabled Picture properties- %or e?ample= you may want to add an icon or bitmap to a command button or display a different image when the button is clicked or disabledPPHou will likely use one or more command button in your application- (o add command buttons to a form= draw them on as you would any other control- Command Buttons can be siJed with the mouse or by setting their eight Width propertiesSetti*3 t0e C/6tio*

(o change the te?t displayed on the command button= use the Caption property- At design time= you can set this Property by selecting it from the control Properties Window- When you set the Caption property at design
.9 | P a g e

(ime= the button te?t will be updated dynamicallyHou can set the Caption property up to .11 total characters- )f your caption e?ceeds the width of the Command button= it will wrap to the ne?t line owe+er= it will be clipped if the control cannot accommodate its o+erall heightHou can change the font displayed on the command button by setting its %ont property-

Cre/ti*3 Keybo/rd S0ort.ut,

Hou can use the Caption property to create access key 4hortcuts for your command buttons by adding an Ampersand AKC before the letter you want to use as the Access key- %or e?ample= to create an access key for the caption 7Print8 you add an ampersand before the
.; | P a g e

"etter 7p8 7Kprint8- At run time= the letter 7p8 will be underlined and the user can select the command by simultaneously pressing A"(LP*ote: (o include an ampersand in a caption without Creating an access key= include two ampersands AKKC- A single ampersand is displayed in the caption and no Characters are underlinedS6e.i1yi*3 t0e #e1/ult /*d C/*.el Pro6ertie,

#n each form= you can select a button to be the default command button P that is= whene+er the user Presses the !*(!$ key the command button is clicked $egardless of which other control on the form has the %ocus- (o specify a command button as default set the ,efault property to (rueHou can also specify a default cancel buttonWhen the Cancel property of a command button is set to (rue= it will be clicked whene+er the user presses the !4C key
.> | P a g e

regardless of which other control on the form has the focusA command button can be selected at run time by using the mouse or keyboard in the following ways: 'se a mouse to click the button &o+e the focus to the button by pressing the (AB Oey= and then choose the button by pressing the 4PAC!BA$ or !*(!$ Press an access key AA"(L the underlined letterC for a command button )f the command button is the default command button for the form= pressing !*(!$ chooses the= e+en if you change the focus to a different control )f the command button is the default cancel for the form= then pressing !4C chooses the= e+en if you change the focus to another control/@ | P a g e

T0e +/lue 6ro6erty

Whene+er the command button is selected= its +alue property is set to (rue and the Click e+ent is triggered- %alse A,!%A"(C indicates the button isnDt chosen- Hou can use the +alue of property in code to the command buttonDs click e+ent- %or e?ample: cmdClose-2alueM(rue
T0e Cli.7 E+e*t

When clicked= the buttonDs Click e+ents is triggered and the code you ha+e written in the click e+ent procedure is in+okedClicking a command button control also generates the &ouse ,own and &ouse 'p e+ents- )f you intend to attach e+ent procedure for these related e+ents= be sure that their actions donDt conflict- (he order in which these three !+ents occur +aries from control to control- )n the control= (hese e+ents occur in this order: &ouse ,own= Click= &ouse 'p/1 | P a g e

Note: )f the user attempts to double3click the control= each click will be processed separatelyN that is= the control does not support the double3click e+entor More I*1orm/tio* 4ee= 2isual Basic Books 7$esponding to &ouse and Oeyboard !+ents=8 for more information on the &ouse ,own and mouse 'p e+ents- 4ee 7$esponding to &ouse and Oeyboard !+ents8 for more information on the &ouse ,own and &ouse 'p e+ents(he easiest way to allow the user to interact with an application is to pro+ide a button to click- Hou can use the command button control pro+ided by 2isual Basic= or you can create your own 7button8 using an image control containing a graphic= such as an icon-

),i*3 Comm/*d butto*,


/. | P a g e

&ost 2isual Basic applications ha+e command button that allow to user to simply click them to perform action- When the user chooses the button= it not only carries out the appropriate action= it also looks as if itDs being pushed in and released- Whene+er the user clicks a button= the click e+ent procedure is in+oked- Hou place code in the click e+ent procedure to perform any action you choose(here are many ways to choose a command button at run time: 'se a mouse to click the button &o+e the focus to the button by pressing the (AB key= and then choose the button by pressing the 4PAC!BA$ or !*(!$- A4ee 7'nderstanding %ocus8 later in this chapter-C Press an access AA"(Lthe underlined letterC for a command button 4et a command buttonDs +alue property to true in code// | P a g e

cmdClose-2alue M true )n+oke the command buttonDs Click e+ent in codecmdClosePClick )f the command button is the default command button for the form= pressing !*(!$ chooses the button e+en if you change the focus to a different control than a command button- At design time= you specify a default command button by setting that buttonDs ,efault property to (rue )f the command button is the default cancel button for the form= then pressing !4C chooses the button= e+en if you change the focus to another control- At design time= you specify a default Cancel button by setting that buttonDs Cancel property to (rueAll these action cause 2isual Basic to in+oke the Click e+ent procedure/0 | P a g e

T0e Te,t -utto*, A66li./tio*

Hou use the caption property to display te?t on the button to tell the user what the button does- )n %igure /-0=the (est Button e?ample from the Control sample application Contains a command button with its caption property set to 7Change 4ignal-8 A%or a working +ersion of this e?ample= see Button-frm in the controls-+bp sample application

Combo bo8:A combo bo? control combines the features of a te?t bo? and a list bo?- (his control allows the user to select an item either by typing te?t into the combo bo?= or by selecting it form the listCombo bo?es present a list of choices to the user)f the number of items e?ceeds what can be displayed in the combo bo?= scroll bars will automatically appear on the control- (he user can
/1 | P a g e

then scroll up and down or left to right through the list40e* to ),e / Combo -o8 I*,te/d o1 / "i,t -o8

Benerally= a combo bo? is appropriate when there is a list of suggested choices= and a list bo? is appropriate when you want to limit input to what is on the list- A combo bo? contains an edit field= so choices not on the list can be typed in this field)n application= combo bo?es sa+e space on a form- Because the full list is not displayed until the user clicks the down arrow Ae?cept for style )= which is always dropped downC= a combo bo? can easily fit in a small space where a list bo? would not fitor More I*1orm/tio* 4ee 7'sing "ist Bo?es and Combo Bo?es8 controls= and &enus=8 for a simple demonstration of these controls- 4ee8 'sing "ist Bo?es and Combo Bo?es8 in 7%orms= Controls= and &enus 7for a simple demonstration of these controlsAlso see 7'sing the list Bo? Control8 later in this
/5 | P a g e

chapter for more information about the list bo? control#/t/--ou*d e/ture

2isual Basic includes both standard and data3 bound +ersions of the combo bo? control- While both +ersions allow you to display= edit= and update information from most standard type of database= the data Ebound combo bo? pro+ides more ad+anced data access feature- (he data3 bound combo bo? control also supports a different set of properties and methods than standard combo bo? control%or more information see 7using the ,ataCombo and ,ata"ist Controls8 in +isual basic books= 7'sing 2isual BasicDs standard controls8-

Combo -o8 Style,

(here are three combo bo? styles- !ach style can be set at design time and uses +alues= or
/9 | P a g e

equi+alent 2isual Basic constants= to set the style of the combo bo?Style
,rop3,own combo bo? 4imple combo bo? ,rop3,own list bo?

V/lue
@ 1 .

Co*,t/*t
+bCombo,rop,own +bCombo4imple +bCombo,rop,own"ist

#ro6-#o2* .ombo bo8

With the default setting A4tyle M @3 ,rop,ownComboC= a combo bo? is a drop down combo bo?- (he user can either enter te?t directly Aas in a te?t bo?C or click the detached arrow at the right of the combo bo? to open a list of choices- 4electing one of the choices inserts it into the te?t portion at the top of the combo bo?(he user also can open the list by pressing A"( L ,#W* A$$#W when the control has the focus/; | P a g e

Sim6le .ombo bo8

4etting the style property of a combo bo? to 1 E simple combo specifies a simple combo bo? in which the list is displayed at all times- (o display all entries in the list= you must draw the list bo? large enough to display the entries- A +ertical scroll bar is automatically inserted when there are more entries that can be displayed- (he user can still enter te?t directly or select from a list- As with a drop3down combo bo?= a simple combo bo? also allows users to enter choices not on the list#ro6-#o2* li,t bo8

A drop3down list bo? A4tyle M . E,ropdown listC is like a regular list bo? E it displays a list of items from which a user must choose- 'nlike list bo?es= howe+er= the list is not displayed until you click the arrow to the right of the bo?- (he key difference between this and a drop3down combo bo? is that the user canDt type into the bo?N he can only select an item from the list- 'se this type of list bo? when space is ata premium/> | P a g e

Addi*3 Item,

(o add items to a combo bo?= use the Add)tem method= which has the following synta?: bo?-Add)tem itemQ= inde?R

Ar3ume*t Bo? )tem

#e,.ri6tio* *ame of the list or combo bo? 4tring e?pression to add to the list- )f item is a literal constant= enclose it in quotation marks-

0@ | P a g e

)nde?

4pecifies where the new item is to be inserted in the listAn inde? of @ represents the first position- )f inde? is omitted= the item is inserted at the end Aor in the proper sorted orderC-

While list items are commonly added in the formP load e+ent procedure= you can use the Add)tem method at any time- (his gi+es you the ability to add item to the list dynamically Ain response to user actionC(he following code places 7 Chardonnay8 =7%ume Blanc8 =7BewurJtraminer8= and 7Iinfandel8 into a combo bo? named combo l with its 4tyle property set to @ A+b Combo ,rop downC: Pri+ate 4ub %orm P"oadAC Combo1-Add)tem 7Chardonnay8 Combo1-Add)tem 7%ume Blanc8 Combo1-Add)tem 7BewurJtraminer8
01 | P a g e

Combo1-Add)tem 7Iinfandel8 !nd 4ub


Addi*3 Item, /t #e,i3* Time

Hou can also enter items into the list at design time by setting the "ist property in the properties window of the combo bo? control- When you select the "ist property option and then click the down arrow= you can type list items and then press the C($"L!*(!$ key combination to start a new lineHou can only add items to the end of the list- 4o= if you want to alphabetiJe the list= set the sorted property to (rue- 4ee 74orting a list8 below for more informationAddi*3 /* Item /t / S6e.i1ied Po,itio*

(o add an item to a list at a specific position= specify an inde? +alue after the new item- %or e?ample= the ne?t line of code inserts 7Pinot *oir8 into the first position= adjusting the position of the other items downward: Combo1-Add)tem 7Pinot *oir8= @
0. | P a g e

Sorti*3 / "i,t

Hou can specify that items be added to a list in alphabetical order by setting the 4orted Property to (rue and omitting the inde?- (he sort is not case3sensiti+eN thus= the words 7chardonnay8 and 7Chardonnay8 are treated the sameWhen the sorted property is set to (rue= using the Add)tem method with the inde? argument can lead to unpredictable= unsorted results-

0/ | P a g e

FORMS AND CODING

00 | P a g e

Publi. RET A, I*te3er 9Publi. C%N A, Ne2 A#%#-.Co**e.tio* 9Publi. r, A, Ne2 A#%#-.Re.ord,et Publi. #- A, #/t/b/,e
01 | P a g e

Publi. RS A, Re.ord,et Pri+/te Sub .md./*.el:Cli.7;< M,3-o8 =$ey>'ou .0/*3e your mi*d 0/*..=? +bE8.l/m/tio*? =C/*.el= T@T)SER.Te8t A == T@TPASS.Te8t A == T@TCPASS.Te8t A == T@T)SER.Set o.u, E*d Sub Pri+/te Sub .mde8t:Cli.7;< M#I orm5.S0o2 Me.$ide )*lo/d Me E*d Sub

Pri+/te Sub .mdo7:Cli.7;<

05 | P a g e

Set #- A #-E*3i*e.4or7,6/.e,;0<.%6e*#/t/b/,e;=C:BPR%CBdb5 .mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=6/,,.ode=? db%6e*#y*/,et< 40ile RS.E% A /l,e I1 RS. ield,;=u,er id=<.V/lue A T@T)SER.Te8t T0e* M,3-o8 =),er /lre/dy e8i,t .re/te 1rom /*ot0er */me=? +bCriti./l? =Error= 9RS.Clo,e 9C%N.Clo,e T@T)SER.Te8t A == T@TPASS.Te8t A == T@TCPASS.Te8t A == T@T)SER.Set o.u, E8it Sub E*d I1 RS.Mo+eNe8t 4e*d I1 T@T)SER A == T0e*
09 | P a g e

M,3-o8 =ENTR' M)ST=? +bI*1orm/tio*? =-"ANK = 9RS.Clo,e 9C%N.Clo,e T@T)SER.Set o.u, E8it Sub El,eI1 T@TPASS A == T0e* M,3-o8 =ENTR' M)ST=? +bI*1orm/tio*? =-"ANK = 9RS.Clo,e 9C%N.Clo,e T@TPASS.Set o.u, E8it Sub El,eI1 T@TCPASS A == T0e* M,3-o8 =ENTR' M)ST=? +bI*1orm/tio*? =-"ANK = 9RS.Clo,e 9C%N.Clo,e T@TCPASS.Set o.u, E8it Sub El,eI1 T@TPASS.Te8t A T@TCPASS.Te8t T0e* RS.AddNe2
0; | P a g e

RS. ield,;=),er Id=<.V/lue A T@T)SER.Te8t RS. ield,;=),er 6/,, .ode=<.V/lue A T@TPASS.Te8t RS.)6d/te M,3-o8 =Ne2 u,er 0/, bee* .re/ted=? +bI*1orm/tio*? =),er Cre/ted= 9RS.Clo,e 9C%N.Clo,e M#I orm5.S0o2 Me.$ide )*lo/d Me El,e M,3-o8 =P/,,2ord *ot rety6ed .orre.tly=? +bCriti./l? =Error= 9RS.Clo,e 9C%N.Clo,e T@TCPASS.Te8t A == T@TCPASS.Set o.u, E8it Sub E*d I1 9RS.Clo,e 9C%N.Clo,e
0> | P a g e

E*d Sub Pri+/te Sub T@T)SER:C0/*3e;< I1 T@T)SER.Te8t A == T0e* CM#%K.E*/bled A /l,e El,e CM#%K.E*/bled A True E*d I1 E*d Sub

1@ | P a g e

Pri+/te Sub Comm/*d5:Cli.7;<


11 | P a g e

Me.$ide M#I orm5.S0o2 E*d Sub

1. | P a g e

1/ | P a g e

Pri+/te Sub MICN%:Cli.7;< orm3.S0o2 E*d Sub Pri+/te Sub MICP4:Cli.7;I*de8 A, I*te3er< ormD.S0o2 E*d Sub Pri+/te Sub MIE:Cli.7;< E*d E*d Sub Pri+/te Sub MI %S:Cli.7;< orm50.S0o2 E*d Sub Pri+/te Sub MI$KS:Cli.7;< orm53.S0o2 E*d Sub
10 | P a g e

Pri+/te Sub MIKMS:Cli.7;< ormE.S0o2 E*d Sub Pri+/te Sub m*.*u:Cli.7;< RMNE4)SER.S0o2 E*d Sub

11 | P a g e

15 | P a g e

Publi. /? @ A, I*te3er Publi. RS5 A, Re.ord,et Publi. db5 A, #/t/b/,e

Pri+/te Sub orm:A.ti+/te;< Set db5 A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< 9Set r,5 A db5.%6e*Re.ord,et;=,ele.t M/8;+/l;.u,t*o<</, / 1rom re3i,tr/tio*=? db%6e*#y*/,et< 9I1 r,5. ield,;=/=<.V/lue FA 5 T0e* 9@ A V/l;r,5. ield,;=/=<.V/lue< G 5 9El,e 9@ A 5 9E*d I1 9 orm4.Te8t3 A @ 9 orm5H.Te8t5 A @ 9 orm55.Te8tD A @ E*d Sub

19 | P a g e

Pri+/te Sub "i,t5:Cli.7;< / A "i,t5."i,tI*de8 I1 / A 0 T0e* ormI.S0o2 E*d I1 I1 / A 5 T0e* orm4.S0o2 E*d I1 I1 / A H T0e* orm6.S0o2 E*d I1 I1 / A 3 T0e* ormJ.S0o2 E*d I1 I1 / A 4 T0e* ormI.S0o2 9#/t/Re6ortI.S0o2 E*d I1 I1 / A I T0e* Me.$ide
1; | P a g e

ormD.S0o2 E*d I1 I1 / A 6 T0e* E*d E*d I1 E*d Sub

1> | P a g e

5@ | P a g e

Publi. #- A, #/t/b/,e Publi. RS A, Re.ord,et Publi. RS5 A, Re.ord,et Pri+/te Sub Comm/*d5:Cli.7;< orm3.S0o2 )*lo/d Me E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< Te8tH.Te8t A RS. ield,;=,i*3le=<.V/lue Te8t4.Te8t A RS. ield,;=doub=<.V/lue Te8t6.Te8t A RS. ield,;=de,d=<.V/lue Te8tE.Te8t A RS. ield,;=ord=<.V/lue E*d Sub Pri+/te Sub orm:A.ti+/te;<

51 | P a g e

Set RS5 A #-.%6e*Re.ord,et;=RE&ISTRATI%N=? db%6e*#y*/,et< Te8tJ.Te8t A RS5.Re.ordCou*t

E*d Sub Pri+/te Sub orm:"o/d;< Set #- A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=room=? db%6e*#y*/,et< E*d Sub

5. | P a g e

5/ | P a g e

#im #-? db5? #-H A, #/t/b/,e #im RS? RS5? RSH A, Re.ord,et Publi. r? .tr? *o A, I*te3er Publi. 85? ,5 A, I*te3er Publi. /? b? C? #? E? A, Stri*3

Pri+/te Sub Comm/*d5:Cli.7;< 9RSH.AddNe2 9RSH. ield,;=C%)STN%=<.V/lue A Te8t3 9RSH.)6d/te RS.AddNe2 Te8t54.Set o.u, 9RSH. ield,;=.%u,t*o=<.V/lue A Te8t3 RS. ield,;=&ue,t */me=<.V/lue A Te8t54 RS. ield,;=/ddre,,=<.V/lue A Te8t53 RS. ield,;=.ity belo*3,=<.V/lue A Te8t5H RS. ield,;=#ATE=<.V/lue A Te8t55
50 | P a g e

RS. ield,;=.0e.7 i*=<.V/lue A Te8t50 I1 Te8tD.Vi,ible A True T0e* RS. ield,;=.0e.7 out=<.V/lue A Te8tD E*d I1 RS. ield,;=room,=<.V/lue A Combo4 RS. ield,;=ty6e room=<.V/lue A Combo3 RS. ield,;=,ub.ri6tio*=<.V/lue A Te8tJ RS. ield,;=room *o=<.V/lue A Te8t5 RS.)6d/te I1 Combo3.Te8t A =%rdi*/ry= A*d Combo4.Te8t A =double= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=ord=<.V/lue A RS5. ield,;=ord=<.V/lue G *o RS5. ield,;=doub=<.V/lue A RS5. ield,;=doub=<.V/lue G *o RS5.)6d/te E*d I1

51 | P a g e

I1 Combo3.Te8t A =%rdi*/ry= A*d Combo4.Te8t A =,i*3le= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=,i*3le=<.V/lue A RS5. ield,;=,i*3le=<.V/lue G *o RS5. ield,;=ord=<.V/lue A RS5. ield,;=ord=<.V/lue G *o RS5.)6d/te E*d I1 I1 Combo3.Te8t A =Semi-delu8e= A*d Combo4.Te8t A =double= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=de,d=<.V/lue A RS5. ield,;=de,d=<.V/lue G *o RS5. ield,;=doub=<.V/lue A RS5. ield,;=doub=<.V/lue G *o RS5.)6d/te E*d I1
55 | P a g e

I1 Combo3.Te8t A =Semi-delu8e= A*d Combo4.Te8t A =,i*3le= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=de,d=<.V/lue A RS5. ield,;=de,d=<.V/lue G *o RS5. ield,;=,i*3le=<.V/lue A RS5. ield,;=,i*3le=<.V/lue G *o RS5.)6d/te E*d I1 I1 Combo3.Te8t A =#elu8e= A*d Combo4.Te8t A =double= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=de,d=<.V/lue A RS5. ield,;=de,d=<.V/lue G *o RS5. ield,;=doub=<.V/lue A RS5. ield,;=doub=<.V/lue G *o
59 | P a g e

RS5.)6d/te E*d I1 I1 Combo3.Te8t A =#elu8e= A*d Combo4.Te8t A =,i*3le= T0e* RS5.Mo+e ir,t RS5.Edit RS5. ield,;=de,d=<.V/lue A RS5. ield,;=de,d=<.V/lue G *o RS5. ield,;=,i*3le=<.V/lue A RS5. ield,;=,i*3le=<.V/lue G *o RS5.)6d/te E*d I1

E*d Sub

Pri+/te Sub Comm/*dH:Cli.7;< "/bel56.Vi,ible A True Te8t50.Vi,ible A True


5; | P a g e

"/bel5I.Vi,ible A /l,e Te8tD.Vi,ible A /l,e E*d Sub Pri+/te Sub Comm/*d3:Cli.7;< RS.Mo+ePre+iou, I1 RS.-% A /l,e T0e* Te8t54 A RS. ield,;=&ue,t:*/me=<.V/lue Te8t53 A RS. ield,;=/ddre,,=<.V/lue Te8t5H A RS. ield,;=.ity:belo*3,=<.V/lue Te8t55 A RS. ield,;=d/te=<.V/lue Te8t50 A RS. ield,;=.0e.7:i*=<.V/lue Combo4 A RS. ield,;=room,=<.V/lue Combo3 A RS. ield,;=ty6e:room=<.V/lue Te8tJ A RS. ield,;=,ub.ri6tio*=<.V/lue Te8t5 A RS. ield,;=room:*o=<.V/lue El,e: / A M,3-o8;=E*d o1 Re.ord=? +bI*1orm/tio* G +b%K%*ly? =2/r*i*3=< E*d I1 E*d Sub
5> | P a g e

Pri+/te Sub Comm/*d4:Cli.7;< RS.Mo+eNe8t I1 RS.E% A /l,e T0e* Te8t54 A RS. ield,;=&ue,t */me=<.V/lue Te8t53 A RS. ield,;=/ddre,,=<.V/lue Te8t5H A RS. ield,;=.ity:belo*3,=<.V/lue Te8t55 A RS. ield,;=d/te=<.V/lue Te8t50 A RS. ield,;=.0e.7:i*=<.V/lue I1 Te8tD.Vi,ible A True T0e* Te8tD A RS. ield,;=.0e.7:out=<.V/lue E*d I1 Combo4 A RS. ield,;=room,=<.V/lue Combo3 A RS. ield,;=ty6e:room=<.V/lue Te8tJ A RS. ield,;=,ub.ri6tio*=<.V/lue Te8t5 A RS. ield,;=room:*o=<.V/lue El,e: / A M,3-o8;=E*d o1 Re.ord=? +bI*1orm/tio* G +b%K%*ly? =2/r*i*3=< E*d I1 E*d Sub

9@ | P a g e

Pri+/te Sub Comm/*dI:Cli.7;< E*d E*d Sub Pri+/te Sub Comm/*d6:Cli.7;< RS.Mo+e ir,t 85 A RS.Re.ordCou*t 9 ormI.Te8tJ.Te8t A 85 RS.Mo+eNe8t orm3.S0o2 E*d Sub

Pri+/te Sub Comm/*dE:Cli.7;< "/bel5I.Vi,ible A True Te8tD.Vi,ible A True E*d Sub Pri+/te Sub orm:A.ti+/te;< Te8t55.Te8t A orm/t;No2? = mKdKyy=< Te8t50.Te8t A orm/t;No2? =0:m=<
91 | P a g e

"/bel56.Vi,ible A /l,e Te8t50.Vi,ible A /l,e "/bel5I.Vi,ible A /l,e Te8tD.Vi,ible A /l,e E*d Sub Pri+/te Sub orm:#e/.ti+/te;< Te8t5 A == Te8tH A == Te8t3 A == Te8tJ A == Te8tD A == Te8t50 A == Te8t55 A == Te8t5H A == Te8t53 A == Te8t54 A == Combo3.Te8t A == Combo4.Te8t A == E*d Sub

9. | P a g e

Pri+/te Sub orm:"o/d;< .tr A 0 *o A 5 Set #- A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=RE&ISTRATI%N=? db%6e*#y*/,et< Set db5 A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS5 A db5.%6e*Re.ord,et;=room=? db%6e*#y*/,et< Set #-H A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS5 A #-H.%6e*Re.ord,et;=C%)ST%MER=? db%6e*#y*/,et< E*d Sub

9/ | P a g e

Pri+/te Sub Te8t5:KeyPre,,;KeyA,.ii A, I*te3er< I1 KeyA,.ii F IE %r KeyA,.ii L 4J A*d KeyA,.ii LF 3H A*d KeyA,.ii LF J T0e* KeyA,.ii A 0 E*d I1 E*d Sub

Pri+/te Sub Te8t50:KeyPre,,;KeyA,.ii A, I*te3er< I1 KeyA,.ii F IJ %r KeyA,.ii L 4J T0e* KeyA,.ii A 0 E*d I1 E*d Sub Pri+/te Sub Te8t5H:KeyPre,,;KeyA,.ii A, I*te3er< I1 ;KeyA,.ii L 6I %r KeyA,.ii F D5< A*d ;KeyA,.ii L DE %r KeyA,.ii F 5H3< A*d KeyA,.ii LF 3H A*d KeyA,.ii LF J T0e* KeyA,.ii A 0 E*d I1
90 | P a g e

E*d Sub Pri+/te Sub Te8t54:KeyPre,,;KeyA,.ii A, I*te3er< I1 ;KeyA,.ii L 6I %r KeyA,.ii F D5< A*d ;KeyA,.ii L DE %r KeyA,.ii F 5H3< A*d KeyA,.ii LF 3H A*d KeyA,.ii LF J T0e* KeyA,.ii A 0 E*d I1 E*d Sub Pri+/te Sub Te8t53:KeyPre,,;KeyA,.ii A, I*te3er< I1 ;KeyA,.ii L 6I %r KeyA,.ii F D5< A*d ;KeyA,.ii L DE %r KeyA,.ii F 5H3< A*d KeyA,.ii LF 3H A*d KeyA,.ii LF J T0e* KeyA,.ii A 0 E*d I1 E*d Sub Pri+/te Sub Te8tJ:KeyPre,,;KeyA,.ii A, I*te3er< I1 KeyA,.ii L 46 %r KeyA,.ii F IJ A*d KeyA,.ii LF 3H A*d KeyA,.ii LF J T0e* KeyA,.ii A 0
91 | P a g e

E*d I1 E*d Sub Pri+/te Sub Te8tD:KeyPre,,;KeyA,.ii A, I*te3er< I1 KeyA,.ii L 46 %r KeyA,.ii F IJ T0e* KeyA,.ii A 0 E*d I1 E*d Sub

95 | P a g e

99 | P a g e

Publi. @? ,* A, I*te3er Publi. #-? db5 A, #/t/b/,e Publi. RS? RS5 A, Re.ord,et Pri+/te Sub orm:"o/d;< Set #- A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=.ou,tomer=? db%6e*#y*/,et< E*d Sub Pri+/te Sub "i,t5:Cli.7;< / A "i,t5."i,tI*de8 I1 / A 0 T0e* orm56.S0o2 E*d I1 I1 / A 5 T0e* ,* A 5 orm5H.S0o2 E*d I1 I1 / A H T0e* orm55.S0o2
9; | P a g e

E*d I1 I1 / A 3 T0e* orm3.S0o2 E*d I1 I1 / A 4 T0e* E*d E*d I1 I1 / A I T0e* E*d I1 E*d Sub

9> | P a g e

;@ | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub r/meH:#r/3#ro6;Sour.e A, Co*trol? @ A, Si*3le? ' A, Si*3le< E*d Sub

;1 | P a g e

;. | P a g e

#im ,Ml A, Stri*3 Publi. ,tr A, Stri*3 Publi. tm A, I*te3er Publi. /mt? 3t A, I*te3er Publi. C%N A, Ne2 A#%#-.Co**e.tio* Publi. #-? db5? #-H? db3? db4 A, #/t/b/,e Publi. RS? RS5? RSH? r,3? r,4 A, Re.ord,et Pri+/te Sub Comm/*d5:Cli.7;< orm3.S0o2 Me.$ide E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< ,Ml A =,ele.t N 1rom re3i,tr/tio* 20ere room:*oA= G =9= G Te8tH.Te8t G =9= Set RS A #-.%6e*Re.ord,et;,Ml? db%6e*#y*/,et< Te8t54.Te8t A RS. ield,;=&ue,t */me=<.V/lue Te8t53.Te8t A RS. ield,;=/ddre,,=<.V/lue
;/ | P a g e

Te8t5H.Te8t A RS. ield,;=.ity belo*3,=<.V/lue Te8t55.Te8t A RS. ield,;=d/te=<.V/lue Te8t50.Te8t A RS. ield,;=.0e.7:i*=<.V/lue Combo4.Te8t A RS. ield,;=room,=<.V/lue Combo3.Te8t A RS. ield,;=ty6e room=<.V/lue Te8t5.Te8t A RS. ield,;=room *o=<.V/lue Te8tJ.Te8t A RS. ield,;=,ub.ri6tio*=<.V/lue E*d Sub Pri+/te Sub Comm/*d3:Cli.7;< Te8t4.Te8t A orm/t;No2? = mKdKyy=< Te8tD.Te8t A orm/t;No2? =0:m=< Te8t3 A C#/te;Te8t4.Te8t< - C#/te;Te8t55.Te8t< I1 Combo4.Te8t A =,i*3le= A*d Combo3.Te8t A =%rdi*/ry= T0e* tm A V/l;Te8t3.Te8t< N I00 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t<

;0 | P a g e

E*d I1 I1 Combo4.Te8t A =,i*3le= A*d Combo3.Te8t A =#elu8e= %r Combo3.Te8t A =Semi-delu8e= T0e* tm A V/l;Te8t3.Te8t< N 5000 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t<

E*d I1 I1 Combo4.Te8t A =,i*3le= A*d Combo3.Te8t A =Semidelu8e= %r Combo3.Te8t A =Semi-delu8e= T0e* tm A V/l;Te8t3.Te8t< N 5000 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t< E*d I1

;1 | P a g e

I1 Combo4.Te8t A =double= A*d Combo3.Te8t A =%rdi*/ry= T0e* tm A V/l;Te8t3.Te8t< N E00 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t< E*d I1 I1 Combo4.Te8t A =double= A*d Combo3.Te8t A =#elu8e= %r Combo3.Te8t A =Semi-delu8e= T0e* tm A V/l;Te8t3.Te8t< N 5I00 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t< E*d I1 I1 Combo4.Te8t A =double= A*d Combo3.Te8t A =Semidelu8e= %r Combo3.Te8t A =Semi-delu8e= T0e* tm A V/l;Te8t3.Te8t< N 5I00 Te8tI.Te8t A tm - V/l;Te8tJ.Te8t< 3t A tm - V/l;Te8tJ.Te8t< E*d I1

;5 | P a g e

RS5.Edit RS5. ield,;=.0e.7:out=<.V/lue A Te8tD.Te8t RS5. ield,;=.0e.7outd/te=<.V/lue A Te8t4.Te8t RS5.)6d/te E*d Sub Pri+/te Sub Comm/*d4:Cli.7;< Set r,4 A db4.%6e*Re.ord,et;=,ele.t N 1rom .u,tomer 20ere room*oA9= G Te8t5.Te8t G =9=< /mt A 0 r,4.Mo+e ir,t #o 40ile Not r,4.E% /mt A /mt G r,4. ield,;=/mou*t=<.V/lue Te8t6.Te8t A /mt Te8tE.Te8t A V/l;Te8tI.Te8t< G V/l;Te8t6.Te8t< r,4.Mo+eNe8t "oo6 RSH.AddNe2 RSH. ield,;=room*o=<.V/lue A Te8t5.Te8t RSH. ield,;=room/mt=<.V/lue A 3t
;9 | P a g e

RSH. ield,;=re,/mt=<.V/lue A /mt RSH.)6d/te E*d Sub Pri+/te Sub Comm/*dI:Cli.7;< ,tr A =,ele.t N 1rom bill 20ere room*oA9= O ormJ.Te8t5.Te8t O =9= C%N.Co**e.tio*Stri*3 A =d,*Are3i= C%N.%6e* #/t/Re6ort5.S0o2 E*d Sub

Pri+/te Sub orm:A.ti+/te;< Set #- A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< ,Ml A =,ele.t N 1rom RE&ISTRATI%N = Set RS A #-.%6e*Re.ord,et;,Ml? db%6e*#y*/,et< Set db5 A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e<
;; | P a g e

Set RS5 A db5.%6e*Re.ord,et;=re3i,tr/tio*=? db%6e*#y*/,et< Set #-H A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RSH A #-H.%6e*Re.ord,et;=bill=? db%6e*#y*/,et< Set db3 A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set r,3 A db3.%6e*Re.ord,et;=.ou,tomer=? db%6e*#y*/,et< Set db4 A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e<

RS.Mo+e ir,t 40ile RS.E% LF True Combo3.AddItem RS. ield,;=3ue,t */me=<.V/lue RS.Mo+eNe8t 4e*d Combo3.Cle/r Combo4.Cle/r
;> | P a g e

"/belI.C/6tio* A orm/t;No2? = mKdKyy=< E*d Sub Pri+/te Sub r/me5:#r/3#ro6;Sour.e A, Co*trol? @ A, Si*3le? ' A, Si*3le< E*d Sub Pri+/te Sub Te8t5:KeyPre,,;KeyA,.ii A, I*te3er< I1 ;KeyA,.ii L 6I %r KeyA,.ii F D5< A*d ;KeyA,.ii L DE %r KeyA,.ii F 5H3< T0e* KeyA,.ii A 0 E*d I1 E*d Sub Pri+/te Sub Te8tI:KeyPre,,;KeyA,.ii A, I*te3er< I1 ;KeyA,.ii L 6I %r KeyA,.ii F D5< A*d ;KeyA,.ii L DE %r KeyA,.ii F 5H3< T0e* KeyA,.ii A 0 E*d I1
>@ | P a g e

E*d Sub Pri+/te Sub Te8tE:KeyPre,,;KeyA,.ii A, I*te3er< I1 KeyA,.ii F IE %r KeyA,.ii L 4J T0e* KeyA,.ii A 0 E*d I1 E*d Sub

>1 | P a g e

>. | P a g e

Publi. .tr? /? b A, I*te3er #im #- A, #/t/b/,e #im RS A, Re.ord,et Pri+/te Sub Comm/*d5:Cli.7;< RS.Mo+e ir,t 40ile RS.E% LF True I1 Te8t5 A RS. ield,;=),er Id=<.V/lue A*d Te8tH A RS. ield,;=),er 6/,, .ode=<.V/lue T0e* I1 Te8t3.Te8t A Te8t4.Te8t T0e* RS.Edit RS. ield,;=u,er 6/,, .ode=<.V/lue A Te8t4.Te8t RS.)6d/te .tr A 5 E*d I1 E*d I1 RS.Mo+eNe8t 4e*d I1 .tr A 0 T0e*

>/ | P a g e

b A M,3-o8;=T0e 6/,,2ord you ty6ed do *ot m/t.0?Ty6e t0e *e2 6/,,2ord i* bot0 te8t bo8e,=? +bE8.l/m/tio*? =C0/*3e 6/,,2ord=< E*d I1 I1 .tr A 5 T0e* / A M,3-o8;='our 6/,,2ord 0/, bee* .0/*3ed=< E*d I1 I1 / A 5 T0e* Me.$ide orm3.S0o2 E*d I1 E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub Comm/*d3:Cli.7;< E*d
>0 | P a g e

E*d Sub Pri+/te Sub Comm/*d4:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub orm:"o/d;< .tr A 0 Te8t5.Te8t A ormH.Te8t3.Te8t Set #- A %6e*#/t/b/,e;=C:BPR%CB#-5.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=6/,,.ode=? db%6e*#y*/,et< E*d Sub Pri+/te Sub r/me5:#r/3#ro6;Sour.e A, Co*trol? @ A, Si*3le? ' A, Si*3le< E*d Sub

>1 | P a g e

>5 | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub orm:"o/d;< E*d Sub

>9 | P a g e

>; | P a g e

Publi. C%N A, Ne2 A#%#-.Co**e.tio* Publi. .o*5 A, Ne2 A#%#-.Co**e.tio* Publi. #-H A, #/t/b/,e Publi. RSH A, Re.ord,et Publi. RS A, Re.ord,et Publi. #- A, #/t/b/,e Publi. ,tr? ,tr5 A, Stri*3 Publi. .tr A, I*te3er Pri+/te Sub Combo5:Cli.7;< RS.Mo+e ir,t 40ile RS.E% A /l,e I1 Combo5.Te8t A RS. ield,;=room*o=<.V/lue T0e* Te8tJ.Te8t A RS. ield,;=.%u,t*o=<.V/lue Te8tD.Te8t A RS. ield,;=.%u,t*o=<.V/lue E*d I1 RS.Mo+eNe8t 4e*d E*d Sub
>> | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< RSH.Mo+e ir,t 40ile RSH.E% A /l,e Combo5.Te8t A RSH. ield,;=room:*o=<.V/lue Combo5.AddItem ;Combo5.Te8t< RSH.Mo+eNe8t 4e*d 9ComboH.Vi,ible A /l,e 9r, ,.AddNe2 9r,. ield,;=bill*o=<.V/lue A Te8tJ 9r,. ield,;=*o o1 3ue,t=<.V/lue A Te8t5 9r,. ield,;=/ddre,,=<.V/lue A Te8t3 9r,. ield,;=.itybelo*3,=<.V/lue A Te8tI 9r,. ield,;=room*o=<.V/lue A Te8tE 9r,. ield,;=tot/l=<.V/lue A orm5H.Te8tJ 9r,.)6d/te 9Te8tJ A == 9Te8t5 A ==9 9Te8t3 A == 9Te8tI A ==
1@@ | P a g e

9Te8tE A == E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< ,tr A =,ele.t N 1rom .%u,tomer 20ere room*oA9= O orm55.Combo5.Te8t O =9= C%N.Co**e.tio*Stri*3 A =Pro+iderAMi.ro,o1t.Cet.%"E#-.3.I5PPer,i,t Se.urity I*1oA /l,eP#/t/ Sour.eAC:BPR%CBre3i.mdb= C%N.%6e* orm5I.S0o2 E*d Sub Pri+/te Sub Comm/*d3:Cli.7;< C%N.Clo,e E*d Sub

Pri+/te Sub Comm/*d4:Cli.7;< ,tr5 A =,ele.t N 1rom .%u,tomer 20ere t/ble*oA= O orm55.Te8t5.Te8t
1@1 | P a g e

9.tr A 5 .o*5.Co**e.tio*Stri*3 A =Pro+iderAMi.ro,o1t.Cet.%"E#-.3.I5PPer,i,t Se.urity I*1oA /l,eP#/t/ Sour.eAC:BPR%CBre3i.mdb= .o*5.%6e* #/t/Re6ort4.S0o2

E*d Sub Pri+/te Sub Comm/*dI:Cli.7;< .o*5.Clo,e E*d Sub Pri+/te Sub Comm/*d6:Cli.7;< Me.$ide orm6.S0o2 E*d Sub Pri+/te Sub orm:"o/d;<

1@. | P a g e

.tr A 0 Set #-H A %6e*#/t/b/,e;=C:BPR%CBRE&I.mdb=? /l,e? /l,e< Set RSH A #-H.%6e*Re.ord,et;=RE&ISTRATI%N=? db%6e*#y*/,et< Set #- A %6e*#/t/b/,e;=C:BPR%CBRE&I.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=.ou,tomer=? db%6e*#y*/,et< E*d Sub

1@/ | P a g e

1@0 | P a g e

#im tm? C A, "o*3 #im I? r A, I*te3er Publi. #- A, #/t/b/,e Publi. #-H A, #/t/b/,e Publi. RS A, Re.ord,et Publi. RSH A, Re.ord,et #im db5 A, #/t/b/,e #im RS5 A, Re.ord,et Publi. ,tr A, Stri*3 Pri+/te Sub Combo5:Cli.7;< RS5.Mo+e ir,t 40ile RS5.E% A /l,e I1 Combo5.Te8t A RS5. ield,;=item:*/me=<.V/lue T0e* Te8tE.Te8t A RS5. ield,;=item:6ri.e=<.V/lue E*d I1 RS5.Mo+eNe8t 4e*d E*d Sub

1@1 | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< 9St/ti. I? C A, I*te3er 9r,H.AddNe2 9r,H. ield,;=.u,t*o=<.V/lue A orm5H.Te8t5 9r,H.)6d/te 9R A INP)T-%@ 9Set RS A #-.%6e*Re.ord,et;=SE"ECT N R%M C%)ST%MER 4$ERE C%)STN%A= O r? db%6e*#y*/,et< RS.AddNe2 RS. ield,;=.ou,t*o=<.V/lue A Te8t5 RS. ield,;=,*o=<.V/lue A orm6.,* orm6.,* A orm6.,* G 5 I1 ComboH.Vi,ible A True T0e* RS. ield,;=room*o=<.V/lue A ComboH.Te8t E*d I1 I1 Te8tH.Vi,ible A True T0e* RS. ield,;=t/ble*o=<.V/lue A V/l;Te8tH.Te8t<
1@5 | P a g e

E*d I1 RS. ield,;=item.ode=<.V/lue A Te8tI.Te8t RS. ield,;=Mu/*tity=<.V/lue A V/l;Te8t6.Te8t< RS. ield,;=6ri.e=<.V/lue A V/l;Te8tE.Te8t< RS. ield,;=item*/me=<.V/lue A Combo5.Te8t RS. ield,;=/mou*t=<.V/lue A V/l;Te8tE.Te8t< N V/l;Te8t6.Te8t< RS.)6d/te E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< 9 orm55.Te8tE A orm5H.ComboH.Te8t 9 orm55.Te8t5 A orm5H.Combo3.Te8t 9 orm55.Te8tD A orm5H.Te8t5 orm55.S0o2 9,tr A =,ele.t N 1rom .u,tomer 20ere .u,t *oA9= O orm55.Te8tD.Te8t O =9= 9.o*.Co**e.tio*Stri*3 A =d,*Are3i= 9.o*.%6e* 9#/t/Re6ort3.S0o2 E*d Sub
1@9 | P a g e

Pri+/te Sub Comm/*d3:Cli.7;< 9Te8t4.Vi,ible A True Te8tH.Vi,ible A True "/bel4.Vi,ible A True ComboH.Vi,ible A /l,e "/belJ.Vi,ible A /l,e 9Te8t4.Set o.u, 9r,.Edit 9r,. ield,;=t/ble*o=<.V/lue A Te8tH.Te8t 9r,.)6d/te 9r,.Mo+e ir,t 940ile r,.E% A /l,e 9Combo3.Te8t A r,. ield,;=t/ble*o=<.V/lue 9Combo3.AddItem ;Combo3.Te8t< 9r,.Mo+eNe8t 94e*d E*d Sub Pri+/te Sub Comm/*d4:Cli.7;<
1@; | P a g e

Te8tH.Vi,ible A /l,e ComboH.Vi,ible A True "/belJ.Vi,ible A True 9Combo3.Vi,ible A /l,e Te8tH.Vi,ible A /l,e "/bel4.Vi,ible A /l,e RSH.Mo+e ir,t 40ile RSH.E% A /l,e ComboH.Te8t A RSH. ield,;=room *o=<.V/lue ComboH.AddItem ;ComboH.Te8t< RSH.Mo+eNe8t 4e*d E*d Sub Pri+/te Sub Comm/*dI:Cli.7;< Me.$ide orm6.S0o2 E*d Sub

1@> | P a g e

Pri+/te Sub Comm/*d6:Cli.7;< Me.$ide orm3.S0o2 E*d Sub Pri+/te Sub orm:"o/d;< CA0 Set #- A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RS A #-.%6e*Re.ord,et;=.ou,tomer=? db%6e*#y*/,et< Set #-H A %6e*#/t/b/,e;=C:BPR%CBre3i.mdb=? /l,e? /l,e< Set RSH A #-H.%6e*Re.ord,et;=re3i,tr/tio*=? db%6e*#y*/,et< Set db5 A %6e*#/t/b/,e;=C:BPR%CBme*u.mdb=? /l,e? /l,e< Set RS5 A db5.%6e*Re.ord,et;=re,me*u5 =? db%6e*#y*/,et<
11@ | P a g e

"/belI.C/6tio* A orm/t;No2? = mKdKyy=< "/bel5H.C/6tio* A orm/t;No2? =0:m=< IA5 rAH E*d Sub Pri+/te Sub Te8tI:Key#o2*;KeyCode A, I*te3er? S0i1t A, I*te3er< I1 KeyCode A 53 T0e* Combo5.Cle/r RS5.Mo+e ir,t 40ile RS5.E% A /l,e I1 Te8tI.Te8t A RS5. ield,;=item:id=<.V/lue T0e* Combo5.Te8t A RS5. ield,;=item:*/me=<.V/lue Combo5.AddItem ;Combo5.Te8t< E*d I1 RS5.Mo+eNe8t 4e*d E*d I1 E*d Sub
111 | P a g e

11. | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub orm:"o/d;< E*d Sub

11/ | P a g e

110 | P a g e

Pri+/te Sub Comm/*d5:Cli.7;< Me.$ide M#I orm5.S0o2 E*d Sub Pri+/te Sub "/belJ:Cli.7;< E*d Sub

111 | P a g e

115 | P a g e

#im C%N A, Ne2 A#%#-.Co**e.tio* #im RS A, Ne2 A#%#-.Re.ord,et Pri+/te Sub Comm/*d5:Cli.7;< RS.Mo+e ir,t Te8t5.Te8t A RS. ield,;=&)ESTNAME=<.V/lue Te8tH.Te8t A RS. ield,;=R%%MN%=<.V/lue Te8t3.Te8t A RS. ield,;=A##RESS=<.V/lue Te8t4.Te8t A RS. ield,;=CIT'=<.V/lue Te8tI.Te8t A RS. ield,;=#ATE=<.V/lue Te8t6.Te8t A RS. ield,;=R%%MS=<.V/lue Te8tE.Te8t A RS. ield,;=C$ECKIN=<.V/lue Te8tJ.Te8t A RS. ield,;=C$ECK%)T=<.V/lue Te8tD.Te8t A RS. ield,;=S)-SCRIPTI%N=<.V/lue E*d Sub Pri+/te Sub orm:"o/d;<

119 | P a g e

C%N.Co**e.tio*Stri*3 A =Pro+iderAMi.ro,o1t.Cet.%"E#-.3.I5PPer,i,t Se.urity I*1oA /l,eP#/t/ Sour.eAC:BPR%CBre3i.mdb= C%N.%6e* RS.%6e* =SE"ECT N R%M RE&ISTRATI%N=? C%N? /d%6e*Key,et? /d"o.7Pe,,imi,ti. E*d Sub Pri+/te Sub r/me5:#r/3#ro6;Sour.e A, Co*trol? @ A, Si*3le? ' A, Si*3le< E*d Sub

11; | P a g e

11> | P a g e

#im #- A, #/t/b/,e #im RS A, Re.ord,et

Pri+/te Sub Comm/*d5:Cli.7;< RS.Mo+e ir,t I1 RS.-% A True T0e* M,3-o8 = )R %N T$E IRST REC%R#= Comm/*d5.E*/bled A /l,e El,e Te8t5.Te8t A RS. ield,;=R%%MN%=<.V/lue Te8tH.Te8t A RS. ield,;=TA-"EN%=<.V/lue Te8t3.Te8t A RS. ield,;=SN%=<.V/lue Te8t4.Te8t A RS. ield,;=C%)STN%=<.V/lue Te8tI.Te8t A RS. ield,;=AM%)NT=<.V/lue Te8t6.Te8t A RS. ield,;=ITEMNAME=<.V/lue Te8tE.Te8t A RS. ield,;=PRICE=<.V/lue Te8tJ.Te8t A RS. ield,;=Q)ANTIT'=<.V/lue Te8tD.Te8t A RS. ield,;=ITEMC%#E=<.V/lue E*d I1
1.@ | P a g e

E*d Sub Pri+/te Sub Comm/*dH:Cli.7;< RS.Mo+eNe8t I1 RS.E% A True T0e* M,3-o8 =) R %N T$E "AST REC%R#= RS.Mo+e"/,t El,e Te8t5.Te8t A RS. ield,;=R%%MN%=<.V/lue Te8tH.Te8t A RS. ield,;=TA-"EN%=<.V/lue Te8t3.Te8t A RS. ield,;=SN%=<.V/lue Te8t4.Te8t A RS. ield,;=C%)STN%=<.V/lue Te8tI.Te8t A RS. ield,;=AM%)NT=<.V/lue Te8t6.Te8t A RS. ield,;=ITEMNAME=<.V/lue Te8tE.Te8t A RS. ield,;=PRICE=<.V/lue Te8tJ.Te8t A RS. ield,;=Q)ANTIT'=<.V/lue Te8tD.Te8t A RS. ield,;=ITEMC%#E=<.V/lue E*d I1

1.1 | P a g e

E*d Sub Pri+/te Sub Comm/*d3:Cli.7;< RS.Mo+e"/,t Te8t5.Te8t A RS. ield,;=R%%MN%=<.V/lue Te8tH.Te8t A RS. ield,;=TA-"EN%=<.V/lue Te8t3.Te8t A RS. ield,;=SN%=<.V/lue Te8t4.Te8t A RS. ield,;=C%)STN%=<.V/lue Te8tI.Te8t A RS. ield,;=AM%)NT=<.V/lue Te8t6.Te8t A RS. ield,;=ITEMNAME=<.V/lue Te8tE.Te8t A RS. ield,;=PRICE=<.V/lue Te8tJ.Te8t A RS. ield,;=Q)ANTIT'=<.V/lue Te8tD.Te8t A RS. ield,;=ITEMC%#E=<.V/lue E*d Sub Pri+/te Sub Comm/*d4:Cli.7;< RS.Mo+ePre+iou, I1 RS.-% A True T0e* M,3-o8 = ) R %N T$E IRST REC%R#= RS.Mo+e ir,t El,e
1.. | P a g e

Te8t5.Te8t A RS. ield,;=R%%MN%=<.V/lue Te8tH.Te8t A RS. ield,;=TA-"EN%=<.V/lue Te8t3.Te8t A RS. ield,;=SN%=<.V/lue Te8t4.Te8t A RS. ield,;=C%)STN%=<.V/lue Te8tI.Te8t A RS. ield,;=AM%)NT=<.V/lue Te8t6.Te8t A RS. ield,;=ITEMNAME=<.V/lue Te8tE.Te8t A RS. ield,;=PRICE=<.V/lue Te8tJ.Te8t A RS. ield,;=Q)ANTIT'=<.V/lue Te8tD.Te8t A RS. ield,;=ITEMC%#E=<.V/lue E*d I1 E*d Sub Pri+/te Sub Comm/*dI:Cli.7;< orm3.S0o2 Me.$ide E*d Sub Pri+/te Sub orm:"o/d;< Set #- A %6e*#/t/b/,e;=C:BPR%CBRE&I.M#-=< Set RS A #-.%6e*Re.ord,et;=C%)ST%MER=? db%6e*#y*/,et< E*d Sub

1./ | P a g e

BIBLIOGRAPH
( !4! B##O4 A2! B!!* 2!$H '4!%'" )* &AO)*B ( )4 P$#S!C( P$#B$A&&)*B )* 2)4'A" BA4)C 3Black book K &A4(!$)*B 2)4'A" BA4)C 5 3!+angelos Petroutsos

1.0 | P a g e

You might also like