You are on page 1of 44

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

CONTENTS
CHAPTER NO
1. 1.1. 1.2. 1.3. 1.4. 2.

TITLE
INTRODUCTION Overview of Project Organization profile System configuration Software features

PAGE.NO.
2 5 6 7

SYSTEM STUDY 2.1 2.2 Existing System Proposed System 12 12

3.

SYSTEM ANALYSIS 3.1. 3.2. Data Flow Diagram Entity Relationship Diagram 13 15

4.

SYSTEM DESIGN 4.1. 4.2. 4.3. Table Design Input Design Output Design 17 20 21

5.

SYSTEM TESTING AND IMPLEMENTATION 5.1. 5.2. 5.3. 5.4. 5.5. System Testing Unit Testing Number egration Testing Validation Testing System Implementation 22 22 22 23 23 24 25

6. 7.

SCOPE FOR FUTHER ENHANCEMENT CONCLUSION

BIBLIOGRAPHY APPENDIX A.Screenshot B.Sample coding

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

1. NUMBER RODUCTION

1.1 OVER VIEW OF PROJECT


The project entitled ePROPERTY PROPERTY MANAGEMENT SYSTEM is created by using Visual Basic. is done to automate the manually done processes of the organization. eProperty is an Estate Agent and Property Management System is a user friendly contact and property manager for real estate professionals. Save time and sell more by empowering to easily keep track of leads, manage listings, and market to new prospects.

 The organization can easily retrieve the details anytime.  Less time consuming.  Easy Access and Data Redundancy Support. Estate Agent / Property Management System eProperty is complete end to end solution to cover all aspects of Estate Agent day to day activity and Property buying selling procedure for small and large organization.

The basic objective of developing this project is: y Manumber ain client details line contact details, required property details, client type like residential and commercial client. Price limit. Preference.

Manumber ain property details, registration of property for sale includes property address, property description, price, facilities available. Store property floor plan, property documents. Creation of thumbnail of property images for brochure.

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

System has powerful logical access management in place, each user must be identified by login id and strict password policy is applied to secure the system

Generate property thumbnail and details in html file to send client via email.

Todays life is improved as machine life, so the customer likes to save the time and expenditure.The company can make their works safe and easier by this project. The project is been planned to provide all the features which will support the needs of the concern. The proposed system is framed in such a way that it overcomes all the problems and adds more features to the system. Hence the company details been manumber ained up-to-date. In this Project contained modules as,

Master Modules
Master module is developed to manumber ain property registration, floor plan and property images, manumber ain property document, client registration, vendor registration solicitor details, and user management. y y y y y y y y y y Property Registration Property Document Floor Plan and Property Images Client Registration Vendor Registration Solicitor Master Login Main Menu User Master Change Password

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

Transaction Modules
Transaction module is developed to perform various activities like match property with clients, manumber ain history for.. Send email. y y y y y y y y y y y y y Match client with properties Match Property with clients Property History Client History Vendor History Offer Letter Offer Acceptance Letter Confirmation Agent Outgoing Phone Incoming Phone/ Enquiry Apponumber ment Diary / Set apponumber ment Property Thumbnail

Search / Query Module


Search and Query module is used for the user, supervisor and management of Property Management System. The search and query module will include the following features: y y Search Module Extensive Search

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

1.2 ORGANIZATION PROFILE

Mandatory fields:-

Company Name: Proprietor or Director: General manager: Address:

Brindhavan Nagar M.Velu M.Velu 27, Kuppuchetti St, Madhapuram, Palipalayam, Namakkal Dt, Erode 638 006.

Mobile: Email Id: Year:

9842621515 brindhavanreal@gmail.com 2002

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

1.3 SYSTEM CONFIGURATION

HARDWARE CONFIGURATION

Processor Clock speed Memory Size Hard disc Floppy disk drive CDROM drive Display Keyboard

: Pentium IV : 2625.8 MHZ : 512 MB DDRAM : 80 GB : 1.44 MB : 52X 32 CDROM drive : 15 Color : HCL 107 keys + 18 buttons

SOFTWARE CONFIGURATION

Operating system Front-End Back-End

: Windows XP : Visual Basic 6.0 : SQL Server 2000

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

