Sie sind auf Seite 1von 100

Ex.

No: 1

STUDENT INFORMATION SYSTEM

Date:

Aim: To Develop a Project of Student Information System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a Simple )eport for an individual Student Details.

ER Diagram:

StdReg No

StdNam e SISTab

Course Dept

DOB

Year Mail ID ResAddr ContNo

Database Design:

Table Name: SISTab

Field Name Data Type Std)e No StdName /ourse Dept 2ear D%" )es3ddr /ontNo 5ail ID Num*er+1$, !arc-ar.+.$, !arc-ar.+.$, !arc-ar.+1$, !arc-ar.+1$, Date !arc-ar.+1$, Num*er+14, !arc-ar.+.$,

Comment Student )e ister Num*er Student Name 0-ic- /ourse Student Studyin 0-ic- Department Student Studyin 0-ic- 2ear Student Studyin Date of "irt)esidential 3ddress /ontact Num*er Email ID

Coding: Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom SISTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, )e Txt ; :: NamTxt ; :: /r/m* ; :: Dep/m* ; :: 2r/m* ; :: Do*Txt ; :: )esTxt ; :: /onTxt ; :: 5IDTxt ; :: End Su*

Private Su* Display+, )e Txt ; )s+$,

NamTxt ; )s+1, /r/m* ; )s+., Dep/m* ; )s+1, 2r/m* ; )s+@, Do*Txt ; )s+4, )esTxt ; )s+#, /onTxt ; )s+A, 5IDTxt ; )s+B, End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 )e Txt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; )e Txt )s+1, ; NamTxt )s+., ; /r/m* )s+1, ; Dep/m* )s+@, ; 2r/m* )s+4, ; Do*Txt )s+#, ; )esTxt

)s+A, ; /onTxt )s+B, ; 5IDTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim )e 3s Dou*le )s.5ove7irst )e ; !al+Input"ox+:Enter )e ister No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If )e ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim )e 3s Dou*le )s.5ove7irst )e ; !al+Input"ox+:Enter )e ister No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If )e ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Data)eport1.S-o6 End Su*

Private Su* Ext/md8/lic'+, End "(7rm.Cide End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Student Information System -as *een verified and Executed Successfully> )eport -as *een enerated.

Ex.No: .

"AYRO## "ROCESSIN$ SYSTEM

Date:

Aim: To Develop a Project of Payroll Processin System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for a Pay slip.

ER Diagram:
EmpNa me EmpNo Design Dept

PayTab DOB DO BPay !rossPa y NetPay

Database Design:

Table Name: "ayTab

Field Name Data Type EmpNo EmpName Desi n Dept D%D D%" "Pay NetPay (rossPay Num*er+1$, !arc-ar.+.$, !arc-ar.+.$, !arc-ar.+.$, Date Date Num*er+1., Num*er+1., Num*er+1.,

Comment Employee ID Num*er Employee Name Employee Desi nation Department Date of Doinin Date of "irt"asic Salary Net Salary (ross Salary

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom PayTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, IDTxt ; :: NamTxt ; :: Des/m* ; :: Dep/m* ; :: DojTxt ; :: Do*Txt ; :: "PTxt ; :: (PTxt ; :: NPTxt ; :: End Su*

Private Su* Display+,

IDTxt ; )s+$, NamTxt ; )s+1, Des/m* ; )s+., Dep/m* ; )s+1, DojTxt ; )s+@, Do*Txt ; )s+4, "PTxt ; )s+#, NPTxt ; )s+A, (PTxt ; )s+B, End Su*

Private Su* "PTxt89ost7ocus+, Dim "P> D3> C)3> //3> P7 3s Dou*le "P ; !al+"PTxt, D3 ; "P = +4$ E 1$$, C)3 ; "P = +1$ E 1$$, //3 ; "P = +1$ E 1$$, P7 ; "P = +1. E 1$$, (PTxt ; "P F D3 F C)3 F //3 NPTxt ; !al+(PTxt, G P7 End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 IDTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; IDTxt )s+1, ; NamTxt )s+., ; Des/m* )s+1, ; Dep/m* )s+@, ; DojTxt )s+4, ; Do*Txt )s+#, ; "PTxt )s+A, ; NPTxt )s+B, ; (PTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim EmpID 3s Dou*le )s.5ove7irst EmpID ; !al+Input"ox+:Enter Employee No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If EmpID ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim EmpID 3s Dou*le )s.5ove7irst EmpID ; !al+Input"ox+:Enter Employee No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If EmpID ; )s+$, T-en

Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Data)eport1.S-o6 End Su*

