SYNOPSIS NEWS AGENCY SYSTEM Submitted to Guru Jambheswar University of Science and Technology, Hisar For the approval of degree of MASTER OF COMPUTER APPLICATIONS (6 TH Semester) IN Directorate of Distance Education Guru Jambheswar University of Science and Technology, Hisar. Submitted by Student’s Name : Rekha Roll No: 04884111 Under the Supervision of Supervisor’s Name : Mr. Satish Kumar Lecturer in Govt. College, Sec.- 14 Gurgaon Directorate of Distance Education Guru Jambheswar University of Science and Technology,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SYNOPSISNEWS AGENCY SYSTEM
Submitted toGuru Jambheswar University of Science and Technology,
Hisar
For the approval of degree ofMASTER OF COMPUTER APPLICATIONS
(6TH Semester)IN
Directorate of Distance EducationGuru Jambheswar University ofScience and Technology, Hisar.
Submitted by Student’s Name : Rekha
Roll No: 04884111
Under the Supervision ofSupervisor’s Name : Mr. Satish Kumar
Lecturer in Govt. College, Sec.- 14 Gurgaon
Directorate of Distance EducationGuru Jambheswar University of
Science and Technology,Hisar – 125001
(2007-08)
INTRODUCTION
NEWS AGENCY SYSTEM
The project News agency system is being developed to manage the system of agency.
News Agency system basically deals with Hawkers details, Press details, Profit &Loss
details, Expenses details, Paper distribution, calculation according to various categories
of employees like whether he is salaried etc. all these are maintained with the use of
software. The project is quite useful in decreasing the manual calculation part, and keeps
record of various customers in an efficient manner. I will introduce the following
modules in my project.
Hawkers Detail Module
Press Detail Module
Yearly Profit/Loss Module
Agency’s Expenses Module
Paper Detail Module
Press Invoice Module
Hawker Invoice Module
Paper’s Price Module
All the modules are integrated with each other.
OBJECTIVE
Man has always been aiming at getting the output of its account in the shortest span
of time and by least possible efforts. This is being achieved through various invention
and discoveries in the form of tools, machines & methods.
Machines have invented to help the thinking skills of man. Undoubtedly, computer
invention is the greatest boom. Unsurprisingly, computer has become an integral part
of our life today. Its accuracy and fast speeds are beyond imagination. The main
objective of computers are to transform input (data such as raw facts, figures of list)
into useful output (information) through electronic processing .As they generate
information, computer system are often processing called information system too.
The objectives of developing this system are: -
To determine the strength, weakness, opportunity, threat in the context of agency.
To maintain computerized data.
To maintain large database.
To predict the future of agency.
SCOPE
The scope of News agency system is very wide. It can be used by any news
agency and in any language like English, Tamil, and Talgu Punjabi etc.
The news agency system helpful for the all computerized system. It can be
increases the benefits of the company & saves the money.
In the present time, human suffer from the many problems. The problem can be
economic, social etc. such type of problem can be solve very easily by this
news agency system.
The growth of human future increases by this news agency system. It can be
provide the good opportunity for the human.
RESEARCH METHODOLOGY
I went to Nav Bharat and Nabhchor Agency. There I found that they have certain
problem in maintaining modules like Hawkers detail module, Press detail module,
Profit/Loss Module, Agency Expenses module etc. So I want to computerize that
data. The module define in introduction will help to achieve the started objective like
Profit /Loss modules will help in predicting future profit and loss, weakness of
agencies, Hawkers details will give information about Hawkers working in other city
etc.
BIBLIOGRAPHY
1 Brain Siler And Jess Scotts “Special Addition Using VB-6.0”Prentice Hall of India Pvt Ltd,New Delhi-110001,2005.
2 Reeta Sahoo “ Saraswati Information Technology”.Sarswatin House Pvt Ltd, New Delhi-110001, 2004.
3 Loonie E.Moseley And David M.Boodey “Mastering Microsoft Office 97”.BPB Publication, New Delhi.
4 NIIT “ Microsoft Access”. NIIT Limited, Ch annai
Paper_id NumberName TextDate Date/TimeTotal_copies Number
Profit/Loss Table
Field Name Data Type
Month NumberYear TextExpense NumberPress_Payment NumberHawker_Payment NumberProfit/Loss Number
Expenses Table
Field Name Data Type
Month NumberYear TextTotal_Expenses NumberAmount_Paid NumberAmount_Received NumberProfit/Loss Number
Forms Design :
Design of Welcome form
Design of Authentication Form
Design of MDI Form
Design of Hawker Detail Form
Design of Press Invoice
Design of Paper Detail
Design of Hawker Invoice
Design of Profit And Loss
Design of Expenses
Design of Paper’s Price
Design of Search By Hawker Id
Design of Search By Paper Id
Data Report Design
Design of Hawker Detail
Design of Paper Detail
Design of Press Invoice
Design of Hawker Invoice
Coding
' Coding of Welcome form
Private Sub Label6_Click()EndEnd Sub
Private Sub Label7_Click()Form4.ShowForm10.HideEnd Sub
Private Sub Timer1_Timer()Label6.ForeColor = RGB(200, 0, 0)Timer2.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseEnd Sub
Private Sub Timer2_Timer()Label6.ForeColor = RGB(200, 0, 200)Timer3.Enabled = TrueTimer1.Enabled = FalseTimer2.Enabled = FalseEnd Sub
Private Sub Timer3_Timer()Label6.ForeColor = RGB(0, 0, 200)Timer1.Enabled = TrueTimer2.Enabled = FalseTimer3.Enabled = FalseEnd Sub
Private Sub Timer4_Timer()Label7.ForeColor = RGB(0, 0, 200)Timer5.Enabled = TrueTimer4.Enabled = FalseTimer6.Enabled = FalseEnd Sub
Private Sub Timer5_Timer()Label7.ForeColor = RGB(200, 0, 0)Timer6.Enabled = TrueTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub
Private Sub Timer6_Timer()Label7.ForeColor = RGB(200, 0, 200)Timer4.Enabled = TrueTimer5.Enabled = FalseTimer6.Enabled = FalseEnd Sub
' Coding of Authentication Form
Private Sub cmdcancel_Click()txtname.Text = ""txtpassword.Text = ""End Sub
Private Sub cmdexit_Click()EndEnd Sub
Private Sub cmdsave_Click()If ((Trim(txtname.Text) = "Administrator" Or (Trim(txtname.Text) = "administrator")) And ((Trim(txtpassword.Text) = "password" Or (Trim(txtpassword.Text) = "Password")))) ThenForm11.visible = TrueForm4.Visible = FalseElseMsgBox "Please enter a valid user name or password or there may be CapsLock is accidently on", vbCritical, "Login"txtname.SetFocustxtname.Text = ""End IfEnd Sub
Private Sub Form_Load()txtname.Text = ""txtpassword.Text = ""End Sub
Private Sub txtname_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtpassword.SetFocusEnd IfEnd Sub
' Coding of MDI Form
Private Sub a_Click()form3.ShowEnd Sub
Private Sub c1_Click()Form2.ShowEnd Sub
Private Sub e_Click()EndEnd Sub
Private Sub e2_Click()Form7.ShowEnd Sub
Private Sub f1_Click()Form1.Visible = TrueEnd Sub
Private Sub f2_Click()Form4.Visible = TrueEnd Sub
Private Sub f3_Click()form3.Visible = TrueEnd Sub
Private Sub h1_Click()Form5.ShowEnd Sub
Private Sub MDIForm_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)If Button = 2 ThenPopupMenu fEnd IfEnd Sub
Private Sub p2_Click()Form6.ShowEnd Sub
Private Sub r1_Click()DataReport1.ShowEnd Sub
Private Sub r3_Click()Form13.ShowEnd Sub
Private Sub r4_Click()Form12.ShowEnd Sub
Private Sub s1_Click()Form8.ShowEnd Sub
Private Sub s2_Click()Form9.ShowEnd Sub
' Coding of Hawker Detail
Private Sub cmbsex_Click()txtsex.Text = cmbsex.TextEnd Sub
Private Sub cmdback_Click()If Data1.Recordset.BOF = True ThenData1.Recordset.MoveFirstElseData1.Recordset.MovePreviousEnd IfEnd Sub
Private Sub cmdclear_Click()Data1.Recordset.EditEnd Sub
Private Sub cmdclose_Click()Frame1.Visible = FalseEnd Sub
Private Sub cmddelete_Click()Data1.Recordset.DeleteIf Data1.Recordset.EOF = True ThenData1.Recordset.MovePreviousElse: Data1.Recordset.MoveNextEnd IfEnd Sub
Private Sub cmdexit_Click()Unload MeEnd Sub
Private Sub cmdfind_Click()Dim s As Integers = 1Data1.RefreshData1.Recordset.MoveFirstWhile (Data1.Recordset.EOF = False)a = Data1.Recordset.Fields("hawker_detail")If Trim(UCase(txtsearch.Text)) = Trim(a) Thens = 0GoTo kk
End IfData1.Recordset.MoveNextWendkk:If s = 1 ThenMsgBox "No Match Found For This HawkerId", vbInformation + vbOKOnlyEnd IfEnd Sub
Private Sub cmdmovefirst_Click()Data1.Recordset.MoveFirstMsgBox "You have reached on the first record"End Sub
Private Sub cmdmovelast_Click()Data1.Recordset.MoveLastMsgBox "You have reached on the last record"End Sub
Private Sub cmdmovenext_Click()If Data1.Recordset.EOF = True ThenData1.Recordset.MoveLastElseData1.Recordset.MoveNextEnd IfEnd Sub
Private Sub cmdnew_Click()Dim i As IntegerData1.RefreshIf Data1.Recordset.EOF And Data1.Recordset.BOF Theni = 0ElseData1.Recordset.MoveLasti = Val(Mid(Data1.Recordset.Fields("hawker_detail"), 2))End IfData1.Recordset.AddNewi = i + 1txthawkerid = "H" + Trim(Str(i))End Sub
Private Sub cmdrefresh_Click()txtsearch.Text = ""End Sub
Private Sub cmdsave_Click()
If (Trim(txthawkerid.Text)) = "" ThenMsgBox "Enter the id of Hawker of your choice"txthawkerid.SetFocusElseIf (Trim(txtname.Text)) = "" ThenMsgBox "Enter the name of the hawker"txtname.SetFocusElseIf (Trim(txtage.Text)) = "" ThenMsgBox "Enter the age of the Hawker"txtage.SetFocusElseIf (Trim(txtsex.Text)) = "" ThenMsgBox "Enter the sex of the Hawker"txtsex.SetFocusElseIf (Trim(txtaddress.Text)) = "" ThenMsgBox "Enter the address of the Hawker"txtaddress.SetFocusElseIf (Trim(txtcity.Text)) = "" ThenMsgBox "Enter the city of the Hawker"txtcity.SetFocusElseIf (Trim(txtstate.Text)) = "" ThenMsgBox "Enter the state of the Hawker"txtstate.SetFocusElseIf (Trim(txtphone.Text)) = "" ThenMsgBox "Enter phone number of the hawker"txtphone.SetFocusElseData1.Recordset.UpdateMsgBox "Record has been Saved"End IfEnd Sub
Private Sub cmdsearch_Click()s = MsgBox("Do you want search a record", vbYesNo)If s = vbYes ThenFrame1.Visible = TrueEnd IfIf s = vbNo ThenFrame1.Visible = FalseMsgBox "Click proper command according to operation"End IfEnd Sub
Private Sub Command2_Click()Frame1.Visible = FalseEnd Sub
Private Sub Timer2_Timer()Label1.ForeColor = RGB(220, 50, 100)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = TrueTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub
Private Sub Timer3_Timer()Label1.ForeColor = RGB(180, 20, 180)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = TrueTimer5.Enabled = FalseEnd Sub
Private Sub Timer4_Timer()Label1.ForeColor = RGB(200, 200, 20)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = TrueEnd Sub
Private Sub Timer5_Timer()Label1.ForeColor = RGB(250, 0, 90)Timer2.Enabled = FalseTimer1.Enabled = TrueTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub
Private Sub txtaddress_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Then
txtcity.SetFocusEnd IfEnd Sub
Private Sub txtage_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtsex.SetFocusEnd IfEnd Sub
Private Sub txtcity_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtstate.SetFocusEnd IfEnd Sub
Private Sub txthawkerid_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtname.SetFocusEnd IfEnd Sub
Private Sub txtname_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtage.SetFocusEnd IfEnd Sub
Private Sub txtphone_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thencmdnew.SetFocusEnd IfEnd Sub
Private Sub txtsex_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtaddress.SetFocusEnd IfEnd Sub
Private Sub txtstate_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtphone.SetFocusEnd IfEnd Sub
‘Coding of Paper Detail
Option Explicit
Private Sub cmdclear_Click()Data1.Recordset.EditEnd Sub
Private Sub cmdclose_Click()Frame1.Visible = FalseEnd Sub
Private Sub cmddelete_Click()Data1.Recordset.DeleteIf Data1.Recordset.EOF = True ThenData1.Recordset.MovePreviousElseData1.Recordset.MoveNextEnd IfEnd Sub
Private Sub cmdexit_Click()Unload MeEnd Sub
Private Sub cmdfind_Click()Dim a As StringDim s As Integers = 1Data1.RefreshData1.Recordset.MoveFirstWhile (Data1.Recordset.EOF = False)a = Data1.Recordset.Fields("paper_id")If Trim(txtsearch.Text) = Trim(a) Thens = 0GoTo outEnd IfData1.Recordset.MoveNextWendout:If s = 1 ThenMsgBox "No Match Found For This paperId", vbInformation + vbOKOnlyEnd If
End Sub
Private Sub cmdfirst_Click()Data1.RefreshData1.Recordset.MoveFirstMsgBox "You have reached on the first record"End Sub
Private Sub cmdlast_Click()Data1.RefreshData1.Recordset.MoveLastMsgBox "You have reached on the last record"End Sub
Private Sub cmdnew_Click()Dim i As IntegerData1.RefreshIf Data1.Recordset.BOF And Data1.Recordset.EOF Theni = 0ElseData1.Recordset.MoveLasti = Data1.Recordset.Fields("paper_id")End IfData1.Recordset.AddNewtxtpaperid.Text = i + 1txtpapername.Text = ""End Sub
Private Sub cmdnext_Click()If Data1.Recordset.EOF = True ThenData1.Recordset.MoveLastElseData1.Recordset.MoveNextEnd IfEnd Sub
Private Sub cmdprevious_Click()If Data1.Recordset.BOF = True ThenData1.Recordset.MoveFirstElseData1.Recordset.MovePreviousEnd IfEnd Sub
Private Sub cmdrefresh_Click()
txtsearch.Text = ""End Sub
Private Sub cmdsave_Click()If (Trim(txtpaperid.Text)) = "" ThenMsgBox "Enter the newspaperid of your choice"txtpaperid.SetFocusElseIf (Trim(txtpapername.Text)) = "" ThenMsgBox "Enter the name of the paper"txtpapername.SetFocusElseData1.Recordset.UpdateMsgBox "Record has been Saved"End IfEnd Sub
Private Sub cmdsearch_Click()Dim s As Integers = MsgBox("Do you want search a record", vbYesNo)If s = vbYes ThenFrame1.Visible = TrueEnd IfIf s = vbNo ThenFrame1.Visible = FalseMsgBox "Click proper command according to operation"End IfEnd Sub
Private Sub Timer1_Timer()Label1.ForeColor = RGB(250, 0, 230)Timer2.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub
Private Sub Timer2_Timer()Label1.ForeColor = RGB(220, 50, 100)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = TrueTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub
Private Sub Timer3_Timer()Label1.ForeColor = RGB(180, 20, 180)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = TrueTimer5.Enabled = FalseEnd Sub
Private Sub Timer4_Timer()Label1.ForeColor = RGB(200, 200, 20)Timer2.Enabled = FalseTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = TrueEnd Sub
Private Sub Combo2_Click()txtfind.Text = Combo2.TextEnd Sub
Private Sub Command1_Click()Data1.Recordset.AddNewEnd Sub
Private Sub Command2_Click()Data1.Recordset.CancelUpdateEnd Sub
Private Sub Command3_Click()Data1.Recordset.EditEnd Sub
Private Sub Command4_Click()Frame3.Visible = TrueData4.Recordset.MoveFirstWhile Data4.Recordset.EOF = FalseCombo2.AddItem Data4.Recordset.Fields("paper_name")Data4.Recordset.MoveNextWendEnd Sub
Private Sub Command5_Click()Unload MeEnd Sub
Private Sub Command6_Click()Frame3.Visible = FalseEnd Sub
Private Sub Command7_Click()txtfind.Text = ""Combo2.Text = ""Text7.Text = ""End Sub
Private Sub Command8_Click()Frame1.Visible = FalseEnd Sub
Private Sub DTPicker1_Change()Text7.Text = DTPicker1.ValueEnd Sub
Private Sub Command9_Click()If (Text1.Text = "") ThenMsgBox "Please select the paper id "ElseIf (Text2.Text = "") ThenMsgBox "Please enter the paper name"ElseIf (Text3.Text = "") ThenMsgBox "Please enter the date"ElseIf (Text4.Text = "") ThenMsgBox "Please enter the total copies of the paper"ElseIf (Text5.Text = "") ThenMsgBox "Please enter the price of the paper"ElseData1.Recordset.UpdateMsgBox "Your Record has been saved", vbInformationEnd IfEnd Sub
Private Sub Form_activate()Combo1.ClearData2.Recordset.MoveFirstWhile Data2.Recordset.EOF = FalseCombo1.AddItem Data2.Recordset.Fields("paper_id")Data2.Recordset.MoveNextWendData2.RefreshText5.Enabled = FalseEnd Sub
Private Sub Text4_Change()a = Text4.Textb = Text5.TextText6.Text = Val(a) * Val(b)End Sub
‘Coding Of Hawker Invoice
Dim j As Integer
Private Sub cmbhawkerid_Click()a = 0b = 0Data2.RefreshData2.Recordset.MoveFirstWhile Data2.Recordset.EOF = FalseIf Trim(cmbhawkerid.Text) = Data2.Recordset.Fields("hawker_detail") Thentxtname.Text = Data2.Recordset.Fields("name")GoTo a2End IfData2.Recordset.MoveNextWenda2:Dim d As Dated = txtdate.TextWhile Data6.Recordset.EOF = FalseIf DateDiff("d", txtdate, Data6.Recordset.Fields("pdate")) = 0 Thena = Data6.Recordset.Fields("total_copies")b = b + aEnd IfData6.Recordset.MoveNextWendText6.Text = bEnd Sub
Private Sub cmdexit_Click()Unload MeEnd Sub
Private Sub cmdnew_Click()Data3.Recordset.AddNewtxtdate.Text = DateEnd Sub
Private Sub cmdsave_Click()If Len(Trim(cmbhawkerid.Text)) = 0 ThenMsgBox "Enter the hawkerid of your choice"cmbhawkerid.SetFocus
ElseIf Len(Trim(txtname.Text)) = 0 ThenMsgBox "Enter the hawker name"txtname.SetFocusElseIf Len(Trim(txtdate.Text)) = 0 ThenMsgBox "Enter the date of each newspaper"txtdate.SetFocusElseIf Len(Trim(txtamount.Text)) = 0 ThenMsgBox "Enter the total amount"txtamount.SetFocusElseData3.Recordset.UpdateMsgBox "Record has been Saved"End IfEnd Sub
Private Sub cmdupdate_Click()Data2.Recordset.EditEnd Sub
Private Sub Form_activate()Data1.Recordset.MoveFirstFor j = 0 To 9Text1(j).Enabled = FalseNext ji = 0While Data1.Recordset.EOF = FalseText1(i).Text = Data1.Recordset.Fields("paper_name")i = i + 1Data1.Recordset.MoveNextWendData2.Recordset.MoveFirstWhile Data2.Recordset.EOF = Falsecmbhawkerid.AddItem Data2.Recordset.Fields("hawker_detail")Data2.Recordset.MoveNextWendEnd Sub
Private Sub Form_Load()txtdate.Text = DateEnd Sub
Private Sub Command1_Click()Dim days As Datedays = txtdate.TextFor i = 0 To 9If Text4(i) = "" Then
Text4(i) = "0"End IfNext iDim a As DoubleDim Z As DoubleDim k As DoubleDim flag As Integerk = 0Z = 0For i = 0 To 9flag = 1Data4.RefreshData4.Recordset.MoveFirstWhile Data4.Recordset.EOF = FalseIf Data4.Recordset.Fields("PAPER_NAME") = Trim(Text1(i).Text) And (DateDiff("d", days, Data4.Recordset.Fields("pdate")) = 0) Thenk = Data4.Recordset.Fields("Price")flag = 0MsgBox ka = Val(Text4(i).Text)Z = Z + k * aEnd IfData4.Recordset.MoveNextWendIf flag = 1 ThenText4(i).Text = 0End IfNext itxtamount.Text = ZEnd Sub
‘Coding Of Profit and Loss
Option Explicit
Private Sub cmdenter_Click()Dim a As DoubleDim p As Booleanp = 0While (Data1.Recordset.EOF = False)If ((txtmonth.Text) = Data1.Recordset.Fields("month") And (txtyear.Text) = Data1.Recordset.Fields("year")) Thenp = 0Text1.Text = Data1.Recordset.Fields("Total_Expenses")Text2.Text = Data1.Recordset.Fields("Amount_Paid")Text3.Text = Data1.Recordset.Fields("Amount_Received")End IfData1.Recordset.MoveNextWendIf p = 1 ThenMsgBox "No Record for the given month or year", vbInformationtxtmonth.SetFocustxtmonth.Text = ""txtyear.Text = ""Exit SubEnd IfFrame1.Visible = Truea = Val(Text1.Text) + Val(Text2.Text)Text4.Text = Val(Text3.Text) - aText1.Enabled = FalseText2.Enabled = FalseText3.Enabled = FalseText4.Enabled = FalseIf (Val(Text4.Text) < 0) ThenMsgBox "Loss: " & Text4.TextElseMsgBox "Gain: " & Text4.TextEnd IfEnd Sub
Private Sub cmdexit_Click()MDIForm1.ShowForm5.Hide
End Sub
Private Sub cmdsearch_Click()txtmonth.Text = ""txtyear.Text = ""End Sub
Private Sub Command1_Click()Frame1.Visible = FalseEnd Sub
‘Coding Of Expenses
Private Sub Command1_Click()If Text1.Text = "" ThenMsgBox "Plese enter the value of total Number of Expenses "ElseIf Text2.Text = "" ThenMsgBox "Please enter the value of Amount Paid"ElseIf Text3.Text = "" ThenMsgBox "Please enter the value of Amount Paid"ElseIf Text4.Text = "" ThenMsgBox "Please enter the value of Month"ElseIf Text5.Text = "" ThenMsgBox "Please enter the value of Year"ElseData1.Recordset.UpdateMsgBox "Your Record Has Been Saved", vbInformationEnd IfEnd Sub
Private Sub Command2_Click()Unload MeEnd Sub
Private Sub Command3_Click()Data1.RefreshData1.Recordset.AddNewText6.Text = ""End Sub
Private Sub Command4_Click()Data1.Recordset.MoveFirstMsgBox "You Have Reached On The First Record"End Sub
Private Sub Command5_Click()If Data1.Recordset.EOF = True ThenData1.Recordset.MoveFirstElseData1.Recordset.MoveNextEnd IfEnd Sub
Private Sub Command6_Click()If Data1.Recordset.BOF = True ThenData1.Recordset.MoveFirstElseData1.Recordset.MovePreviousEnd IfEnd Sub
Private Sub Command7_Click()Data1.Recordset.MoveLastMsgBox "You Have Reached On The Last Record"End Sub
Private Sub Command8_Click()Data1.Recordset.EditEnd Sub
Private Sub Text3_CLICK()Dim a As Doublea = Val(Text1.Text) + Val(Text2.Text)b = Val(Text3.Text) - Val(a)Text6 = bEnd Sub
‘Coding of Price
Private Sub Command11_Click()EndEnd Sub
Private Sub Command13_Click()Frame1.Visible = FalseEnd Sub
Private Sub Command14_Click()Text3.Text = ""End Sub
Private Sub Command2_Click()Data3.Recordset.CancelUpdate Private Sub Combo1_Click()Data1.RefreshWhile (Data1.Recordset.EOF = False)If Combo1.Text = Data1.Recordset.Fields("Paper_Name") ThenText2.Text = Data1.Recordset.Fields("Paper_Price")End IfData1.Recordset.MoveNextWendEnd Sub
End Sub
Private Sub Command4_Click()Data3.Recordset.EditText2.Enabled = TrueEnd Sub
Private Sub Command6_Click()Unload MeEnd Sub
Private Sub Form_activate()Text2.Enabled = FalseData2.RefreshData2.Recordset.MoveFirstWhile (Data2.Recordset.EOF = False)
Combo1.AddItem Data2.Recordset.Fields("paper_name")Data2.Recordset.MoveNextWendEnd Sub