1.4 SOFTWARE FEATURES

VISUAL BASIC 6.0:

Visual Basic (VB) is the third-generation event-driven programming language and number egrated development environment (IDE) from Microsoft for its COM programming model. VB is also considered a relatively easy to learn and use programming language, because of its graphical development features and BASIC heritage.

Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user number erface (GUI) applications, access to databases using Data Access Objects, Remote and Data Objects, or ActiveX Data Objects, and creation

of ActiveX controls

objects. Scripting

languages such

as VBA and VBScript are

syntactically similar to Visual Basic, but perform differently.

A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.

Like the BASIC programming language, Visual Basic was designed to be easy to learn and use. The language not only allows programmers to create simple GUI applications, but can also develop complex applications. Programming in VB is a combination of visually arranging components or controls on a form, specifying attributes and actions of those components, and writing additional lines of code for more functionality. Since default attributes and actions are defined for the components, a simple program can be created without the programmer having to write many lines of code.

Forms are created using drag-and-drop techniques. A tool is used to place controls (e.g., text boxes, buttons, etc.) on the form (window). Controls have attributes and event 7

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

handlers associated with them. Default values are provided when the control is created, but may be changed by the programmer. Many attribute values can be modified during run time based on user actions or changes in the environment, providing a dynamic application. By inserting code number o the event handler for a keypress in a text box, the program can automatically translate the case of the text being entered, or even prevent certain characters from being inserted.

Visual Basic can create executables (EXE files), ActiveX controls, DLL files, but is primarily used to develop Windows applications and to number erface database systems. Dialog boxes with less functionality can be used to provide pop-up capabilities. Controls provide the basic functionality of the application, while programmers can insert additional logic within the appropriate event handlers.

Alternatively, a Visual Basic component can have no user number erface, and instead provide ActiveX objects to other programs via Component Object Model (COM). This allows for server-side processing or an add-in module.

The language is garbage collected using reference counting, has a large library of utility objects, and has basic object oriented support. Since the more common components are included in the default project template. Visual Basic is generally not case sensitive, although it will transform keywords number o a standard case configuration and force the case of variable names to conform to the case of the entry within the symbol table entry. String comparisons are case sensitive by default, but can be made case insensitive if so desired.

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

SQL SERVER (RDBMS)

SQL SERVER is one of the leading database management systems (DBMS) because it is the only Database that meets the uncompromising requirements of todays most demanding information systems. From complex decision support systems (DSS) to the most rigorous online transaction processing (OLTP) application, even application that require simultaneous DSS and OLTP access to the same critical data, SQL Server leads the industry in both performance and capability

SQL SERVER is a truly portable, distributed, and open DBMS that delivers unmatched performance, continuous operation and support for every database.

SQL SERVER RDBMS is high performance fault tolerant DBMS which is specially designed for online transactions processing and for handling large database application.

SQL SERVER with transactions processing option offers two features which contribute to very high level of transaction processing throughput, which are

The row level lock manager

Enterprise wide Data Sharing The unrivaled portability and connectivity of the SQL SERVER DBMS enables all the systems in the organization to be linked number o a singular, number egrated computing resource.

Portability SQL SERVER is fully portable to more than 80 distinct hardware and operating systems platforms, including UNIX, MSDOS, OS/2, Macnumber osh and dozens of proprietary platforms. This portability gives complete freedom to choose the database sever platform that meets the system requirements.

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

Open Systems SQL SERVER offers a leading implementation of industry standard SQL. SQL Servers open architecture number egrates SQL SERVER and non SQL SERVER DBMS with industries most comprehensive collection of tools, application, and third party software products SQL Servers Open architecture provides transparent access to data from other relational database and even non-relational database.

Distributed Data Sharing SQL Servers networking and distributed database capabilities to access data stored on remote server with the same ease as if the information was stored on a single local computer. A single SQL statement can access data at multiple sites. You can store data where system requirements such as performance, security or availability dictate.

Unmatched Performance The most advanced architecture in the industry allows the SQL SERVER DBMS to deliver unmatched performance.