Private Su* Ext/md8/lic'+, End " 7rm1.Cide End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Pay )oll Processin System -as *een verified and Executed Successfully> Pay Slip )eport -as *een enerated.

Ex.No:1

SA%IN$S &AN' ACCOUNT

Date:

Aim: To Develop a Project of Savin s "an' 3ccount Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for "an' Transaction.

ER Diagram:
CAddr CName A""No O""up SBATab InlBal TrDate TrMode TrAmt A#lBal

Database Design:

Table Name: S&ATab

Field Name Data Type 3ccNo /Name /3ddr %ccup Inl"al TrDate Tr5ode Tr3mt 3vl"al Num*er+1$, !arc-ar.+.$, !arc-ar.+.$, !arc-ar.+.$, Num*er+1., Date !arc-ar.+1$, Num*er+1., Num*er+1.,

Comment /ustomer 3ccount Num*er /ustomer Name /ustomer 3ddress /ustomer %ccupation Initial "alance Transaction Date Transaction5ode +Deposit H 0it-dra6, Transaction 3mount 3vaila*le "alance

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom S"3Ta*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, 3ccTxt ; :: NamTxt ; :: 3ddTxt ; :: %ccTxt ; :: InlTxt ; :: TDtTxt ; :: 5od/m* ; :: 3mtTxt ; :: 3vlTxt ; :: End Su*

Private Su* Display+, 3ccTxt ; )s+$, NamTxt ; )s+1, 3ddTxt ; )s+., %ccTxt ; )s+1, InlTxt ; )s+@, TDtTxt ; )s+4,

5od/m* ; )s+#, 3mtTxt ; )s+A, 3vlTxt ; )s+B, End Su*

Private Su* TDtTxt8(ot7ocus+, TDtTxt ; Date End Su*

Private Su* InlTxt89ost7ocus+, Dim Inl 3s Dou*le Inl ; !al+InlTxt, If Inl I 1$$$ T-en 5s "ox :Initia "alance S-ould "e J;1$$$: InlTxt ; :: InlTxt.Set7ocus End If End Su*

Private Su* 3mtTxt89ost7ocus+, Dim Inl> 3mt 3s Dou*le Inl ; !al+InlTxt, 3mt ; !al+3mtTxt,

If 5od/m* ; :DEP%SIT: T-en 3vlTxt ; Inl F 3mt ElseIf 5od/m* ; :0ITCD)30: T-en If ++Inl G 3mt, I 4$$, T-en 5s "ox :Transaction Declained: 3mtTxt ; :: 3mtTxt.Set7ocus Else 3vlTxt ; Inl G 3mt End If End If End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 3ccTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; 3ccTxt )s+1, ; NamTxt )s+., ; 3ddTxt )s+1, ; %ccTxt )s+@, ; InlTxt )s+4, ; TDtTxt

)s+#, ; 5od/m* )s+A, ; 3mtTxt )s+B, ; 3vlTxt

)s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim 3ccNo 3s Dou*le )s.5ove7irst 3ccNo ; !al+Input"ox+:Enter 3ccount No 0-ic- U 0ant to 5odify:,, 7or I ; 1 To )s.)ecord/ount If 3ccNo ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next I End Su*

Private Su* Del/md8/lic'+, Dim 3ccNo 3s Dou*le )s.5ove7irst

3ccNo ; !al+Input"ox+:Enter 3ccount No 0-ic- U 0ant to Delete:,, 7or I ; 1 To )s.)ecord/ount If 3ccNo ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next I End Su* Private Su* )ep/md8/lic'+, Data)eport1.S-o6 End Su*

Private Su* Ext/m*8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Savin s "an' 3ccount -as *een verified and Executed Successfully> "an' Transaction )eport -as *een enerated.

Ex.No:@

MAR' S(EET "ROCESSIN$ SYSTEM

Date:

