163
INTRODUCTON t is a known that computer make life easy for us. However, another fact that is equally important and significant is that computers by themselves are not intelligent. They have to be instructed or rather ‘programmed’ to perform the task that we want them to. Over the years, several programming languages have been developed to help the programmers to get the computer to perform the r equired tasks. While the programming languages have been varied in terms of the keywords they have, and the way in which they are written, the basic approach to writing a program has more or less the same. I Keeping this mind, we have designed this project to equip you with the skills required to build the skeleton of a program using coding and query under VISUAL BASIC 6.0 and ORACLE 8i. While designing this project, we have identified the topics that are required to  build the strong foundation that a users need. 1

Complite Project of Reliance Life Insurence

Embed Size (px)

Citation preview

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 1/163

INTRODUCTON

t is a known that computer make life easy for us. However, another fact that

is equally important and significant is that computers by themselves are not

intelligent. They have to be instructed or rather ‘programmed’ to perform the

task that we want them to. Over the years, several programming languages have been

developed to help the programmers to get the computer to perform the required tasks.

While the programming languages have been varied in terms of the keywords they

have, and the way in which they are written, the basic approach to writing a program

has more or less the same.

I

Keeping this mind, we have designed this project to equip you with the skills

required to build the skeleton of a program using coding and query under VISUAL

BASIC 6.0 and ORACLE 8i.

While designing this project, we have identified the topics that are required to

 build the strong foundation that a users need.

1

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 2/163

OBJECTIVE OF THE PROJECT

This is project is mainly designed to keep all the information of life insurance system. All

the information will be stored in the database so that all the information can be retrieved further.

This project will help to issue the reports like plan detail, policy details, client details and the

 payment details. This project provides the user interface that helps the user to store the information

easily. This is basically designed for a particular branch.

2

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 3/163

TOOLS

ANDPLATFROM

PLATFORM:-

3

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 4/163

 Windows 98/XP

LANGUAGE USED:-

Front end – VB 6.0

Back end-- Oracle 8i

 HARDWARE & SOFTWARE REQUIREMENT:-

Processor:-PIII -800 MHZ

Ram:-128

Operating System: - Win 98/XP

Why Visual Basic 6.0?

  Microsoft Visual Basic, the fastest and easiest way to create applications for Microsoft

Windows. Whether you are an experienced professional or brand new to -windows programming.

Visual Basic provides you with a complete set of tools to simplify rapid application development

(RAD).

So what is Visual Basic? The “Visual” part refers to the method used to create the graphical user 

interface (GUI). Rather then writing numerous lines of code to describe the appearance and location

of interface elements, you simply add pre-built objects into place on screen. If you’ve ever used a

drawing program such as Paint, you already have most of the skills necessary to create an effective

user interface.

The “Basic” part refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code)

language, a language used by more programmers than any other language in the history of 

computing. Visual Basic has evolved from the original BASIC language and now contains several

hundred statements, functions, and keywords, many of which relate directly to the Windows GUI.

4

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 5/163

Beginners can create useful application by learning just a few of the keywords, yet the

language allows professionals to accomplish anything that can be accomplished using any other 

Windows programming language.

The Visual Basic programming language is not unique to Visual Basic. The Visual Basic

 programming system, Applications Edition included in Microsoft Excel, Microsoft Access, and

many other Windows applications user the same language. The Visual Basic Scripting Edition

(VBScript) is a widely used scripting language and a subnet of the Visual Basic language. The

investment you make in learning Visual Basic will carry over to these other areas.

Whether your goal is to create a small utility for yourself or your work group, a large enterprise-

wide system, or even distributed applications spanning the globe via the Internet, Visual Basic has

tools you need.

• Data access features allow you to create databases, front-end application, and scalable

server-side components for most popular database formats, including Microsoft SQL Server 

and other enterprise-level databases.

• ActiveX technologies allow you to the functionality provided by other applications, such as

Microsoft Word word processor, Microsoft Excel spreadsheet, and other windows

applications. You can even automate applications and objects created using the Professional

or enterprise editions of Visual Basic.

• Internet capabilities make it easy to provide access to documents and applications across the

Internet or intranet from within your application, or to create Internet server applications.

• Your finished application is true .exe file that uses a Visual Basic Virtual Machine that you

can freely distribute.

5

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 6/163

Visual Basic Editions

Visual Basic is available in three versions, each geared to meet a specific set of development

requirements.

• The Visual Basic Learning edition allows programmers to easily create powerful

applications for Microsoft Windows and Windows NT. It includes all intrinsic controls,

 plus grid , tab , data –bound controls.

• The professionals edition provides computer professionals with a full-featured set of tools

for developing solutions for others. It includes all the features of the Learning edition, plus

additional ActiveX controls, the Internet Information Server Application Designer,

integrated Visual Databases Tools and data Environment, Active Data Objects, and

Dynamic HTML Page Designer.

• The Enterprise edition allows professional to create robust distributed applications in a team

setting. It includes all the features of the Professional edition, plus Back Office tools such as

SQL Server, Microsoft Transaction Server, Internet Information server, Visual SourceSafe,

SNA Server , and more

6

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 7/163

• .

ORACLE

Oracle includes full featured and government certified implementation of the ANSI/ISO standard

SQL language. The Oracle server can be an active part of the applications enforcing data integrity

and business rules through declarative means (that is without programming) as well as through the

industry's most complex and robust set of programming features, such as stored procedures and

triggers. Oracle7 also includes industrial strength database facilities enabling enterprise- wide

access to data, no matter where it is stored or on what kind of platforms.

Last but not least, Oracle? maximum the performance and reliability of on-line transaction

 processing applications through a range of architectural features such as row-level locking, on-line

 backup and recovery and support for a wide variety of platforms.

All businesses large and small must manage the company data in a fashion that business to run

smoothly some businesses might use file cabinet to manage their data but most choose to use

computerized database management systems that efficiently store, retrieve and manage large

amount of data.

Oracle7 is a multi-user database management system - a software product that specializes in

managing a single, shared set of information among concurrent users.

Oracle is a comprehensive operating environment that provides a set of functional programs that

can be used as tools to build structures and perform tasks. Because applications developed on

Professional Oracle are completely portable to other versions of the program. We can create a

complex application in a single user environment and then move it to multi-user platform.

In Oracle, all data is stored and displayed in tables. A table consists of columns and of rows. A

view, referred to as virtual table is a derived table that cam be created for purposes of display while

7

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 8/163

the table while the tables they are derived from are called base tables. A view can be a

combination of two base tables or a subset of one base table.

Because Oracle is a relational system, we connect the data stored in various table to increase its

usefulness and to avoid duplication. Selection is the process of producing a new table consisting of 

a set of rows from another table that match certain specified criteria. Projection is the process of 

creating a table from set of columns from another's table that match certain criteria. A join produces

a new table that is the union of all rows in two tables less any duplicate rows.

At the core the Oracle is SQL, which stands for structured query language. SQL is the language that

is used to communicate with Oracle. It consists of a set of common English words, such as 'Select

and 'Create' which can be arrange din a highly structured commands and statements in order to

access and manipulate data stored in a relational database.

The standard set of SQL commands fall into fan categories. Data Definition Language (DOL)

commands are for creating and altering the structure of the database. Data manipulation language

(DML) commands are for adding and modifying data. Data control language (DCL) commands are

for controlling access to the database. Finally, query commands are used to extract information

from the database.

Oracle Environment:-

Oracle is a modular system that consists of the Oracle database and several functional programs.

These components can be viewed as tool; each has a special purpose and can be accessed and used

independently.

Oracles tool do four major kinds of work:

Database management

Data base access and manipulation

8

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 9/163

Programming

Connectivity

Database Management Tools :- This category includes the core programs of the Oracle database

management system: the Oracle database with its associate tables and views, which are stored in

Oracles data dictionary and a group of house keeping utilities listed in table.

The data dictionary is Oracle control documentation system. It stores information related to every

facet of the database system. User names user access rights table names, table attribute names, table

storage information and auditing data for disaster recovery are all stored in the data dictionary. A

data dictionary can be either active or passive. Oracle data dictionary is active, meaning that the

system automatically updates the dictionary in 'real time' that is, as changes are made. The Oracle

database programs then reference the data dictionary as required.

Data Access And Manipulation tools :-

All of Oracle data access and manipulation tools have one thing in common; they are firmly based

on ANSI standard SQL. This programs on the gateway to Oracle, the tool that will be used to be

access and manipulate data, as well as to design or to use applications, each provides a separate

 point of entry and a unique approach to the Oracle system. SQL * Plus allows direst access to

database with SQL commands. SQL * forms offer a user friendly way to and to use forms. SQL *

reports writer can be used to create formatted output. SQL * menu provides a way to integrate

application using menus.

SQL*Plus :- SQL * Plus is the main direct access interface to. the oracle relational DBMS. For 

DBA's, high level system developer or others who want to go straight to the heart if the oracle

DBMS, SQL * Plus is the right path. the program provides a full implementation of ANSI standard

9

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 10/163

SQL, plus an assortment of extension that can be used when strict standardization is not

required. With SQL * Plus, we can Query our database and perform data definition, data

manipulation, and data control operation. Extensive online help is also available.

SOL * Forms :- SQL * Forms provides a convenient method for non experts to query a data base

and update, delete or add information. Its form driven, query by example approach is boom for 

users not familiar with the SQL language.

For more knowledgeable users, SQL * Forms offers application building software's that is must for 

those building screens. Driven application or using a forms driven interface to Oracle. With this

advance tool, we can create, design, generate and run a sophisticated forms for accessing the

database.

SOL * Report Writer :- SQL .Report Writer is a menu driven formatting tool that uses SQL to

create professional looking reports and other merged specialty output, such as form letters.

SOL * Menu :- SQL .Menu is an advanced non procedural tool for integrating different Oracle

function and forms into a menu driven system. With SQL .Menu, developers can what features to