Sophisticated Concurrency Control Real World applications demand access to critical data. With most database Systems application becomes contention bound which performance is limited not by the CPU power or by disk I/O, but user waiting on one another for data access . SQL Server employs full, unrestricted row-level locking and contention free queries to minimize and in many cases entirely eliminates contention wait times.

10

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

No I/O Bottlenecks SQL Servers fast commit groups commit and deferred write technologies dramatically reduce disk I/O bottlenecks. While some database write whole data block to disk at commit time, SQL Server commits transactions with at most sequential log file on disk at commit time, On high throughput systems, one sequential writes typically group commit multiple transactions. Data read by the transaction remains as shared memory so that other transactions may access that data without reading it again from disk. Since fast commits write all data necessary to the recovery to the log file, modified blocks are written back to the database independently of the transaction commit, when written from memory to disk.

11

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

2. SYSTEM STUDY
2.1 EXISTING SYSTEM

Data's would be missed in manual work. For example if to have the manumber ain expenses of the lorries, the staff has to enter only in notes. This is possible and easy in cause of few entries but in case of huge amount of entries, this becomes complex and may lead to mistakes. Manually manumber ain the systems have number of drawbacks such as     Wastage of manpower. Poor accuracy Time consumption is high Difficult to retrieve data when needed

2.2. PROPOSED SYSTEM:


User friendly To avoid paperwork Quick reference and understandable Processing time must be increased.

The drawbacks of the existing system are studied and the requirements for the proposed system are gathered. The needs and requirements of the proprietor are gathered and analyzed. The system requirements and specification are analyzed. Problem statements are analyzed and solutions are formulated for the proposed system. The present functioning of the organization is analyzed and the defects and remedies are figured out.

12

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

3. SYSTEM ANALYSIS

3.1. DATA FOLW DIAGRAM

DFD 0 Level Diagram

Administrator eproperty Login Form Authorized User


Display eproperty mdi form

Login

DFD 1 Level Diagram(Match Property with Client) Get property type

Get property detail

Matching

Authorized User
Property master

Get client detail


Client Master

13

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

DFD 2 Level Diagram(Client Registration)

Authorized User

Client detail

Client master

Client type

DFD 3 Level Diagram (Property Registration)

Vendor master

Authorized User

Property detail

Property type

Property master

14

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

DFD 4 Level Diagram (Search Record)

Authorized User

finding
Property master

Vendor master

Client master

DFD 5 Level Diagram (User Security) Update password

Change password

retrieve

Authorized User

Login

Add new user

Choose passwor d

retrieve

15

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

3.2 ENTITY RELATIONSHIP DIAGRAM

Cli refno

name

mobile

name

Ven refno

type

address

Client master

trans actio n

Vendor master

surname

address Cli type Mail id protype


Sellin g

&bu

1
Pro refn o

n
Property master Prodetai l

proarea

protype

1
classific view ing

1
clirefno apponumber ment venrefno

telephon e date appstat 16

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

4. SYSTEM DESIGN
4.1 TABLE DESIGN

Client Master Columns


Title Name Second name Address Mobile Email id Cli refno Postal code

Datatype
Varchar(10) Varchar(20) Varchar(10) Varchar(50) Number(15) Varchar(15) Number(5) Number(6)

Allow Nulls
Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed

Property Master Columns


Pro type Pro ref Prop addr Venname Tena name Phone Classify

Datatype
Varchar(20) Number(5) Varchar(50) Varchar(10) Varchar (10) Number (15) Varchar(15)

Allow Nulls
Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed

17

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

Vendor Master Columns


Ven refno First name Second name Build no Address Mobile Email id Extra

Datatype
Number (5) Varchar(10) Varchar(10) Varchar(5) Varchar(50) Number (15) Varchar(20) Varchar(20)

Allow Nulls
Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed

Solicitor Master Columns


Soc refno First name Sec name Mobile Address Build no Email id

Datatype
Number(5) Varchar(10) Varchar(10) Number (15) Varchar(50) Number (5) Varchar(20)

Allow Nulls
Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed

18

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

Apponumber ment Columns


Apponumber mentType Apponumber mentwithName Apponumber mentNo ClientRefNo PropRefNo VenderRefNo Apponumber mentStatus Date Time

Datatype
Varchar(10) Varchar(10) Number (5) Number (5) Number (5) Number (5) Varchar(10) Date time