Aim: To Develop a Project of 5ar' S-eet Processin System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for an Individual Student 5ar' Statement.

ER Diagram:
DOB SName SRegNo Course Year Mar$Tab Result M% M& M' A#g

Database Design:

Table Name: Mar)Tab

Field Name Data Type S)e No SName D%" /ourse 2ear 51 5. 51 3v )esult Num*er+1$, !arc-ar.+.$, Date !arc-ar.+.$, !arc-ar.+1$, Num*er+1, Num*er+1, Num*er+1, Num*er+A>., !arc-ar.+1$,

Comment Student )e ister Num*er Student Name Date of "irtStudent 0-ic- /ourse Studyin Student 0-ic- 2ear Studyin Su*ject1 5ar's Su*ject. 5ar's Su*ject1 5ar's Student Percenta e Student )esult 0-et-er Pass or 7ail

Coding: Dim /n 3s Ne6 3D%D"./onnection

Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom 5ar'Ta*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, )e Txt ; :: NamTxt ; :: Do*Txt ; :: /r/m* ; :: 2r/m* ; :: 51Txt ; :: 5.Txt ; :: 51Txt ; :: 3v Txt ; :: )esTxt ; :: End Su*

Private Su* Display+, )e Txt ; )s+$, NamTxt ; )s+1, Do*Txt ; )s+., /r/m* ; )s+1,

2r/m* ; )s+@, 51Txt ; )s+4, 5.Txt ; )s+#, 51Txt ; )s+A, 3v Txt ; )s+B, )esTxt ; )s+&, End Su*

Private Su* 51Txt89ost7ocus+, Dim m1> m.> m1> 3v 3s Dou*le m1 ; !al+51Txt, m. ; !al+5.Txt, m1 ; !al+51Txt, 3v ; +m1 F m. F m1, E 1 3v ; )ound+3v > ., 3v Txt ; 3v If +m1 I; @$ %r m. I @$ %r m1 I @$, T-en )esTxt ; :73I9: Else )esTxt ; :P3SS:

End If End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 )e Txt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; )e Txt )s+1, ; NamTxt )s+., ; Do*Txt )s+1, ; /r/m* )s+@, ; 2r/m* )s+4, ; 51Txt )s+#, ; 5.Txt )s+A, ; 51Txt )s+B, ; 3v Txt )s+&, ; )esTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim )e 3s Dou*le )s.5ove7irst )e ; !al+Input"ox+:Enter )e ister No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If )e ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim )e 3s Dou*le )s.5ove7irst )e ; !al+Input"ox+:Enter )e ister No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If )e ; )s+$, T-en

Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Data)eport1.S-o6 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for 5ar' S-eet Processin System -as *een verified and Executed Successfully> )eport of 5ar' Statement of an individual Student -as *een enerated.

Ex.No:4

INCOME TA* "ROCESSIN$ SYSTEM

Date:

Aim: To Develop a Project of Income Tax Processin System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for a Tax Projection.

ER Diagram:

DOB EmpNa me EmpId Ta(Tab ITNum AnnIn"

Addr

!ender ITDate

Ta(Amt Ta(In" Dedu"

Database Design:

Table Name: Ta+Tab

Field Name Data Type EmpId EmpName D%" 3ddr (ender ITDate ITNum 3nnInc Deduc TaxInc Tax3mt Num*er+1$, !arc-ar.+.$, Date !arc-ar.+.4, !arc-ar.+B, Date Num*er+1$, Num*er+1., Num*er+1$, Num*er+1., Num*er+1.,

Comment Employee ID Num*er Employee Name Date of "irtEmployee 3ddress Employee (ender +5E7, IncomeTax Date In/omeTax Num*er 3nnual Income Deduction 3mount Taxa*le Income per 3num Taxa*le 3mount

Coding: Dim /n 3s Ne6 3D%D"./onnection

Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom TaxTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, IDTxt ; :: NamTxt ; :: Do*Txt ; :: 3ddTxt ; :: (en/m* ; :: DtTxt ; :: NumTxt ; :: 3nnTxt ; :: DedTxt ; :: TaxTxt ; :: 3mtTxt ; :: End Su*

Private Su* Display+, IDTxt ; )s+$, NamTxt ; )s+1, Do*Txt ; )s+.,

3ddTxt ; )s+1, (en/m* ; )s+@, DtTxt ; )s+4, NumTxt ; )s+#, 3nnTxt ; )s+A, DedTxt ; )s+B, TaxTxt ; )s+&, 3mtTxt ; )s+1$, End Su*