include, instead of on how to create menus.

Additional Access Tools :- There are a few additional means of accessing an Oracle database that

are either packed separately from or are not yet available in some version like SQL .Cale and

Oracle for 1-2-3.

Programming Tools :- One of the most important categories of the tools available from Oracle is

its series pro plus programming interface these pre-compilers software tools provide convenient and

is easy to use method of incorporating Oracle SQL statements in high level programming language.

10

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 11/163

Using these products we can run a supported high level procedure language merged with SQL

data language statements through pre- compiler, which converts the SQL statements into that

languages native code so that they can be competed normally. Currently, users of Oracle can

interface with Cobol, C, Fortran, PL/I, Ada. And Pascal, with C' being the most popular among this.

Connectivity Tools :- Connectivity tools make Oracle available to networks and to other database

managers. SQL .Star is a group of product including SQL .Net and SQL .Connect that allows the

user to use data stored on remote machine as' if they are available locally.

a) Security and control :- Oracle has several features that ensures integrity of the database. If an

interruption occurs in processing, a roll back can reset the database to a point before the disaster. If 

a restore is necessary, Oracle has a roll forward command for recreating the database to its most

recent safe point.

Oracle provides users with several function for securing data. Grant and Revoke command limit

access to information down to the row and column levels. Views are a valuable feature for limiting

access to the primary tables in the database.

b) Competitiveness :- Oracle consists of routines that quickly and automatically calculate the best

 path to the data, and sophisticated fast indexing routines. Oracle unique clustering techniques for 

storing data on the disk are another performance gain.

Additional function help control complex database installations. The active data dictionaries, which

automatically update and log modifications to the database, provide documentation. A variety of 

auditing commands and journaling ease errors detection and tracking tasks. Database table,

 partition, and space altering " on the fly eliminates cumbersome data offloading and loading from

the modification process.

c) Applications Development :- SQL * Forms is an excellent user friendly tool for quickly

11

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 12/163

creating forms. Oracle provides unique control device called triggers to influence users action

on field before, during and after data input. These triggers can execute SQL commands, native SQL

* Forms. Or External procedural language subroutines from within a form.

With SQL * Menu we can link all forms, programs, queries in an easily maintained, secure menu

structure.

12

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 13/163

DATA

FLOWDIGRAM

13

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 14/163

CONTEXT LEVEL DFD OR LEVEL-0

14

RELIANCE

LIFEINSURANC

E

USER 

CLIENT

SALES MANAGER 

ADVISER 

CLAIM

POLICY

PAYMENT

PLAN

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 15/163

LEVEL-1 DFD

15

GO FOR 

1.

LOGI

 N

2.

INSURANC

E

CLIENTGO FOR 

CLIENT

3.

SALES

MANAGER 

4.

ADVISER 

5.

PLAN

POLICY

INSURANCE

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 16/163

LEVEL-2 DFD

16

Logins

Response

Requests

USER  LOGIN

1.

INSURANCE

S

CLIENT

CLIENT

INSURANCE

CLAIM

2.

SALES

MANAGER 

INSURANCE

3.

ADVISER 

ADVISER 

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 17/163

ENTITY RELATIONSHIP

DIGRAM

17

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 18/163

18

Insurance

Adviser 

SalesManager 

Client

Plan

Policy

Cust_Id

 Name

Adv_Id

Policy_No

Addr  _npo

Plan_No Insures

Plan_No

Policy_N

o

Cnt_Id

Adv_I

d Name

Sm_Id

Adv_I

d

 Name

Sm_I

d

Wor ks

Unde

Plan_N

o

Plan_Type

Plan dure.

Plan_Detail

Plan_No

Policy_N

o

Duration

Ins_No

Wor 

ksfor 

Pla

n

P

ol

icy

A

S

CPrimum

durection

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 19/163

19

Claim

Payment

Address

C

AS

Location

Pin

Address

Pin_Code

City

State

Add_No

Ins_No

P_Mode

P_date

Chk_No

Bnk_Name

Transactio

n

Pmm

Policy_No

Cl_amt

Cl_date

Claim_n

o

Claim

Cl

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 20/163

DATA

DICTIONARY 

DATA DICTIONARY

20

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 21/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 22/163

8. CREATE TABLE PAYMENT ( CNT_ID VARCHAR2(10), PLC_NO

VARCHAR2(10), PMT_MODE VARCHAR2(20), PMT_TYPE VARCHAR2(10),

PREMIUM NUMBER, PMT_DATE DATE,NEXT_DATE DATE, NO NUMBER, BANK 

VARCHAR2(30));

9. CREATE TABLE CLAIM ( CLAIM_NO VARCHAR2(10), PLC_NO VARCHAR2(10),

CLAIM_DATE DATE, CAUSE VARCHAR2(3), NOM_ID VARCHAR2(10),

CLAIM_AMT NUMBER(7,2));

22

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 23/163

SOURCECODE

23

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 24/163

PROPERTY OF LOGIN FORM

Caption = "Reliance Life Insurance"

ClientHeight = 3975

ClientLeft = 8595

ClientTop = 4095

ClientWidth = 4380

Icon = "FRMLOGIN.frx":0000

LinkTopic = "Form1"

ScaleHeight = 3975

ScaleWidth = 4380

CommandButton cmdguest

Height = 615

Left = 600

MouseIcon = "FRMLOGIN.frx":0442

MousePointer = 99 'Custom

Picture = "FRMLOGIN.frx":0594

Style = 1 'Graphical

TabIndex = 6

ToolTipText = "View the website of Reliance Life

Insure"

END

TextBox txtuid

Height = 315

Left = 2340

TabIndex = 2

24

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 25/163

END

TextBox txtpass

Height = 315

IMEMode = 3 'DISABLE

Left = 2340

PasswordChar = "*"

TabIndex = 3

END

Label lblLabels

BackStyle = 0 'Transparent

Caption = "Password:"

END

Label lblLabels

BackStyle = 0 'Transparent

Caption = "User Name:"

END

CommandButton cmdCancel

Cancel = -1 'True

Height = 615

Left = 3120

MouseIcon = "FRMLOGIN.frx":0A1F

MousePointer = 99 'Custom

Picture = "FRMLOGIN.frx":0B71

Style = 1 'Graphical

TabIndex = 5

25

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 26/163

ToolTipText = "Cancel to Abort"

END

CommandButton command1

Default = -1 'True

MouseIcon = "FRMLOGIN.frx":10F1

MousePointer = 99 'Custom

Picture = "FRMLOGIN.frx":1243

Style = 1 'Graphical

TabIndex = 4

ToolTipText = "Click to submit"

END

ComboBox cbotype

Height = 315

Left = 1560

TabIndex = 1

END

Label lblgest

Caption = "Guest"

END

Label Label4

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "OK"

END

Label Label3

26

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 27/163

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "Cancel"

END

Line Line1

X1 = 0

X2 = 5160

Y1 = 960

Y2 = 960

END

Label Label2

BackStyle = 0 'Transparent

Caption = "Enter as"

END

Label Label1

BackStyle = 0 'Transparent

Caption = "Specify option for enterring in

Reliance life insurance and enter

password,Specify User name for Users."

END

Image Image1

Height = 720

Left = 480

Picture = "FRMLOGIN.frx":17B5

END

27

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 28/163

PROGRAM CODE

Private Sub cmdCancelClick()

MsgBox "Are u realy want to quit", vbYesNo

Unload Me

END Sub

Private Sub cmdguestClick()

frminfo.Show

END Sub

Private Sub Command1Click()

Set rs = New ADODB.Recordset

If cbotype.Text = "BRANCH MANAGER" Then

sql = "select bmid,pass from BM where bmid="

sql = sql + "'" & txtuid.Text & "' and pass='" &

txtpass.Text & "'"

rs.Open sql, cn, adOpENDynamic, adLockReadOnly

If rs.EOF = True Then

MsgBox "User Id or Password is not correct,Try again"

Else

Call BranchManager

Unload Me

frmmain.Show

END If

28

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 29/163

ElseIf cbotype.Text = "SALES MANAGER" Then

sql = "select mgrid,pass,fname+' '+mname+' '+lname as

name from manager where mgrid="

sql = sql + "'" & txtuid.Text & "' and pass='" &

txtpass.Text & "'"

rs.Open sql, cn, adOpENDynamic, adLockReadOnly

identity = txtuid.Text

nm = "Welcome" + rs.Fields("name").Value

If rs.EOF = True Then

MsgBox "User Id or Password is not correct,Try again"

Else

Call SalesManager

Unload Me

frmmain.Show

END If

ElseIf cbotype.Text = "ADVISER" Then

sql = "select advid,pass,pass,fname+' '+mname+' '+lname

as name from adviser where advid="

sql = sql + "'" & txtuid.Text & "' and pass='" &

txtpass.Text & "'"

rs.Open sql, cn, adOpENDynamic, adLockReadOnly

identity = txtuid.Text

nm = "Welcome" + rs.Fields("name").Value

If rs.EOF = True Then

MsgBox "User Id or Password is not correct,Try again"

Else

Call Adviser

29

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 30/163

Unload Me

frmmain.Show

END If

ElseIf cbotype.Text = "CUSTOMER" Then

sql = "select cntid,pass from client where cntid="

sql = sql + "'" & txtuid.Text & "' and pass='" &

txtpass.Text & "'"

rs.Open sql, cn, adOpENDynamic, adLockReadOnly

If rs.EOF = True Then

MsgBox "User Id or Password is not correct,Try again"

Else

Call BranchManager

Unload Me

frmmain.Show

END If

END If

Exit Sub

END Sub

Private Sub FormLoad()

cbotype.AddItem "BRANCH MANAGER"

cbotype.AddItem "SALES MANAGER"

cbotype.AddItem "ADVISER"

Call DatabaseConnection

END Sub

30

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 31/163

PROPERTY OF INFO FORM

Caption = "RELIANCE LIFE INSURANCE"