Allow Nulls
Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed

User Columns
User name Password

Datatype
Varchar(10) Varchar(10)

Allow Nulls
Not allowed Not allowed

19

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

4.2. INPUT DESIGN

Input design is one of the most important phases of the system design. Input design is the process where the input received in the system are planned and designed, so as to get necessary information from the user, eliminating the information that is not required. The aim of the input design is to ensure the maximum possible levels of accuracy and also ensures that the input is accessible that understood by the user. The input design is the part of overall system design, which requires very careful attention. if the data going number o the system is incorrect then the processing and output will magnify the errors.

The objectives considered during input design are: y y y y Nature of input processing. Flexibility and thoroughness of validation rules. Handling of properties within the input documents. Screen design to ensure accuracy and efficiency of the input relationship with files. y Careful design of the input also involves attention to error handling, controls, batching and validation procedures.

Input design features can ensure the reliability of the system and produce result from accurate data or they can result in the production of erroneous information.

20

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

4.3 OUTPUT DESIGN

Output design is very important concept in the computerized system, without reliable output the user may feel the entire system is unnecessary and avoids using it. The proper output design is important in any system and facilitates effective decision-making. The output design of this system includes various reports. Computer output is the most important and direct source of information the user. Efficient, number elligible output design should improve the systems relationships with the user and help in decision making. A major form of output is the hardcopy from the prnumber er. Output requirements are designed during system analysis. A good starting ponumber for the output design is the data flow diagram. Human factors reduce issues for design involved addressing number ernal controls to ensure readability. An application is successful only when it can provide efficient and effective reports. Reports are actually presentable form of the data. The report generation should be useful to the management for future reference. The report is the main source of information for users operators and management. Report generated are a permanent record of the transaction occurred. After any valid transactions; have commenced the report of the same are generations and filed for future reference. Great care has been taken when designation the report as it plays an important role in decision-marking.

21

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

5. SYSTEM TESTING AND IMPLEMENTATION


5.1 System Testing:
System testing of software or hardware is testing conducted on a complete, Number egrated system to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no Knowledge of the inner design of the code or logic.

5.2 Unit Testing:


In computer programming, unit testing is a software verification and validation method in which a programmer tests if individual units of source code are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual function or procedure.

5.3 Number egration Testing:


The entire project was split number o small program; each of these single programs gives a frame as an output. These programs were tested individually; at last all these programs where combined together by creating another program where all these constructors were used. It give a lot of problem by not functioning is an number egrated manner.

The user number erface testing is important since the user has to declare that the arrangements made in frames are convenient and it is satisfied. When the frames where given for the test, the end user gave suggestion. Based on their suggestions the frames where modified and put number o practice.

22

ePROPERTY-PROPERTY MANAGEMENT SYSTEM 5.4 Validation Testing:


At the culmination of the black box testing software is completely assembled as a package. Number erfacing errors have been uncovered and corrected and a final series of test i.e., Validation succeeds when the software function in a manner that can be reasonably accepted by the customer.

5.5 System Implementation:


The purpose of System Implementation can be summarized as follows: It making the new system available to a prepared set of users (the deployment), and positioning on-going support and manumber enance of the system within the Performing Organization (the transition). At a finer level of detail, deploying the system consists of executing all steps necessary to educate the Consumers on the use of the new system, placing the newly developed system number o production, confirming that all data required at the start of operations is available and accurate, and validating that business functions that number eract with the system are functioning properly. Transitioning the system support responsibilities involves changing from a system development to a system support and manumber enance mode of operation, with ownership of the new system moving from the Project Team to the Performing Organization. System implementation is the important stage of project when the theoretical design is tuned number o practical system.

23

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

6. SCOPE FOR FURTHER ENHANCEMENT


This system is very flexible so that the maintenance and further amendments based on the changing environment and requirements can be made easily. Any change that leads to the system failures is prevented with security measures.

This project is mainly supported for multi user environment. That is more than one user can simultaneously. The system developed should be secured and protected against all possible hazards.

24

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