Private Su* DtTxt8(ot7ocus+, DtTxt ; Date End Su*

Private Su* DedTxt89ost7ocus+, Dim ann> ded> tax> amt 3s Dou*le ann ; !al+3nnTxt, ded ; !al+DedTxt, If +ann J; 1#$$$$ 3nd (en/m* ; :5ale: 3nd +ann G 1#$$$$ G ded, J; $, T-en tax ; ann G 1#$$$$ G ded amt ; tax = +1$ E 1$$, ElseIf +ann J; 1A$$$$ 3nd (en/m* ; :7emale: 3nd +ann G 1A$$$$ G ded, J; $, T-en tax ; ann G 1A$$$$ G ded amt ; tax = +1$ E 1$$, Else

tax ; $ amt ; $ End If TaxTxt ; tax 3mtTxt ; amt End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 IDTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; IDTxt )s+1, ; NamTxt )s+., ; Do*Txt )s+1, ; 3ddTxt )s+@, ; (en/m* )s+4, ; DtTxt )s+#, ; NumTxt )s+A, ; 3nnTxt )s+B, ; DedTxt )s+&, ; TaxTxt )s+1$, ; 3mtTxt )s.Update

5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim EmpID 3s Dou*le )s.5ove7irst EmpID ; !al+Input"ox+:Enter Employee No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If EmpID ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim EmpID 3s Dou*le )s.5ove7irst EmpID ; !al+Input"ox+:Enter Employee No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If EmpID ; )s+$, T-en

Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Data)eport1.S-o6 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Income Tax Processin System -as *een verified and Executed Successfully> )eport of Tax Projection -as *een enerated.

Ex.No:#

E#ECTRICITY &I## "RE"ARATION SYSTEM

Date:

Aim:

To Develop a Project of Electricity "ill Preparation System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for an Electricity "ill.

ER Diagram:
CusAddr CusNam e CusNo EBTab BillAmt CurRd TotRd BillNo BillDt

Pre#Rd

Database Design:

Table Name: E&Tab

Field Name Data Type /usNo /usName /us3ddr "illNo "illDt Prev)d /ur)d Tot)d "ill3mt !arc-ar.+1$, !arc-ar.+.$, !arc-ar.+.4, Num*er Date Num*er+1$, Num*er+1$, Num*er+1$, Num*er+1$,

Comment /ustomer Num*er /ustomer Name /ustomer 3ddress "ill Num*er "ill Date Previous 5eter )eadin /urrent 5eter )eadin Total 5eter )eadin "ill 3mount

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom E"Ta*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, /NoTxt ; :: /NamTxt ; :: /3ddTxt ; :: "NoTxt ; :: "DtTxt ; :: PrTxt ; :: /rTxt ; :: TrTxt ; :: "3mtTxt ; :: End Su*

Private Su* Display+, /NoTxt ; )s+$, /NamTxt ; )s+1, /3ddTxt ; )s+., "NoTxt ; )s+1,

"DtTxt ; )s+@, PrTxt ; )s+4, /rTxt ; )s+#, TrTxt ; )s+A, "3mtTxt ; )s+B, End Su*

Private Su* "DtTxt8(ot7ocus+, "DtTxt ; Date End Su*

Private Su* /rTxt89ost7ocus+, Dim Pr> /r> Tr> "3mt 3s Dou*le Pr ; !al+PrTxt, /r ; !al+/rTxt, If +Pr J /r, T-en 5s "ox :/urrent S-ould *e J; Previous )eadin K: /rTxt ; :: /rTxt.Set7ocus Exit Su* End If Tr ; /r G Pr TrTxt ; Tr