ClientHeight = 7095

ClientLeft = 5085

ClientTop = 2280

ClientWidth = 10335

Icon = "frminfo.frx":0000

LinkTopic = "Form1"

ScaleHeight = 7095

ScaleWidth = 10335

WindowState = 2 'Maximized

SHDocVwCtl.WebBrowser webHeight = 9975

Left = 270

TabIndex = 0

Top = 720

Width = 14745

ExtentX = 26009

ExtentY = 17595

RegisterAsDropTarget= 1

ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"

END

Label Label2

Caption = "Exit"

END

Label Label1

Caption = "Back"

MousePointer = 14 'Arrow and QuestionND

END

31

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 32/163

PROGRAM CODE

Private Sub FormClick()

Unload Me

login.Show

END Sub

Private Sub FormLoad()

web.Navigate (App.Path & "\Reliance Life Insurance Company in

India Life Protection Plans Reliance Insurance

Policies in India.htm")

END Sub

Private Sub Label1Click()

web.Navigate (App.Path & "\Reliance Life Insurance Company in

India Life Protection Plans Reliance Insurance

Policies in India.htm")

END Sub

Private Sub Label2Click()

Unload Me

login.Show

END Sub

32

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 33/163

PROPERTY OF MAIN FORM

Caption = "RELIANCE LIFE INSURENCE"

ClientHeight = 9630

ClientLeft = 4485

ClientTop = 1515

ClientWidth = 12060

Icon = "frmmain.frx":0000

LinkTopic = "MDIForm1"

Picture = "frmmain.frx":0442

WindowState = 2 'Maximized

Menu new

Caption = "&New"

Menu sm

Caption = "Sales Manager"

END

Menu adv

Caption = "&Adviser"

END

Menu plan

Caption = "plan"

END

Menu cust

Caption = "Customer"

END

Menu tran

33

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 34/163

Caption = "Transaction"

Menu pre

Caption = "premium"

END

Menu payclaim

Caption = "pay claim"

END

Menu rpt

Caption = "Report"

Menu clm

Caption = "Claim"

END

Menu plc

Caption = "Policy"

END

Menu rptadv

Caption = "Adviser"

END

Menu rptsm

Caption = "Sales Manager"

END

Menu rptcust

Caption = "Customer"

END

Menu plndtl

34

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 35/163

Caption = "Plan Details"

END

Menu utility

Caption = "Utility"

Menu calc

Caption = "Calculator"

END

Menu nptd

Caption = "Notepad"

END

Menu logoff

Caption = "Log off"

END

Menu exit

Caption = "Exit"

END

35

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 36/163

PROGRAM CODE

Dim tmp As Double

Private Sub advClick()

frmadviser.txtsmid.Text = identity

frmadviser.lblname.Caption = nm

frmadviser.Show

END Sub

Private Sub clmClick()

Set rs = New ADODB.Recordset

sql = "select c.claimno,c.plcno,c.claimamt,c.claimdate,

n.nomniname as name"

sql = sql + " from claim c,nomini n where c.plcno=n.plcno"

rs.Open sql, cn, adOpENDynamic, adLockOptimistic

Set rptclaim.DataSource = rs

rptclaim.Show

END Sub

Private Sub custClick()

frmcustomer.txtadvid.Text = identity

frmcustomer.lbladvid.Caption = nm

frmcustomer.Show

END Sub

Private Sub exitClick()

END

36

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 37/163

END Sub

Private Sub logoffClick()

login.Show 1

Unload Me

END Sub

Private Sub MDIFormLoad()

Call DatabaseConnection

END Sub

Private Sub nptdClick()

Shell App.Path & "\Utility\notepad.exe", vbNormalFocus

END Sub

Private Sub payclaimClick()

claim.Show

END Sub

Private Sub planClick()

frmplan.Show

END Sub

Private Sub plcClick()

Set rs = New ADODB.Recordset

37

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 38/163

rs.Open "select p.*,c.fname+' '+c.mname+' '+c.lname as

name,pl.plcdate from payment p,client c,policy pl where

p.cntid=c.cntid and p.cntid=pl.cntid", cn, adOpENDynamic,

adLockOptimistic

Set rpttransaction.DataSource = rs

rpttransaction.Show

END Sub

Private Sub plndtlClick()

Set rs = New ADODB.Recordset

rs.Open "select * from plan", cn, adOpENDynamic,

adLockOptimistic

Set rptplan.DataSource = rs

rptplan.Show

END Sub

Private Sub preClick()

frmpayment.cmdOK.Visible = False

frmpayment.cmdsave.Visible = True

frmpayment.Show

END Sub

Private Sub rptadvClick()

Set rs = New ADODB.Recordset

rs.Open "select advid,fname+' '+ mname +' ' + lname as

name,phone,mgrid from adviser", cn, adOpENDynamic,adLockOptimistic

Set rptadviser.DataSource = rs

rptadviser.Show

END Sub

38

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 39/163

Private Sub rptcustClick()

Set rs = New ADODB.Recordset

sql = "select c.cntid,c.fname+' '+c.mname +' '+c.lname as

name,p.plcno,"

sql = sql + "p.plcdate,pl.premimum,n.nomniname from clientc,policy p,plan pl,nomini n "

sql = sql + " where c.cntid=p.cntid and p.planno=pl.planno

and p.plcno=n.plcno"

rs.Open sql, cn, adOpENDynamic, adLockOptimistic

Set rptclient.DataSource = rs

rptclient.Show

END Sub

Private Sub rptsmClick()

Set rs = New ADODB.Recordset

rs.Open "select mgrid,fname+' '+ mname +' ' + lname as

name,phone from manager", cn, adOpENDynamic, adLockOptimistic

Set rptsales.DataSource = rs

rptsales.Show

END Sub

Private Sub SMClick()

manegerdetails.Show

END Sub

Private Sub calcClick()

Shell App.Path & "\Utility\calc.exe", vbNormalFocus

END Sub

39

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 40/163

PROPERTY OF  MANAGER DETAILS FORM 

Caption = "RELIANCE LIFE INSURENCE"

ClientHeight = 9315

ClientLeft = 3255

ClientTop = 1215

ClientWidth = 13575

Icon = "Form2.frx":0000

LinkTopic = "Form2"

ScaleHeight = 9315

ScaleWidth = 13575

WindowState = 2 'Maximized

CommandButton cmdadd

Appearance = 0 'Flat

Height = 615

Left = 1800

MaskColor = &H8000000F&

MouseIcon = "Form2.frx":0442

MousePointer = 99 'Custom

Picture = "Form2.frx":0594

Style = 1 'Graphical

TabIndex = 27

ToolTipText = "Add new record"

END

CommandButton cmdsave

Appearance = 0 'Flat

40

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 41/163

Height = 615

Left = 3240

MouseIcon = "Form2.frx":0B72

MousePointer = 99 'Custom

Picture = "Form2.frx":0CC4

Style = 1 'Graphical

TabIndex = 26

ToolTipText = "Save record"

END

CommandButton cmdcancle

Appearance = 0 'Flat

Left = 4800

MouseIcon = "Form2.frx":125C

MousePointer = 99 'Custom

Picture = "Form2.frx":13AE

Style = 1 'Graphical

TabIndex = 25

ToolTipText = "Cancel"

END

Label Label7

Caption = "Add new"

END

Label Label14

Caption = "Save"

END

41

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 42/163

Label Label15

Caption = "Cancle"

END

Frame Frame1

Caption = "MANAGER DETAIL"

TextBox txtsalri

Appearance = 0 'Flat

Height = 375

Left = 6360

TabIndex = 22

END

TextBox txtpass

Appearance = 0 'Flat

Height = 375

Left = 6390

TabIndex = 21

END

TextBox txtphone

Appearance = 0 'Flat

Height = 375

Left = 6390

TabIndex = 19

END

TextBox txtpin

Appearance = 0 'Flat

42

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 43/163

Height = 375

Left = 5520

TabIndex = 18

END

TextBox txtstate

Appearance = 0 'Flat

Height = 375

Left = 5520

TabIndex = 17

END

TextBox txtcity

Appearance = 0 'Flat

Height = 375

Left = 5520

TabIndex = 16

END

TextBox txtadd

Appearance = 0 'Flat

Height = 1305

Left = 1320

MultiLine = -1 'True

ScrollBars = 3 'Both

TabIndex = 12

END

Label Label13

43

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 44/163

Caption = "Pin no"

END Label Label12

Caption = "State"

END

Label Label11

Caption = "City"

END

Label Label10

Caption = "Address"

END

TextBox txtlname

Appearance = 0 'Flat

Left = 1680

TabIndex = 8

END

TextBox txtmname

Appearance = 0 'Flat

Left = 1680

TabIndex = 7

END

TextBox txtfname

Appearance = 0 'Flat

Left = 1680

TabIndex = 6

END

44

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 45/163

TextBox txtmgrid

Appearance = 0 'Flat

Height = 345

Left = 1740

TabIndex = 5

END

Label Label8

Caption = "Salry"

Left = 5070

TabIndex = 23

END

Label Label6

Caption = "Password"

END

Label Label5

Caption = "Phone No."

END

Label Label4

Caption = "Last name"

END

Label Label3

Caption = "Middle name"

END

Label Label2

Caption = "First name"

45

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 46/163

END

Label Label1

Caption = "Sales Manager id"

END

Image Image3

Height = 615

Left = 6000

Picture = "Form2.frx":192E

END

Image Image2

Height = 1230

Left = 3240

Picture = "Form2.frx":2774

END

Image Image1

Height = 1995

Left = 0

Picture = "Form2.frx":421D

END

Label Label12

Caption = "MANAGER FORM"

END

46

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 47/163

PROGRAM CODE

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

txtfname.SetFocus

Call Id

END Sub

Private Sub cmdcancleClick()

Unload Me

END Sub

Private Sub cmdsaveClick()

sql = "Insert into manager values('" & txtmgrid.Text & "','"

& txtfname.Text & "','" & txtmname.Text & "',"

sql = sql + "'" & txtlname.Text & "','" & txtphone.Text &

"','" & txtpass.Text & "')"

If MsgBox("Are sure to Save the records", vbYesNo +vbInformation, "Save") = vbYes Then

cmd.CommandText = sql

cmd.Execute

sql = "Insert into address values('" & txtmgrid.Text &

"','" & txtadd.Text & "',"

47

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 48/163

sql = sql + "'" & txtstate.Text & "','" & txtcity.Text

& "'," & txtpin.Text & ")"

cmd.CommandText = sql

cmd.Execute

MsgBox "Record has been saved successfully"

END If

END Sub

Private Sub FormLoad()

Set rs = New ADODB.Recordset

Set cmd = New ADODB.Command

cmd.ActiveConnection = cn

END Sub

Sub Id()

rs.Open "select mgrid from manager", cn, 0, 2

If rs.EOF = True Then

txtmgrid.Text = "Mgr" & 1

Else

rs.MoveLast

txtmgrid.Text = "Mgr" & Val(Mid(rs.Fields(0), 4,

Len(rs.Fields(0)) - 3)) + 1

END If

rs.Close

END Sub

48

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 49/163

PROPERTY OF PLAN FORM

Caption = "RELIANCE LIFE INSUURANCE"

ClientHeight = 9990

ClientLeft = 4020

ClientTop = 1215

ClientWidth = 13635

Icon = "frmplan.frx":0000

LinkTopic = "Form1"

MDIChild = -1 'True

ScaleHeight = 9990

ScaleWidth = 13635

WindowState = 2 'Maximized

Frame Frame2

Caption = "Commands"

CommandButton cmdclose

Appearance = 0 'Flat

Height = 615

Left = 3840

MouseIcon = "frmplan.frx":0442

MousePointer = 99 'Custom

Picture = "frmplan.frx":0594

Style = 1 'Graphical

TabIndex = 21

END

49

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 50/163

CommandButton cmddel

Appearance = 0 'Flat

Height = 615

Left = 1920

MouseIcon = "frmplan.frx":0B0E

MousePointer = 99 'Custom

Picture = "frmplan.frx":0C60

Style = 1 'Graphical

TabIndex = 1

ToolTipText = "Delete record"

END

CommandButton cmdedit

Appearance = 0 'Flat

Height = 615

Left = 2880

MouseIcon = "frmplan.frx":11AA

MousePointer = 99 'Custom

Picture = "frmplan.frx":12FC

Style = 1 'Graphical

TabIndex = 18

ToolTipText = "Edit record"

END

CommandButton cmdadd

Appearance = 0 'Flat

Height = 615

50

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 51/163

Left = 1080

MaskColor = &H8000000F&

MouseIcon = "frmplan.frx":18A1

MousePointer = 99 'Custom

Picture = "frmplan.frx":19F3

Style = 1 'Graphical

TabIndex = 17

ToolTipText = "Add new record"

END

CommandButton cmdsave

Appearance = 0 'Flat

Height = 615

Left = 1080

MouseIcon = "frmplan.frx":1FD1

MousePointer = 99 'Custom

Picture = "frmplan.frx":2123

Style = 1 'Graphical

TabIndex = 20

ToolTipText = "Save record"

END

Label Label14

Alignment = 2 'Center

BackStyle = 0 'Transparent

END

Label lblnew

51

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 52/163

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "New"

END

Label Label12

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "Edit"

END

Label Label11

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "Delete"

END

Label lblsave

Alignment = 2 'Center

BackStyle = 0 'Transparent

Caption = "Save"

END

ComboBox cboplantype

Appearance = 0 'Flat

Height = 315

Left = 1500

TabIndex = 12

END

52

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 53/163

TextBox txtdesc

Appearance = 0 'Flat

Height = 1665

Left = 1440

MultiLine = -1 'True

ScrollBars = 3 'Both

TabIndex = 9

END

TextBox txtpre

Appearance = 0 'Flat

Left = 1500

TabIndex = 7

END

TextBox txtduration

Appearance = 0 'Flat

Left = 1500

TabIndex = 5

END

TextBox txtplanname

Appearance = 0 'Flat

Left = 1530

TabIndex = 3

END

Label Label8

BackStyle = 0 'Transparent

53

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 54/163

Caption = "Plan Details"

ForeColor = &H00FFFFFF&

END

Label lblplanno

Caption = "Plan No"

END

Label Label6

Caption = "Plan Type"

END

Label Label5

Caption = "Description"

END

Label Label4

Caption = "Premium"

END

Label Label3

Caption = "Duration"

END

Label Label2

Caption = "Plan Name"

END

Label Label1

Caption = "Plan No"

END

54

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 55/163

MSHierarchicalFlexGridLib.MSHFlexGrid grid

Left = 6360

TabIndex = 11

ExtentX = 11986

ExtentY = 11033

Version = 393216

NumberOfBands = 1

Band(0).Cols = 2

END

Image Image5

Left = 7560

Picture = "frmplan.frx":26BB

END

Image Image4

Left = 5640

Picture = "frmplan.frx":292B

END

Image Image3

Left = 5640

Picture = "frmplan.frx":3688

END

Image Image1

Left = 0

Picture = "frmplan.frx":481F

END

55

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 56/163

ROGRAM CODE

Private Sub cmdcloseClick()

Unload Me

END Sub

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

txtplanname.SetFocus

Call PlanNo

cmdsave.Visible = True

lblsave.Visible = True

lblnew.Visible = False

cmdadd.Visible = False

END Sub

Private Sub cmddelClick()

Dim pno As String

pno = InputBox("Enter the plan no to delete the record",

"Delete")

If MsgBox("Do u want to delete the record", vbYesNo +

vbInformation, "Delete") = vbYes Then

56

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 57/163

cmd.CommandText = "Delete from plan where planno='" &

pno & "'"

cmd.ActiveConnection = cn

cmd.Execute

MsgBox "Record has been deleted"

Call disp

END If

END Sub

Private Sub cmdeditClick()

lblplanno.Caption = grid.TextMatrix(grid.RowSel, 1)

txtplanname.Text = grid.TextMatrix(grid.RowSel, 2)

cboplantype.Text = grid.TextMatrix(grid.RowSel, 3)

txtduration.Text = grid.TextMatrix(grid.RowSel, 4)

txtpre.Text = grid.TextMatrix(grid.RowSel, 5)

txtdesc.Text = grid.TextMatrix(grid.RowSel, 6)

cmdedit.Visible = True

END Sub

Private Sub cmdsaveClick()

sql = "Insert into plan values('" & lblplanno.Caption & "','"

& txtplanname.Text & "',"

sql = sql + "'" & cboplantype.Text & "'," & txtduration.Text

& "," & txtpre.Text & ",'" & txtdesc.Text & "')"

If MsgBox("Do u want to save the record", vbOKCancel +

vbInformation, "Save") = vbOK Then

cmd.CommandText = sql

57

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 58/163

cmd.ActiveConnection = cn

cmd.Execute

MsgBox "Record has been saved succefully"

Call disp

END If

cmdadd.Visible = True

lblsave.Visible = False

lblnew.Visible = True

cmdsave.Visible = False

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Set rs = New ADODB.Recordset

Call PlanType

lblsave.Visible = False

Call disp

END Sub

Sub PlanNo()

rs.Open "select planno from plan", cn, adOpENDynamic,

adLockOptimistic

If rs.EOF Then

lblplanno.Caption = "PLT" & 1

Else

rs.MoveLast

58

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 59/163

lblplanno.Caption = "PLT" & Val(Mid(rs.Fields(0), 4,

Len(rs.Fields(0)) - 3)) + 1

END If

rs.Close

END Sub

Sub PlanType()

cboplantype.AddItem "Ulip"

cboplantype.AddItem "Retirement"

cboplantype.AddItem "Aip"

cboplantype.AddItem "General"

cboplantype.AddItem "Tax Saver"

END Sub

Sub disp()

grid.Clear

rs.Open "select * from plan", cn, adOpENDynamic,

adLockOptimistic

Set grid.DataSource = rs

rs.Close

END Sub

59

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 60/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 61/163

Height = 615

Left = 3240

MouseIcon = "frmadviser.frx":0B14

MousePointer = 99 'Custom

Picture = "frmadviser.frx":0C66

Style = 1 'Graphical

TabIndex = 12

ToolTipText = "Save record"

END

CommandButton cmdadd

Appearance = 0 'Flat

Height = 615

Left = 1800

MaskColor = &H8000000F&

MouseIcon = "frmadviser.frx":11FE

MousePointer = 99 'Custom

Picture = "frmadviser.frx":1350

Style = 1 'Graphical

TabIndex = 11

ToolTipText = "Add new record"

END

Label Label15

Caption = "Cancle"

END

Label Label14

61

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 62/163

Caption = "Save"

END

Label Label7

Caption = "Add new"

END

TextBox txtadvid

Appearance = 0 'Flat

Height = 315

Left = 1590

TabIndex = 0

END

TextBox txtfname

Appearance = 0 'Flat

Height = 315

Left = 1560

TabIndex = 1

END

TextBox txtmname

Appearance = 0 'Flat

Height = 315

Left = 1560

TabIndex = 2

END

TextBox txtlname

Appearance = 0 'Flat

62

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 63/163

Left = 1590

TabIndex = 3

END

TextBox txtphone

Appearance = 0 'Flat

Height = 375

Left = 7980

TabIndex = 5

END

TextBox txtadd

Appearance = 0 'Flat

Height = 1575

Left = 1920

MultiLine = -1 'True

ScrollBars = 3 'Both

TabIndex = 7

END

TextBox txtcity

Appearance = 0 'Flat

Height = 370

Left = 7440

TabIndex = 8

END

TextBox txtstate

Appearance = 0 'Flat

63

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 64/163

Height = 370

Left = 7410

TabIndex = 9

END

TextBox txtpin

Appearance = 0 'Flat

Height = 370

Left = 7440

TabIndex = 10

END

Label Label8

Caption = "Address"

END

Label Label9

Caption = "City"

END

Label Label10

Caption = "State"

END

Label Label11

Caption = "Pin no"

END

TextBox txtpass

Appearance = 0 'Flat

Height = 375

64

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 65/163

Left = 7980

TabIndex = 6

END

TextBox txtsmid

Appearance = 0 'Flat

Height = 375

Left = 7950

TabIndex = 4

END

Label Label1

Caption = "Adviser id"

END

Label Label2

Caption = "First name"

END

Label Label3

Caption = "Middle name"

END

Label Label4

Caption = "Last name"

END

Label Label5

Caption = "Phone no"

END

Label Label6

65

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 66/163

Caption = "Password"

END

Label lblmgrid

Caption = "Sales Manager Id"

END

Label Label12

Caption = "ADVISER FORM"

END

Image Image1

Height = 1995

Left = 120

Picture = "frmadviser.frx":192E

END

Label lblname

Caption = "Label7"

END

Image Image2

Height = 1230

Left = 3360

Picture = "frmadviser.frx":47B2

END

66

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 67/163

PROGRAM CODE

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

txtfname.SetFocus

Call Id

frmadviser.txtsmid.Text = identity

END Sub

Sub Id()

rs.Open "select advid from adviser", cn, adOpENDynamic,

adLockOptimistic

If rs.EOF = True Then

txtadvid.Text = "Adv" & 1

Else

rs.MoveLast

txtadvid.Text = "Adv" & Val(Mid(rs.Fields(0), 4,

Len(rs.Fields(0)) - 3)) + 1

END If

rs.Close

END Sub

67

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 68/163

Private Sub cmdcancleClick()

Unload Me

END Sub

Private Sub cmdsaveClick()

sql = "Insert into Adviser values('" & txtadvid.Text & "','"

& txtsmid.Text & "','" & txtfname.Text & "','" &

txtmname.Text & "',"

sql = sql + "'" & txtlname.Text & "','" & txtphone.Text &

"','" & txtpass.Text & "')"

If MsgBox("Are sure to Save the records", vbYesNo +

vbInformation, "Save") = vbYes Then

cmd.CommandText = sql

cmd.Execute

sql = "Insert into address values('" & txtadvid.Text

& "','" & txtadd.Text & "',"

sql = sql + "'" & txtstate.Text & "','" &

txtcity.Text & "'," & txtpin.Text & ")"

cmd.CommandText = sql

cmd.Execute

MsgBox "Record has been saved successfully"

END If

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Set rs = New ADODB.Recordset

cmd.ActiveConnection = cn

END Sub

68

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 69/163

PROPERTY OF  CUSTOMER FORM 

Caption = "RELIANCE LIFE INSURANCE"

ClientHeight = 9225

ClientLeft = 4785

ClientTop = 1215

ClientWidth = 10890

Icon = "frmcustomer.frx":0000

LinkTopic = "Form1"

MDIChild = -1 'True

ScaleHeight = 9225

ScaleWidth = 10890

WindowState = 2 'Maximized

CommandButton cmdadd

Appearance = 0 'Flat

Height = 615

Left = 1800

MaskColor = &H8000000F&

MouseIcon = "frmcustomer.frx":0442

MousePointer = 99 'Custom

Picture = "frmcustomer.frx":0594

Style = 1 'Graphical

TabIndex = 36

ToolTipText = "Add new record"

END

69

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 70/163

CommandButton cmdsave

Appearance = 0 'Flat

Height = 615

Left = 3240

MouseIcon = "frmcustomer.frx":0B72

MousePointer = 99 'Custom

Picture = "frmcustomer.frx":0CC4

Style = 1 'Graphical

TabIndex = 35

ToolTipText = "Save record"

END

CommandButton cmdcancle

Appearance = 0 'Flat

Height = 615

Left = 4800

MouseIcon = "frmcustomer.frx":125C

MousePointer = 99 'Custom

Picture = "frmcustomer.frx":13AE

Style = 1 'Graphical

TabIndex = 34

ToolTipText = "Cancel"

END

Label Label17

Caption = "Add new"

END

70

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 71/163

Label Label16

Caption = "Save"

END

Label Label15

Caption = "Cancle"

END

TextBox txtpass

Appearance = 0 'Flat

Height = 300

Left = 7320

TabIndex = 10

END

TextBox txtoccu

Appearance = 0 'Flat

Height = 300

Left = 7320

TabIndex = 8

END

TextBox txtfatname

Appearance = 0 'Flat

Height = 300

Left = 7320

TabIndex = 7

END

MSMask.MaskEdBox txtdob

71

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 72/163

Height = 315

Left = 1920

TabIndex = 5

ExtentX = 4366

ExtentY = 556

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

END

TextBox txtadvid

Appearance = 0 'Flat

Left = 1920

TabIndex = 1

END

TextBox txtphone

Appearance = 0 'Flat

Left = 6960

TabIndex = 6

END

TextBox txtedu

Appearance = 0 'Flat

Left = 6960

TabIndex = 9

72

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 73/163

END

TextBox txtpin

Appearance = 0 'Flat

Height = 300

Left = 7650

TabIndex = 15

END

TextBox txtstate

Appearance = 0 'Flat

Height = 300

Left = 7620

TabIndex = 14

END

TextBox txtcity

Appearance = 0 'Flat

Height = 300

Left = 7620

TabIndex = 13

END

TextBox txtadd

Appearance = 0 'Flat

Height = 1860

Left = 990

MultiLine = -1 'True

ScrollBars = 3 'Both

73

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 74/163

TabIndex = 12

END

Label Label13

Caption = "Pin No."

END

Label Label12

Caption = "State"

END

Label Label11

Caption = "City"

END

TextBox txtcustid

Appearance = 0 'Flat

Left = 1920

TabIndex = 0

END

TextBox txtfname

Appearance = 0 'Flat

Left = 1920

TabIndex = 2

END

TextBox txtmname

Appearance = 0 'Flat

Left = 1920

TabIndex = 3

74

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 75/163

END

TextBox txtlname

Appearance = 0 'Flat

Height = 300

Left = 1920

TabIndex = 4

END

Label Label14

Caption = "Date Of Birth"

END

Label Label7

Caption = "Adviser Id"

END

Label Label5

Caption = "Phone No"

END

Label lblpassword

Caption = "Password"

END

Label Label10

Caption = "Education"

END

Label Label8

Caption = "Occupation"

END

75

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 76/163

Label Label6

Caption = "Father name"

END

Label Label1

Caption = "Client Id"

END

Label Label2

Caption = "First Name"

END

Label Label3

Caption = "Middle Name"

END

Label Label4

Caption = "Last Name"

END

END

Image Image1

Height = 720

Left = 960

Picture = "frmcustomer.frx":192E

END

Label Label18

Caption = "CLIENT DETAILS"

END

Label lbladvid

76

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 77/163

Caption = "Label15"

END

Image Image2

Height = 1230

Left = 4200

Picture = "frmcustomer.frx":268B

END

77

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 78/163

PROGRAM CODE

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

txtfname.SetFocus

Call Id

frmcustomer.txtadvid.Text = identity

END Sub

Private Sub cmdCancelClick()

Unload Me

END Sub

Private Sub cmdcancleClick()

Unload Me

END Sub

Private Sub cmdsaveClick()

sql = "Insert into client values('" & txtcustid.Text & "','"

& txtadvid.Text & "','" & txtfname.Text & "',"

78

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 79/163

sql = sql + "'" & txtmname.Text & "','" & txtlname.Text & "','"

& Format(txtdob.Text, "dd-MMM-yy") & "',"

sql = sql + "'" & txtphone.Text & "','" & txtfatname.Text & "','"

& txtoccu.Text & "','" & txtedu.Text & "',"

sql = sql + "'" & txtpass.Text & "')"

If MsgBox("Are sure to Save the records", vbYesNo +

vbInformation, "Save") = vbYes Then

cmd.CommandText = sql

cmd.Execute

sql = "Insert into address values('" & txtcustid.Text & "','"

& txtadd.Text & "',"

sql = sql + "'" & txtstate.Text & "','" & txtcity.Text & "',"& txtpin.Text & ")"

cmd.CommandText = sql

cmd.Execute

MsgBox "Record has been saved successfully"

frmpolicy.txtclientid.Text = txtcustid.Text

frmpolicy.Show

Unload Me

END If

END Sub

Sub Id()

rs.Open "select cntid from client", cn, 0, 2

If rs.EOF = True Then

txtcustid.Text = "Cnt" & 1

Else

rs.MoveLast

79

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 80/163

txtcustid.Text = "Cnt" & Val(Mid(rs.Fields(0), 4,

Len(rs.Fields(0)) - 3)) + 1

 

END If

rs.Close

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Set rs = New ADODB.Recordset

cmd.ActiveConnection = cn

END Sub

80

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 81/163

PROPERTY OF POLICY FORM

Caption = "RELIANCE LIFE INSURENCE"

ClientHeight = 8385

ClientLeft = 6315

ClientTop = 2280

ClientWidth = 8970

Icon = "frmpolicy.frx":0000

LinkTopic = "Form1"

MDIChild = -1 'True

ScaleHeight = 8385

ScaleWidth = 8970

WindowState = 2 'Maximized

CommandButton cmdsave

Appearance = 0 'Flat

Height = 615

Left = 1560

MouseIcon = "frmpolicy.frx":0442

MousePointer = 99 'Custom

Picture = "frmpolicy.frx":0594

Style = 1 'Graphical

TabIndex = 17

ToolTipText = "Save record"

END

CommandButton cmdback

81

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 82/163

Appearance = 0 'Flat

Left = 3240

MouseIcon = "frmpolicy.frx":0B2C

MousePointer = 99 'Custom

Picture = "frmpolicy.frx":0C7E

Style = 1 'Graphical

TabIndex = 16

ToolTipText = "Cancel"

END

Label Label14

Caption = "Save

END

Label Label15

Caption = "Cancle"

END

MSMask.MaskEdBox txtdate

Left = 1830

TabIndex = 0

ExtentX = 3678

ExtentY = 556

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

82

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 83/163

END

TextBox txtsumassured

Appearance = 0 'Flat

Left = 1800

TabIndex = 13

END

TextBox txtduration

Appearance = 0 'Flat

END

TextBox txtclientid

Appearance = 0 'Flat

Left = 1800

TabIndex = 8

END

ComboBox cboplanno

Appearance = 0 'Flat

Height = 315

Left = 1800

TabIndex = 7

END

Label Label5

Caption = "Policy Date"

END

Label Label6

Caption = "Sum Assured"

83

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 84/163

END

Label Label8

BackStyle = 0 'Transparent

Caption = "Policy Details"

END

Label lblpolicyno

Caption = "policy no"

END

Label Label4

Caption = "Plan No"

END

Label Label3

Caption = "Duration"

Label Label1

Caption = "Client Id"

END

Image Image2

Left = 2040

Picture = "frmpolicy.frx":11FE

END

Image Image1

Height = 1230

Left = 0

Picture = "frmpolicy.frx":2044

END

84

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 85/163

PROGRAM CODE OF POLCY FORM

Private Sub cmdbackClick()

Unload Me

END Sub

Private Sub cmdsaveClick()

sql = "Insert into policy values('" &

lblpolicyno.Caption & "','" & txtclientid.Text & "',"

sql = sql + "'" & cboplanno.Text & "'," & txtduration.Text &

",'" & txtsumassured.Text & "','" & Format(txtdate.Text,

"dd-MMM-yy") & "')"

If MsgBox("Are you sure to save the record", vbYesNo +

vbInformation, "Save") = vbYes Then

cmd.CommandText = sql

cmd.Execute

MsgBox "Record has been save succeffully"

frmpayment.txtcntid.Text = txtclientid.Text

frmpayment.txtplcno.Text = lblpolicyno.Caption

Unload Me

frmpayment.Show

frmpayment.WindowState = vbMaximized

END If

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Set rs = New ADODB.Recordset

85

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 86/163

cmd.ActiveConnection = cn

Call plan

Call Id

END Sub

Sub Id()

rs.Open "select plcno from policy", cn, adOpENDynamic,

adLockOptimistic

If rs.EOF Then

lblpolicyno.Caption = "PLC" & 1

Else

rs.MoveLast

lblpolicyno.Caption = "PLC" & Val(Mid(rs.Fields(0), 4,

Len(rs.Fields(0)) - 3)) + 1

END If

rs.Close

END Sub

Sub plan()

rs.Open "select planno from plan", cn, adOpENDynamic,

adLockOptimistic

While Not rs.EOF

cboplanno.AddItem rs.Fields(0)

rs.MoveNext

WEND

rs.Close

END Sub

86

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 87/163

PROPERTY OF PAYMENT FROM

Caption = "RELIANCE LIFE INSURANCE"

ClientHeight = 8820

ClientLeft = 6000

ClientTop = 1965

ClientWidth = 9345

FillStyle = 0 'Solid

Icon = "frmpayment.frx":0000

LinkTopic = "Form1"

MDIChild = -1 'True

ScaleHeight = 8820

ScaleWidth = 9345

WindowState = 2 'Maximized

CommandButton cmdOK

Appearance = 0 'Flat

Height = 615

Left = 1200

MaskColor = &H8000000F&

MouseIcon = "frmpayment.frx":0442

MousePointer = 99 'Custom

Picture = "frmpayment.frx":0594

Style = 1 'Graphical

TabIndex = 10

ToolTipText = "Add new record"

87

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 88/163

END

CommandButton CMDSAVE

Appearance = 0 'Flat

Height = 615

Left = 2760

MouseIcon = "frmpayment.frx":0B72

MousePointer = 99 'Custom

Picture = "frmpayment.frx":0CC4

Style = 1 'Graphical

TabIndex = 11

ToolTipText = "Save record"

END

CommandButton cmdcancle

Appearance = 0 'Flat

Height = 615

Left = 4440

MouseIcon = "frmpayment.frx":125C

MousePointer = 99 'Custom

Picture = "frmpayment.frx":13AE

Style = 1 'Graphical

TabIndex = 12

ToolTipText = "Cancel"

END

Label LBLADD

88

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 89/163

Caption = "OK"

END

Label Label14

Caption = "Save"

END

Label Label15

Caption = "Cancle"

END

TextBox txtpremuim

Appearance = 0 'Flat

Height = 345

Left = 2040

TabIndex = 4

END

MSMask.MaskEdBox txtnextpre

Height = 345

Left = 2040

TabIndex = 6

ExtentX = 3678

ExtentY = 609

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

89

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 90/163

END

MSMask.MaskEdBox txtpdate

Height = 315

Left = 2040

TabIndex = 5

ExtentX = 3731

ExtentY = 556

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

END

TextBox txtbank

Appearance = 0 'Flat

Height = 285

Left = 1110

TabIndex = 8

END

TextBox txtno

Appearance = 0 'Flat

Height = 285

Left = 1110

TabIndex = 7

END

90

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 91/163

MSMask.MaskEdBox txtdate

TabIndex = 9

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

END

Label lbldate

Caption = "Date"

END

Label lblbank

Caption = "Label7"

END

Label lblno

Caption = "Label7"

END

ComboBox cbotype

Appearance = 0 'Flat

Height = 315

Left = 2040

TabIndex = 3

END

ComboBox cbomode

Appearance = 0 'Flat

Height = 315

Left = 2040

91

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 92/163

TabIndex = 2

END

TextBox txtcntid

Appearance = 0 'Flat

Left = 2040

TabIndex = 1

END

TextBox txtplcno

Appearance = 0 'Flat

Left = 2040

TabIndex = 0

END

Label Label8

Caption = "Premuim"

END

Label Label7

Caption = "Next Premium"

END

Label Label6

Caption = "Paymet type"

END

Label Label5

Caption = "Pay mode"

END

Label Label3

92

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 93/163

Caption = "Payment Date"

END

Label Label2

Caption = "Clint id"

END

Label Label1

Caption = "Policy no"

END

Image Image2

Height = 1230

Left = 120

Picture = "frmpayment.frx":192E

END

Image Image1

Left = 5760

Picture = "frmpayment.frx":33D7

END

Label Label12

Caption = "PAYMENT DETAILS"

END

Image Image3

Height = 615

Left = 3240

Picture = "frmpayment.frx":3D2C

END

93

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 94/163

PROGRAM CODE

Private Sub cbotypeClick()

If cbotype.Text = "Cash" Then

frmdisp.Visible = False

txtbank.Visible = False

txtno.Visible = False

txtdate.Visible = False

ElseIf cbotype.Text = "Cheque" Then

frmdisp.Visible = True

lblno.Caption = "Cheque No"

lblbank.Caption = "Bank Name"

txtbank.Visible = True

txtno.Visible = True

txtdate.Visible = True

lbldate.Visible = True

ElseIf cbotype.Text = "Draft" Then

frmdisp.Visible = True

lblno.Caption = "Draft No"

lblbank.Caption = "Bank Name"

lbldate.Visible = Date

txtbank.Visible = True

txtno.Visible = True

txtdate.Visible = True

94

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 95/163

ElseIf cbotype.Text = "Credit Card" Then

frmdisp.Visible = True

lblno.Caption = "Card No"

lblbank.Caption = "Card Type"

txtbank.Visible = True

txtno.Visible = True

txtbank.Visible = True

txtno.Visible = True

txtdate.Visible = False

lbldate.Visible = False

END If

END Sub

Private Sub cmdokClick()

If cbotype.Text = "Cash" Then

sql = "Insert into payment values('" & txtcntid.Text &

"','" & txtplcno.Text & "',"

sql = sql + "'" & cbomode.Text & "','" & cbotype.Text & "',"

& txtpremuim.Text & ",'" & Format(txtpdate.Text, "dd-MMM-yy")

& "',"

sql = sql + "'" & Format(txtnextpre.Text, "dd-MMM-yy") &

"',0,'0')"

Else

sql = "Insert into payment values('" & txtcntid.Text & "','"

& txtplcno.Text & "',"

sql = sql + "'" & cbomode.Text & "','" & cbotype.Text & "',"

& txtpremuim.Text & ",'" & Format(txtpdate.Text, "dd-MMM-yy")

& "',"

sql = sql + "'" & Format(txtnextpre.Text, "dd-MMM-yy") & "',"

& txtno.Text & ",'" & txtbank.Text & "')"

95

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 96/163

END If

If MsgBox("Do u want to add the record", vbYesNo +

vbInformation, "Add") = vbYes Then

cmd.CommandText = sql

cmd.ActiveConnection = cn

cmd.Execute

MsgBox "Record has been save succefully"

frmnomni.txtplcno.Text = txtplcno.Text

plcno = txtplcno.Text

Unload Me

frmnomni.Show

END If

END Sub

Private Sub cmdsaveClick()

If cbotype.Text = "Cash" Then

sql = "Insert into payment values('" & txtcntid.Text &

"','" & txtplcno.Text & "',"

sql = sql + "'" & cbomode.Text & "','" & cbotype.Text &

"'," & txtpremuim.Text & ",'" & Format(txtpdate.Text,

"dd-MMM-yy") & "',"

sql = sql + "'" & Format(txtnextpre.Text, "dd-MMM-yy") &

"',0,'0')"

Else

sql = "Insert into payment values('" & txtcntid.Text & "','"

& txtplcno.Text & "',"

sql = sql + "'" & cbomode.Text & "','" & cbotype.Text & "',"

& txtpremuim.Text & ",'" & Format(txtpdate.Text, "dd-MMM-yy")

& "',"

96

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 97/163

sql = sql + "'" & Format(txtnextpre.Text, "dd-MMM-yy") &

"'," & txtno.Text & ",'" & txtbank.Text & "')"

END If

If MsgBox("Do u want to add the record", vbYesNo +

vbInformation, "Add") = vbYes Thencmd.CommandText = sql

cmd.ActiveConnection = cn

cmd.Execute

MsgBox "Record has been save succefully"

frmnomni.txtplcno.Text = txtplcno.Text

plcno = txtplcno.Text

Unload Me

frmnomni.Show

END If

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Call Items

END Sub

Sub Items()

cbotype.Text = "Cash"

cbotype.AddItem "Cash"

cbotype.AddItem "Cheque"

cbotype.AddItem "Draft"

cbotype.AddItem "Credit Card"

97

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 98/163

cbomode.AddItem "Yearly"

cbomode.AddItem "Half Yearly"

cbomode.AddItem "Quarterly"

cbomode.Text = "Yearly"

END Sub

Private Sub txtplcnoKeyPress(KeyAscii As Integer)

Set rs = New ADODB.Recordset

If KeyAscii = 13 Then

rs.Open "select cntid from policy where plcNO='" &

txtplcno.Text & "'", cn, adOpENDynamic, adLockOptimistic

txtcntid.Text = rs.Fields(0)

END If

END Sub

98

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 99/163

PROPERTY OF  NOMINEE FORM 

Caption = "RELIANCE LIFE INSURANCE"

ClientHeight = 8385

ClientLeft = 5550

ClientTop = 2280

ClientWidth = 9720

Icon = "frmnomini.frx":0000

LinkTopic = "Form1"

ScaleHeight = 8385

ScaleWidth = 9720

WindowState = 2 'Maximized

 

TextBox txtpin

Appearance = 0 'Flat

Height = 375

Left = 6000

TabIndex = 10

END

TextBox txtstate

Appearance = 0 'Flat

Height = 375

Left = 6000

TabIndex = 9

END

99

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 100/163

TextBox txtcity

Appearance = 0 'Flat

Left = 6000

TabIndex = 8

END

TextBox txtadd

Appearance = 0 'Flat

Height = 1305

Left = 1560

MultiLine = -1 'True

ScrollBars = 3 'Both

TabIndex = 7

END

Label Label13

Caption = "Pin no"

END

Label Label12

Caption = "State"

END

Label Label11

Caption = "City"

END

Label Label10

Caption = "Address"

END

100

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 101/163

TextBox txtplcno

Appearance = 0 'Flat

Height = 345

Left = 1800

TabIndex = 1

END

TextBox txtcntid

Appearance = 0 'Flat

Height = 345

Left = 1830

TabIndex = 2

END

TextBox txtplanno

Appearance = 0 'Flat

Height = 345

Left = 1800

TabIndex = 3

END

TextBox txtname

Appearance = 0 'Flat

Height = 345

Left = 7080

TabIndex = 4

END

TextBox txtrelation

101

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 102/163

Appearance = 0 'Flat

Height = 345

Left = 7110

TabIndex = 6

END

TextBox txtnomid

Appearance = 0 'Flat

Height = 345

Left = 1800

TabIndex = 0

END

MSMask.MaskEdBox txtdob

Left = 7110

TabIndex = 5

ExtentX = 3678

ExtentY = 609

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

END

Label lblpolicyno

Caption = "Policy No"

END

102

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 103/163

Label Label1

Caption = "Client Id"

END

Label Label2

Caption = "Plan No"

END

Label Label3

Caption = "Nomni Name"

END

Label Label4

Caption = "Date of Birth"

END

Label Label5

Caption = "Relationship With Nomni"

END

Label Label6

Caption = "Nomin No."

END

CommandButton CMDADD

Appearance = 0 'Flat

Height = 615

Left = 1800

MaskColor = &H8000000F&

MouseIcon = "frmnomini.frx":0442

MousePointer = 99 'Custom

103

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 104/163

Picture = "frmnomini.frx":0594

Style = 1 'Graphical

TabIndex = 11

ToolTipText = "Add new record"

END

CommandButton CMDSAVE

Appearance = 0 'Flat

Height = 615

Left = 3240

MouseIcon = "frmnomini.frx":0B72

MousePointer = 99 'Custom

Picture = "frmnomini.frx":0CC4

Style = 1 'Graphical

TabIndex = 12

ToolTipText = "Save record"

END

CommandButton cmdcancle

Appearance = 0 'Flat

Height = 615

Left = 4800

MouseIcon = "frmnomini.frx":125C

MousePointer = 99 'Custom

Picture = "frmnomini.frx":13AE

Style = 1 'Graphical

TabIndex = 13

104

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 105/163

ToolTipText = "Cancel"

END

Label Label7

Caption = "Add new"

END

Label Label14

Caption = "Save"

END

Label Label15

Caption = "Cancle"

END

Image Image2

Height = 615

Left = 4200

Picture = "frmnomini.frx":192E

END

Image Image1

Left = 240

Picture = "frmnomini.frx":2774

END

Label Label12

Caption = "NOMINI DETAILS"

END

105

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 106/163

PROGRAM CODE

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

txtname.SetFocus

Call Id

txtplcno.Text = plcno

Call disp

END Sub

Private Sub cmdcancleClick()

Unload Me

END Sub

Private Sub cmdsaveClick()

sql = "Insert into nomini values('" & txtnomid.Text & "','" &

txtplcno.Text & "','" & txtname.Text & "',"

sql = sql + "'" & Format(txtdob.Text, "dd-MMM-yy") & "','" &

txtrelation.Text & "')"

If MsgBox("Are sure to Save the records", vbYesNo +

vbInformation, "Save") = vbYes Then

106

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 107/163

cmd.CommandText = sql

cmd.ActiveConnection = cn

cmd.Execute

sql = "Insert into address values('" & txtnomid.Text& "','" & txtadd.Text & "',"

sql = sql + "'" & txtstate.Text & "','" &

txtcity.Text & "'," & txtpin.Text & ")"

cmd.CommandText = sql

cmd.Execute

MsgBox "Record has been saved successfully"

rptclient.Show

Unload Me

END If

END Sub

Private Sub FormLoad()

Set cmd = New ADODB.Command

Call DatabaseConnection

END Sub

Sub Id()

Set rs = New ADODB.Recordset

rs.Open "select nomno from nomini", cn, 0, 2

If rs.EOF = True Then

txtnomid.Text = "Nom" & 1

Else

rs.MoveLast

107

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 108/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 109/163

PROPERTY OF CLAIM FORM

Caption = "RELIANCE LIFE INSURENCE"

ClientHeight = 7830

ClientLeft = 6615

ClientTop = 1965

ClientWidth = 9075

Icon = "frmclaim.frx":0000

LinkTopic = "Form2"

ScaleHeight = 7830

ScaleWidth = 9075

WindowState = 2 'Maximized

CommandButton cmdadd

Appearance = 0 'Flat

Height = 615

Left = 1800

MaskColor = &H8000000F&

MouseIcon = "frmclaim.frx":0442

MousePointer = 99 'Custom

Picture = "frmclaim.frx":0594

Style = 1 'Graphical

TabIndex = 9

ToolTipText = "Add new record"

END

109

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 110/163

CommandButton cmdsave

Appearance = 0 'Flat

Height = 615

Left = 3360

MouseIcon = "frmclaim.frx":0B72

MousePointer = 99 'Custom

Picture = "frmclaim.frx":0CC4

Style = 1 'Graphical

TabIndex = 10

ToolTipText = "Save record"

END

CommandButton cmdcancle

Appearance = 0 'Flat

Height = 615

Left = 4800

MouseIcon = "frmclaim.frx":125C

MousePointer = 99 'Custom

Picture = "frmclaim.frx":13AE

Style = 1 'Graphical

TabIndex = 11

ToolTipText = "Cancel"

END

Label Label12

Caption = "Add new"

END

110

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 111/163

Label Label14

Caption = "Save"

END

Label Label15

Caption = "Cancle"

END

END

MSMask.MaskEdBox txtclmdate

Height = 405

Left = 1680

TabIndex = 3

ExtentX = 2037

ExtentY = 714

Version = 393216

Appearance = 0

MaxLength = 8

Mask = "##-##-##"

PromptChar = ""

END

 

TextBox txtnomnirel

Appearance = 0 'Flat

Height = 375

Left = 1440

TabIndex = 7

111

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 112/163

END

TextBox txtnomniname

Appearance = 0 'Flat

Height = 435

Left = 1440

TabIndex = 6

END

TextBox txtnomnid

Appearance = 0 'Flat

Height = 405

Left = 1440

TabIndex = 5

END

Label Label11

AutoSize = -1 'True

Caption = "Relation ship "

END

Label Label10

AutoSize = -1 'True

Caption = "Nommni name"

END

Label Label9

Caption = "Nomni id"

END

ComboBox cboclaimcause

112

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 113/163

Appearance = 0 'Flat

Height = 315

Left = 1680

TabIndex = 4

END

TextBox txtplcno

Appearance = 0 'Flat

Height = 375

Left = 1680

TabIndex = 0

END

TextBox txtcntid

Appearance = 0 'Flat

Height = 375

Left = 1680

TabIndex = 1

END

TextBox txtclaimamt

Appearance = 0 'Flat

Height = 405

Left = 5880

TabIndex = 8

END

TextBox txtplano

Appearance = 0 'Flat

113

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 114/163

Left = 1680

TabIndex = 2

END

Label Label8

AutoSize = -1 'True

Caption = "Claim cause"

END

Label lblclaimno

AutoSize = -1 'True

Caption = "claim no"

END

Label Label1

AutoSize = -1 'True

Caption = "Polycy no"

END

Label Label2

AutoSize = -1 'True

Caption = "Clint id"

END

Label Label3

AutoSize = -1 'True

Caption = "Caim date"

END

Label Label4

AutoSize = -1 'True

114

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 115/163

Caption = "Caim amount"

END

Label Label5

AutoSize = -1 'True

Caption = "Claim no"

END

Label Label6

AutoSize = -1 'True

Caption = "Plan no"

END

Label Label7

Caption = "CLAIM RECORD"

END

Image Image2

Height = 615

Left = 3840

Picture = "frmclaim.frx":192E

END

Image Image1

Height = 1230

Left = 480

Picture = "frmclaim.frx":2774

END

115

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 116/163

PROGRAM CODE

Private Sub cmdaddClick()

Dim obj As Object

For Each obj In Me

If TypeOf obj Is TextBox Then

obj.Text = ""

END If

Next

Call Id

txtclmdate.SetFocus

END Sub

Sub Id()

Set rs = New ADODB.Recordset

rs.Open "select claimno from claim", cn, adOpENDynamic,

adLockOptimistic

If rs.EOF = True Then

lblclaimno.Caption = "Clm" & 1

Else

rs.MoveLast

lblclaimno.Caption = "Clm" & Val(Mid(rs.Fields(0),

4, Len(rs.Fields(0)) - 3)) + 1

END If

rs.Close

116

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 117/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 118/163

END Sub

Sub clm()

Set rs = New ADODB.Recordset

sql = "select p.cntid,p.planno,p.sumassurred,n.nomno,

n.nomniname,n.relation "

sql = sql + " from policy p ,nomini n where p.plcno='" &

txtplcno.Text & "' and p.plcno=n.plcno"

rs.Open sql, cn, adOpENDynamic

txtcntid.Text = rs.Fields(0)

txtplano.Text = rs.Fields(1)

txtclaimamt.Text = rs.Fields(2)

txtnomnid.Text = rs.Fields(3)

txtnomniname.Text = rs.Fields(4)

txtnomnirel.Text = rs.Fields(5)

END Sub

Private Sub txtplcnoKeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Call clm

END If

END Sub

118

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 119/163

CODE OF MODULE

Option Explicit

Public cn As ADODB.Connection

Public rs As ADODB.Recordset

Public cmd As ADODB.Command

Public identity As String

Public nm As String

Public plcno As String

Sub BranchManager()

frmmain.tran.Enabled = True

frmmain.adv.Enabled = False

frmmain.cust.Enabled = False

END Sub

Sub Adviser()

frmmain.tran.Enabled = True

frmmain.sm.Enabled = False

frmmain.plan.Enabled = False

frmmain.adv.Enabled = False

frmmain.cust.Enabled = True

END Sub

Sub SalesManager()

frmmain.sm.Enabled = False

frmmain.plan.Enabled = False

119

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 120/163

frmmain.tran.Enabled = False

frmmain.cust.Enabled = False

END Sub

Sub DatabaseConnection()

cn.ConnectionString = "Provider=MSDAORA.1;User

Id=Scott;Password=Tiger"

cn.Open

END Sub

120

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 121/163

TESTING

121

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 122/163

TESTING

Level of tests

Systems are not designed as entire systems nor are they tested as single

system. The analyst must perform both Unit and system testing.

Unit Testing

In the unit testing the analyst tests the program making up a system.

reason, unit testing

is sometimes called program testing. unit testing gives stress on the m

independently of one

another, to find errors. This helps the tester in detecting errors in coding a

that are

contained within the module alone. The errors resulting from the inte

between

modules are initially avoided. Unit testing can be performed from the bott

starting

with smallest and lowest-level modules and proceeding one at a time. 

System Testing

 

System testing makes a logical assumption that if all the parts of the

system are correct, the goal will be successfully activated. Another

122

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 123/163

reason for system testing its utility as a user-oriented vehicle before

implementation.

System testing consists of the following 5 step:

123

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 124/163

Program testing

String testing

System testing

System documentation

User acceptance testing

 

  String Testing

Programs are invariably related to one another to one another and

interact in a total system. Each program is tested to see whether itconforms to related programs in the system. Each part of the system is

tested against the entire modules with both test and live data before the

whole system is ready to be tested

  System Testing

System testing is design to uncover weakness that was not found in

earlier tests. This includes forced system failure and validation of total

system as it will be implemented by its user in the operational

environment. The total system is also tested for recovery and fallback

after various major failures to ensure that no data are loss during the

emergency. All this is done with the old system still in operation. When

we see that the proposed system is successful in the test, the old system

is discontinued.

124

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 125/163

System Documentation

All design and test documentation should be well prepared and kept in

library for future reference. The library is the central location for the

maintenance of the new system.

User Acceptance Testing

An acceptance test has the objective of selling the user on the validityand reliability of the system. It verifies that the system’s procedure

operates to system specification and that the integrity of important data

is maintained. Performance of all acceptances test is actually the user’s

show. User motivation is very important for the successful performance

of the system. After that a comprehensive test report is prepared. This

report shows the system’s tolerance, performance range, error rate and

accuracy.

Peak Load Testing

It determines whether the system will handle the volume of activates that

occur when the system is at the peak of its processing demand. For

example, test the system by activating all terminals at the same time.

Storage Testing

125

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 126/163

It determines the capacity of the system to store transaction data on

a disk or in other files. For example, verify documentation statement that

the system will store 10,000records of 400 bytes length on a single flexible

disk.

Performance Time Testing

 

It determines the length of time of system used by the system to process

transaction data. This test is conducted prior to implementation to

determine how long it takes to get a response to an inquiry, makes a

backup copy of a file, or send a transmission and get a response.

Recovery Testing

 

 This testing determines the ability of user to recover data or re-start

system after failure. For example, load backup copy of data and resume

processing without data or integrity loss.

Procedure Testing

It determines the clarity of documentation on operation and use of 

system by having users do exactly what manuals request. For example,

powering down system at the end of week or responding to paper-out light

on printer.

Human factor Testing

 

It determines how user wills the system when processing data or preparing

reports.

126

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 127/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 128/163

OUTPUT

128

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 129/163

LOGIN PAGE

GUEST LOGIN

129

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 130/163

COMPANY INFORMATION FORM

130

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 131/163

LOGIN TYPE BRANCH MANAGER 

LOGIN

S

SALES MANAGER ADVISER LOGIN

131

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 132/163

BRANCH MANEGER MAIN FORM

RANCH MANEGER MENU

ADDING NEW SALES MANGER AND PLAN

132

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 133/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 134/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 135/163

ADDING NEW SALES MANAGER 

ADDING INFORMATION FOR NEW SALES MANAGER 

135

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 136/163

SAVING THE RECORD OF NEW SALES MANNEGER 

CONFIRMION FOR SAVING RECORD

136

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 137/163

ADDING NEW PLAN

ADDING NEW PLAN INTO DATABASE

137

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 138/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 139/163

EDITENG EXISTING PLAN

DELETING EXISTING PLAN

139

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 140/163

USING UTILITY

CALCULATOR NOTEPADE

LOG OFF BRACH MANAGER 

140

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 141/163

SALES MANEGER MAIN PAGE

MENU FOR SALES MANEGER 

141

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 142/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 143/163

SAVING RECORD FOR NEW ADVISOR 

CONFIRMING THAT RECORD HAS BEEN SAVE

143

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 144/163

USING UTILITY

CALCULATOR NOTEPADE

LOG OFF SALES MANAGER 

144

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 145/163

ADVISOR MAIN FORM

MENU FOR ADVISOR 

145

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 146/163

ADDING NEW COUSTOMER 

NEW CLIENT FORM

146

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 147/163

ADDING NEW CLIENT INTO DATBASE

CONFIRM THE DETAILS OF CLIENT

147

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 148/163

ADING POLICY DETAILS

SAVING RECORD FOR POLICY SAVING RECORD

148

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 149/163

PAYMENT DETAILS FOR CHEQUE DRFAFT OR CRDIT

CARD ADD

INFORMATION OF PARTICURLS

FILLING INFORMATION SAVING IFORMATION

149

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 150/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 151/163

SHOWING RECODS OF CLIENT

151

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 152/163

TAKING PREMIUM OF EXISTING COUSTOMER 

TAKING PREMIUMS

152

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 153/163

PA YING CLAIM

SAVING CLIAM REPORT

153

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 154/163

USING UTILITY

CALCULATOR NOTEPADE

LOG OFF ADVISOR 

154

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 155/163

REPOR

T

155

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 156/163

REPROT MENU

CLAIM REPORT

156

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 157/163

POLICY REPROT

157

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 158/163

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 159/163

SALES MANEGER REPORT

159

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 160/163

CUSTOMER REPORT

160

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 161/163

PLAN DETAILS REPORT

LIMITATION OF THE PROJECT

161

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 162/163

As this is demo project so, it can’t be implemented in the real world before some

modification. Because there is some restriction in this project i.e. it can not store the records more

than 100. And also there are several validation that are not given in this project. If any will enter 

wrong data then the application will be closed. Even the tables are not normalized properly and

validation on the database is not given. So, it can be operated finally after some modification.

FUTURE AND SCOPE OF THE PROJECT

As this is demo project for submitting in BCA (6th sem ) only. But further, some

modification it can be used in a particular branch of tata aig. This is made only for keeping the

information of client, sales manager, adviser, plan etc. on the database. This project can also be

converted in the web application. This project can be beneficial for the any insurance sector and

after some modification it can be used in any insurance company.

162

8/3/2019 Complite Project of Reliance Life Insurence

http://slidepdf.com/reader/full/complite-project-of-reliance-life-insurence 163/163

BIBLIOGRAPHY

MSDN Library

Mastering Visual Basic 6

(PETROUTSOS, BPB PUBLICAIONS)

Complete reference to visual basic 6

(BPB Publications)

Beginner To Pro Murach’s Visual Basic 6

(Joel Murach, Anne Prince, BPB Publications)