7. CONCLUSION
The world of computers is not static. It is always subject to change. The technology today will become outdated the very next day. To keep the technological improvements the system need refinements, so it is concluded, it will be improved for further enhancements, whenever the user needs an additional feature number o it. The project title ePROPERTY PROPERTY MANAGEMENT SYSTEM for BRINDHAVAN NAGAR is developed successfully from mostly all the modules. This system satisfies all the requirements of the company and the application is developed by advanced software VB which is widely used in all applications. The system was tested with all possible samples of data and the performance of the system proves much effective and the data maintenance and manipulation is achieved practically.

25

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

BIBLIOGRAPHY
1. Elias M.Awad, System Analysis and Design Galgotia Publications Pvt. ltd, 1997, Second Edition 2. Richard Fairly, Software Engineering, McGraw-Hill, international Edition. 3. John Paul Meller, The Complete Reference VB 6.0. 4. VB Reference Book Material integrity Solutions

WEBSITES: 1. WWW.Wikipedia.com 2. WWW.vb123.com

26

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

APPENDIX
SCREEN SHOTS:

LOGIN FORM:

MATCH PROPERTY

27

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

PROPERTY MASTER

28

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

CLIENT HISTORY

29

ePROPERTY-PROPERTY MANAGEMENT SYSTEM

VENDOR MASTER

30

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


APPONUMBER MENTS

31

ePROPERTY-PROPERTY MANAGEMENT SYSTEM SAMPLE CODING:


Option Explicit Dim Rs As New ADODB.Recordset Dim TempRs As New ADODB.Recordset

Private Sub Check1_Click() If Check1.Value = 1 Then Picture1(9).BackColor = vbGreen Else Picture1(9).BackColor = vbRed End If End Sub

Private Sub Check2_Click() If Check2.Value = 1 Then Picture1(10).BackColor = vbGreen Else Picture1(10).BackColor = vbRed End If End Sub

Private Sub Check3_Click() If Check3.Value = 1 Then Picture3(3).BackColor = vbGreen Else Picture3(3).BackColor = vbRed End If End Sub

Private Sub Check4_Click() If Check4.Value = 1 Then Picture3(6).BackColor = vbGreen 32

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


Else Picture3(6).BackColor = vbRed End If End Sub

Private Sub Check5_Click() If Check5.Value = 1 Then Picture3(8).BackColor = vbGreen Else Picture3(8).BackColor = vbRed End If End Sub

Private Sub Combo1_Click() If Rs.State = 1 Then Rs.Close Rs.Open "select * from propertymaster where proprefno = " & Val(Combo1.Text), db, adOpenStatic, adLockReadOnly

If Rs.RecordCount > 0 Then If UCase(Combo6.Text) = "RESIDENTIAL" Then Frame3.Visible = True Frame4.Visible = False End If If UCase(Combo6.Text) = "COMMERCIAL" Then Frame4.Visible = True Frame3.Visible = False End If Frame2.Visible = True Call Displayrecord Else Call ClearText Frame3.Visible = False 33

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


Frame4.Visible = False Frame2.Visible = False MsgBox "No Record Found, Select Property REference No. from the List.", vbExclamation, "No Record found" End If End Sub

Private Sub Combo1_KeyDown(KeyCode As Number eger, Shift As Number eger) If KeyCode = 13 Then Combo1_Click End If End Sub

Private Sub Combo2_Change() If Len(Combo2.Text) > 0 Then Picture1(0).BackColor = vbGreen Else Picture1(0).BackColor = vbRed End If End Sub

Private Sub Combo2_Click() If Len(Combo2.Text) > 0 Then Picture1(0).BackColor = vbGreen Else Picture1(0).BackColor = vbRed End If End Sub

Private Sub Combo3_Change() If Len(Combo3.Text) > 0 Then Picture1(1).BackColor = vbGreen Else Picture1(1).BackColor = vbRed 34

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


End If End Sub

Private Sub Combo3_Click() If Len(Combo3.Text) > 0 Then Picture1(1).BackColor = vbGreen Else Picture1(1).BackColor = vbRed End If End Sub

Private Sub Combo4_Change() If Len(Combo4.Text) > 0 Then Picture1(2).BackColor = vbGreen Else Picture1(2).BackColor = vbRed End If End Sub