If +Tr I; 1$$, T-en "3mt ; Tr = . ElseIf ++Tr J 1$$, 3nd +Tr I; .$$,, T-en "3mt ; ++Tr G 1$$, = 1, F .$$ ElseIf +Tr J .$$, T-en "3mt ; ++Tr G .$$, = 4, F 1$$ F .$$ End If "3mtTxt ; "3mt End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 /NoTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; /NoTxt )s+1, ; /NamTxt )s+., ; /3ddTxt )s+1, ; "NoTxt )s+@, ; "DtTxt )s+4, ; PrTxt )s+#, ; /rTxt )s+A, ; TrTxt )s+B, ; "3mtTxt

)s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim /no 3s Dou*le )s.5ove7irst /no ; Trim+Input"ox+:Enter /ustomer No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If /no ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim /no 3s Dou*le )s.5ove7irst /no ; Trim+Input"ox+:Enter /ustomer No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If /no ; )s+$, T-en

Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Dim cmd 3s Ne6 3D%D"./ommand cmd.Parameters.)efresData)eport1.S-o6 Unload DataEnvironment1 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Electricity "ill Preparation System -as *een verified and Executed Successfully> "ill 3mount )eport -as *een enerated.

Ex.No:A

#T&RARY INFORMATION SYSTEM

Date:

Aim:

To Develop a Project of 9i*rary Information System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for "oo' Transaction.

ER Diagram:

B$ID

B$Name

AuName No"py

)ibTab

TrDt TrCd

BalB$

Database Design:

Table Name: #ibTab

Field Name Data Type "'Id "'Name 3uName No/py TrDt Tr/d "al"' !arc-ar.+4, !arc-ar.+.$, !arc-ar.+.4, Num*er Date !arc-ar.+1$, Num*er+4,

Comment "oo' Identification Num*er "oo' Name 3ut-or Name Num*er of /opies Transaction Date Transaction /ode L)eceivedHIssuedM Num*er of "alance "oo'

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom 9ISTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, IDTxt ; :: NamTxt ; :: 3utTxt ; :: NocTxt ; :: DtTxt ; :: Tr/m* ; :: "alTxt ; :: End Su*

Private Su* Display+, IDTxt ; )s+$, NamTxt ; )s+1, 3utTxt ; )s+., NocTxt ; )s+1, DtTxt ; )s+@, Tr/m* ; )s+4,

"alTxt ; )s+#, End Su*

Private Su* DtTxt8(ot7ocus+, DtTxt ; Date End Su*

Private Su* Tr/m*89ost7ocus+, Dim Noc> "al 3s Dou*le Noc ; !al+NocTxt, If Tr/m*.Text ; :ISSUED: T-en If Noc I . T-en 5s "ox :Transaction Declained: "alTxt ; Noc End If "alTxt ; Noc G 1 ElseIf Tr/m*.Text ; :)E/EI!ED: T-en "alTxt ; Noc F 1 End If End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 IDTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; U/ase+Trim+IDTxt,, )s+1, ; NamTxt )s+., ; 3utTxt )s+1, ; NocTxt )s+@, ; DtTxt )s+4, ; Tr/m* )s+#, ; "alTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim "Id 3s Strin )s.5ove7irst "Id ; U/ase+Trim+Input"ox+:Enter "oo' ID 0-ic- U 0ant to 5odify:,,, 7or I ; 1 To )s.)ecord/ount If "Id ; )s+$, T-en

Display Exit Su* Else )s.5oveNext End If Next I End Su*

Private Su* Del/md8/lic'+, Dim "Id 3s Strin )s.5ove7irst "Id ; U/ase+Trim+Input"ox+:Enter "oo' ID 0-ic- U 0ant to Delete:,,, 7or I ; 1 To )s.)ecord/ount If "Id ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next I End Su*

Private Su* )ep/md8/lic'+, Dim /md 3s Ne6 3D%D"./ommand /md.Parameters.)efresData)eport1.S-o6 Unload DataEnvironment1 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for 9i*rary Information System -as *een verified and Executed Successfully> "oo' Transaction )eport -as *een enerated.

Ex.No:B

IN%OICE SYSTEM

Date:

Aim:

To Develop a Project of an Invoice System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for Discount of Purc-asin Details.

ER Diagram:

SerNo

PrdType

PrdNam e

PurAmt

In#Tab

In#Dt NetAmt DisCnt

Database Design:

Table Name: In,Tab

Field Name Data Type

Comment

SerNo PrdName PrdType Pur3mt InvDt Dis/nt Net3mt

Num*er+4, !arc-ar.+.$, !arc-ar.+4, Num*er+&>., Date Num*er+&>., Num*er+&>.,

Serial Num*er Product Name Product Type Purc-asin 3mount Invoice Date Discount 3mount Net 3mount

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+,

/n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom InvTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, SNoTxt ; :: PN/m* ; :: PT/m* ; :: 3mtTxt ; :: DtTxt ; :: DisTxt ; :: NetTxt ; :: End Su*

Private Su* Display+, SNoTxt ; )s+$, PN/m* ; )s+1, PT/m* ; )s+., 3mtTxt ; )s+1, DtTxt ; )s+@, DisTxt ; )s+4, NetTxt ; )s+#, End Su*

Private Su* 3mtTxt89ost7ocus+, Dim 3mt> Dis 3s Dou*le DtTxt ; Date 3mt ; !al+3mtTxt, If PT/m*.Text ; :3: T-en Dis ; 3mt = +14 E 1$$, ElseIf PT/m*.Text ; :": T-en Dis ; 3mt = +1$ E 1$$, ElseIf PT/m*.Text ; :/: T-en Dis ; 3mt = +4 E 1$$, End If DisTxt ; Dis NetTxt ; 3mt G Dis End Su*

Private Su* PN/m*8(ot7ocus+, PN/m*./lear If PT/m*.Text ; :3: T-en PN/m*.3ddItem :3NE: PN/m*.3ddItem :P%NDS: PN/m*.3ddItem :S3ND%9: ElseIf PT/m*.Text ; :": T-en PN/m*.3ddItem :53)(%: PN/m*.3ddItem :P%0E): PN/m*.3ddItem :D%!E: ElseIf PT/m*.Text ; :/: T-en

PN/m*.3ddItem :(%%D D32: PN/m*.3ddItem :/)3/? D3/?: PN/m*.3ddItem :")IT3NNI3: End If End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 SNoTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; SNoTxt )s+1, ; PN/m* )s+., ; PT/m* )s+1, ; 3mtTxt )s+@, ; DtTxt )s+4, ; DisTxt )s+#, ; NetTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim SNo 3s Dou*le )s.5ove7irst SNo ; !al+Input"ox+:Enter Serial No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If SNo ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim SNo 3s Dou*le )s.5ove7irst SNo ; !al+Input"ox+:Enter Serial No 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If SNo ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear

Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Inv)ep.S-o6 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for an Invoice System -as *een verified and Executed Successfully> Invoice "ill -as *een enerated.

Ex.No:&

IN%ENTORY SYSTEM

Date:

Aim:

To Develop a Project of an Inventory System Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for Stoc' 5aintenance Details.

ER Diagram:
ItemNa me ItemCd Cost

*ty+nd InrTab

InrDt Bal TrCode *ty

Database Design:

Table Name: InrTab

Field Name Data Type Item/d ItemName /ost OtyCnd InrDt Tr/ode Oty "al !arc-ar.+4, !arc-ar.+.$, Num*er+&>., Num*er+#, Date !arc-ar.+1$, Num*er+#, Num*er+#,

Comment Item /ode Item Name /ost Per Item Ouantity in Cand Inventory Date Transaction /ode Ouantity LIssuedH)eceivedM "alance Item in Cand

Coding: Dim /n 3s Ne6 3D%D"./onnection

Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom InrTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, IcdTxt ; :: INmtxt ; :: /stTxt ; :: OCdTxt ; :: DtTxt ; :: Tr/m* ; :: OtyTxt ; :: St'Txt ; :: End Su*

Private Su* Display+, IcdTxt ; )s+$, INmtxt ; )s+1, /stTxt ; )s+., OCdTxt ; )s+1, DtTxt ; )s+@, Tr/m* ; )s+4,

OtyTxt ; )s+#, St'Txt ; )s+A, End Su*