Private Sub Combo4_Click() If Len(Combo4.Text) > 0 Then Picture1(2).BackColor = vbGreen Else Picture1(2).BackColor = vbRed End If End Sub

Private Sub Combo5_Change() If Len(Combo5.Text) > 0 Then Picture1(11).BackColor = vbGreen Else Picture1(11).BackColor = vbRed End If End Sub 35

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


Private Sub Combo6_Click() Call ClearText Frame2.Visible = False Frame3.Visible = False Frame4.Visible = False If UCase(Combo6.Text) = "RESIDENTIAL" Or UCase(Combo6.Text) = "COMMERCIAL" Then Dim trec As Number eger Dim i As Number eger If TempRs.State = 1 Then TempRs.Close TempRs.Open "select * from propertymaster where propertytype = " & "'" & Combo6.Text & "'" & " order by proprefno", db, adOpenStatic, adLockReadOnly

Combo1.Clear If TempRs.RecordCount > 0 Then TempRs.MoveLast trec = TempRs.RecordCount For i = 0 To trec - 1 TempRs.MoveFirst TempRs.Move i Combo1.AddItem TempRs(0) Next End If Else MsgBox "Type or Select Property Type either Residential or Commercial", vbInformation, "Client Type" End If End Sub

Private Sub Combo6_KeyDown(KeyCode As Number eger, Shift As Number eger) If KeyCode = 13 Then Combo6_Click End If 36

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


End Sub

Private Sub Combo7_Change() If Len(Combo7.Text) > 0 Then Picture3(0).BackColor = vbGreen Else Picture3(0).BackColor = vbRed End If End Sub

Private Sub Combo8_Change() If Len(Combo8.Text) > 0 Then Picture3(2).BackColor = vbGreen Else Picture3(2).BackColor = vbRed End If End Sub

Private Sub Combo9_Change() If Len(Combo9.Text) > 0 Then Picture3(5).BackColor = vbGreen Else Picture3(5).BackColor = vbRed End If End Sub

Private Sub Command1_Click() Set Com = Combo1 Load FrmFindProperty FrmFindProperty.Show 1 Combo1_Click End Sub

Private Sub Command3_Click() 37

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


'reset 'Dim i As Number eger 'For i = 0 To Picture1.Count - 1 ' Picture1(i).BackColor = vbRed

'Next If Frame3.Visible = False And Frame4.Visible = False Then MsgBox "Nothing Available for Reset, Select a Client for the Match.", vbExclamation, "Select Client" Exit Sub End If

If Rs.State = 1 Then Rs.Close Rs.Open "select * from propertymaster where proprefno = " & Val(Combo1.Text), db, adOpenStatic, adLockReadOnly

If Rs.RecordCount > 0 Then Call Displayrecord Else MsgBox "No Record Found, Select Property Reference No. from the List.", vbExclamation, "No Record found" End If End Sub

Private Sub Command4_Click() 'On Error Resume Next If Frame3.Visible = False And Frame4.Visible = False Then MsgBox " Exit Sub End If Select a Property for the Match. ", vbExclamation, "Select Property"

Dim TempRs As New ADODB.Recordset Dim TempRsPM As New ADODB.Recordset If Option2.Value = True Then Picture1(0).BackColor = vbGreen 38

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


Picture1(1).BackColor = vbGreen Picture1(2).BackColor = vbGreen If TempRs.State = 1 Then TempRs.Close TempRs.Open "select * from clientmaster where price <= " & Val(Text19.Text) & " and typeprop = " & "'" & Combo2.Text & "' and partprop = " & "'" & Combo3.Text & "' and county = " & "'" & Combo4.Text & "'", db, adOpenStatic, adLockReadOnly

If TempRs.RecordCount > 0 Then

Else MsgBox "Sorry, No Match Found try with some outher condition" End If End If Dim SqlStr1 As String Dim i As Number eger Dim op1 As String Dim Ch As Boolean

'If Option3.Value = True Then If Frame3.Visible = True Then 'residential search For i = 0 To Picture1.Count - 1 If Picture1(i).BackColor = vbGreen Then Ch = True Exit For End If Next If Ch = False Then MsgBox "Type or Select the Search Value", vbExclamation, "Enter Search Value" Exit Sub End If