Private Su* DtTxt8(ot7ocus+, DtTxt ; Date End Su*

Private Su* OtyTxt89ost7ocus+, Dim OCD> OT2 3s Dou*le OCD ; !al+OCdTxt, OT2 ; !al+OtyTxt, If Tr/m*.Text ; :ISSUED: T-en St'Txt ; OCD G OT2 ElseIf Tr/m*.Text ; :)E/EI!ED: T-en St'Txt ; OCD F OT2 End If End Su*

Private Su* Ne6/md8/lic'+,

)s.3ddNe6 IcdTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; IcdTxt )s+1, ; INmtxt )s+., ; /stTxt )s+1, ; OCdTxt )s+@, ; DtTxt )s+4, ; Tr/m* )s+#, ; OtyTxt )s+A, ; St'Txt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim Item/ode 3s Strin )s.5ove7irst Item/ode ; Trim+Input"ox+:Enter Item /ode 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If Item/ode ; )s+$, T-en Display

Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim Item/ode 3s Strin )s.5ove7irst Item/ode ; Trim+Input"ox+:Enter Item /ode 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If Item/ode ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, Inr)ep.S-o6

End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for an Inventory System -as *een verified and Executed Successfully> Stoc' 5aintenance )eport -as *een enerated.

Ex.No:1$

TE#E"(ONE DIRECTORY MAINTENANCE

Date:

Aim:

To Develop a Project of Tele P-one Directory 5aintenance Usin !isual "asic #.$ as a front End and %racle &i as a "ac' End Tool and (enerate a )eport for Sorted %rder of Telep-one Directory.

ER Diagram:

TeleNo

CName CAddr TdTab

E(Code E(Name

E(Addr

Database Design:

Table Name: TdTab

Field Name Data Type TeleNo /Name /3ddr Ex/ode ExName Ex3ddr Num*er+1$, !arc-ar.+14, !arc-ar.+.$, Num*er+4, !arc-ar.+.$, !arc-ar.+.$,

Comment Tele P-one Num*er /ustomer Name /ustomer 3ddress Exc-an e /ode Exc-an e Name Exc-an e 3ddress

Coding:

Dim /n 3s Ne6 3D%D"./onnection Dim )s 3s Ne6 3D%D".)ecordset

Private Su* 7orm89oad+, /n.%pen :Provider ; 5SD3%)3.1< User ID ; Scott< Pass6ord ; Ti er< Persist Security Info ; True: /n./ursor9ocation ; adUse/lient )s.%pen :Select = 7rom TDTa*:> /n> ad%pen?eyset> ad9oc'%ptimistic End Su*

Private Su* /lear+, TNoTxt ; :: /NamTxt ; :: /3ddrTxt ; :: Ex/dTxt ; :: ExNamTxt ; :: Ex3ddTxt ; :: End Su*

Private Su* Display+, TNoTxt ; )s+$,

/NamTxt ; )s+1, /3ddrTxt ; )s+., Ex/dTxt ; )s+1, ExNamTxt ; )s+@, Ex3ddTxt ; )s+4, End Su*

Private Su* Ne6/md8/lic'+, )s.3ddNe6 TNoTxt.Set7ocus /lear End Su*

Private Su* Sav/md8/lic'+, )s+$, ; TNoTxt )s+1, ; /NamTxt )s+., ; /3ddrTxt )s+1, ; Ex/dTxt )s+@, ; ExNamTxt )s+4, ; Ex3ddTxt )s.Update 5s "ox :)ecord Saved: /lear End Su*

Private Su* 5od/md8/lic'+, Dim TNo 3s Dou*le )s.5ove7irst TNo ; !al+Input"ox+:Enter TeleP-one No 0-ic- U 0ant to 5odify:,, 7or i ; 1 To )s.)ecord/ount If TNo ; )s+$, T-en Display Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* Del/md8/lic'+, Dim TNo 3s Dou*le )s.5ove7irst TNo ; !al+Input"ox+:Enter TeleP-one 0-ic- U 0ant to Delete:,, 7or i ; 1 To )s.)ecord/ount If TNo ; )s+$, T-en Display )s.Delete 5s "ox :)ecord Deleted Successfully: /lear Exit Su* Else )s.5oveNext End If Next i End Su*

Private Su* )ep/md8/lic'+, TD)ep.S-o6 End Su*

Private Su* Ext/md8/lic'+, End End Su*

Form Design:

Report:

Con l!sion:

Date:

T-e Project for Tele P-one Directory 5aintenance -as *een verified and Executed Successfully> Sorted %rder of Telep-one Directory )eport -as *een enerated.

Das könnte Ihnen auch gefallen