op1 = " And " 'concat conditions

39

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


If Picture1(0).BackColor = vbGreen Then SqlStr1 = SqlStr1 & "typeprop = " & "'" & Combo2.Text & "'" If Picture1(1).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "partprop = " & "'" & Combo3.Text & "'" End If If Picture1(2).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "town = " & "'" & Combo4.Text & "'" End If If Picture1(3).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "floorno = " & Val(Text11.Text) End If If Picture1(4).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "roomno = " & Val(Text12.Text) End If If Picture1(5).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "recpno = " & Val(Text14.Text) End If If Picture1(6).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "bathno = " & Val(Text15.Text) End If If Picture1(7).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "toiletno = " & Val(Text16.Text) End If If Picture1(8).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "garage = " & "'" & Text18.Text & "'" End If 40

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


If Picture1(9).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "nearschool = " & "'" & CStr(Check1.Value) & "'" End If If Picture1(10).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "neartube = " & "'" & CStr(Check2.Value) & "'" End If If Picture1(11).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "whichline = " & "'" & Combo5.Text & "'" End If

If Picture4.BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & " pricelimit <= " & Val(Text19.Text) End If SqlStr1 = "Select * from clientmaster where " & SqlStr1 End If If Frame4.Visible = True Then 'commercial serach condition For i = 0 To Picture3.Count - 1 If Picture3(i).BackColor = vbGreen Then Ch = True Exit For End If Next If Ch = False Then MsgBox "Type or Select the Search Value", vbExclamation, "Enter Search Value" Exit Sub End If

op1 = " And " 'concat conditions

41

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


If Picture3(0).BackColor = vbGreen Then SqlStr1 = SqlStr1 & "typeprop = " & "'" & Combo7.Text & "'" If Picture3(1).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "partprop = " & "'" & Text8.Text & "'" End If If Picture3(2).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "city = " & "'" & Combo8.Text & "'" End If If Picture3(3).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "locknew = " & Check3.Value End If If Picture3(4).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "ternover = " & Val(Text9.Text) End If If Picture3(5).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "peryear = " & "'" & Combo9.Text & "'" End If If Picture3(6).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "accomadation = " & Check4.Value End If If Picture3(7).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "roomno = " & Val(Text10.Text) End If If Picture3(8).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "longlease = " & "'" & CStr(Check5.Value) & "'" End If 42

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


If Picture3(9).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "leaseyear = " & Val(Text17.Text) End If If Picture3(10).BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & "rent = " & Val(Text20.Text) End If

If Picture4.BackColor = vbGreen Then If SqlStr1 <> "" Then SqlStr1 = SqlStr1 & op1 SqlStr1 = SqlStr1 & " pricelimit <= " & Val(Text19.Text) End If SqlStr1 = "Select * from clientmaster where " & SqlStr1 End If If TempRsPM.State = 1 Then TempRsPM.Close TempRsPM.Open SqlStr1, db, adOpenStatic, adLockReadOnly

If TempRsPM.RecordCount > 0 Then TempRsPM.MoveLast 'more than one records Dim trec As Number eger Dim TFld As Number eger 'Dim i As Number eger Dim j As Number eger TempRsPM.MoveLast trec = TempRsPM.RecordCount Mf1.Rows = trec + 1 TFld = TempRsPM.Fields.Count Mf1.Cols = TFld

Mf1.Row = 0 For j = 0 To TFld - 1 Mf1.Col = j 43

ePROPERTY-PROPERTY MANAGEMENT SYSTEM


Mf1.Text = TempRsPM.Fields(j).Name Next

For i = 1 To trec TempRsPM.MoveFirst TempRsPM.Move i - 1 Mf1.Row = i For j = 0 To TFld - 1 Mf1.Col = j If j = 15 Or j = 16 Or j = 17 Or j = 22 Or j = 23 Or j = 24 Or j = 26 Or j = 28 Then If TempRsPM(j) = 1 Then Mf1.Text = "Yes" Else Mf1.Text = "No" End If Else Mf1.Text = TempRsPM(j) End If Next Next Else MsgBox "Sorry No Match Found, Try Some Outher Conditions", vbExclamation, "No Match" End If End Sub

44

You might also like