Sie sind auf Seite 1von 91

COMPUTERIZED GRADING SYSTEM Libertad National High School Libertad, Abulug, Cagayan

A Project Proposal Presented to the Faculty Of the College of Information Technology International School of Asia and the Pacific Alimannao Hills, Penablanca, Cagayan

In Partial Fulfillment of the Requirements for the Degree Bachelor of Science in Information Technology

Presented by: Rhea A. Tingle Trofie C. Raa

LIBERTAD NATIONAL HIGH SCHOOL COMPUTERIZED GRADING SYSTEM

A Project Proposal Presented to the Faculty Of the College of Information Technology International School of Asia and the Pacific Alimannao Hills, Penablanca, Cagayan

In Partial Fulfillment of the Requirements for the Degree Bachelor of Science in Information Technology

Presented by: Rhea A. Tingle Trofie C. Raa

APPROVAL SHEET March 2011 In partial fulfillment of the requirements for the degree BACHELOR OF SCIENCE IN INFORMATION TECHNOLOGY, this thesis entitled Libertad National High School Computerized Grading System, has been prepared by Rhea A. Tingle and Trofie C. Raa. ____________________ Adviser Approved by the tribunal of the Oral Examination ____________________ Panel Member Accepted as partial fulfillment of the requirements for the degree Bachelor of Science in Information Technology.

___________________________________ Program Coordinator Information Technology Department

iii

ACKNOWLEDGEMENT The researchers wishes to extend their sincerest appreciation to the Principal of the LIBERTAD NATIONAL HIGH SCHOOL, Abulug, Cagayan, Teacher and Students for their concern and assistance to the researchers work made it a success. Special acknowledgement to their subject teachers of the INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC for their patience and advices.

iv

DEDICATION This study is dedicated to the Teachers and Students of the LIBERTAD NATIONAL HIGH SCHOOL for a better performance and analization of their performances. Also dedicated to the researchers, as a requirement for their subject at the INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC.

Table of Contents APPROVAL SHEET ......................................................................................................... iii ACKNOWLEDGEMENT ..................................................... Error! Bookmark not defined. DEDICATION ................................................................................................................ iv TABLE OF CONTENTS ................................................................................................... iv CHAPTER I- Background of the Study ..............................................................................1 Introduction ...............................................................................................................1 Statement of the Problem............................................................................................1 Objectives of the Study ...............................................................................................3 Significance of the Study .............................................................................................4 Scope and delimitation ................................................................................................4 Methodology of the Study............................................................................................4 Definition of Terms .....................................................................................................7 Schedule of the Study .................................................................................................7 CHAPTER II Analysis and Presentation........................................................................ 10 History ..................................................................................................................... 10 Functions and Objectives of the Organization ............................................................. 10 Organizational Chart ................................................................................................. 11 Flow Chart Symbol .................................................................................................... 13 Flow Chart of the Present System .............................................................................. 16 CHAPTER III The Proposed System ........................................................................... 17 Description of the Proposed System ........................................................................... 17 Flow Chart of the Proposed System ............................................................................ 17 Input-Process-Output Diagram .................................................................................. 18 Hierarchical Input-Process-Output Diagram ................................................................ 19 Entity Relationship Diagram ....................................................................................... 21 Cost Benefit Analysis ................................................................................................. 22 Schedule of the Proposed System .............................................................................. 26 CHAPTER IV - Program................................................................................................. 27 Users Manual ........................................................................................................... 27
vi

Screen Shots ............................................................................................................ 27 Code ........................................................................................................................ 39 CHAPTER V Conclusion and Reccomendation .............................................................. 27 Conclusion ................................................................................................................ 84 Recommendation ...................................................................................................... 84

vii

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan CHAPTER I BACKGROUND OF THE STUDY Introduction Computer world is now at our hands, this give improvement and development of all programs in the different agencies, in offices and in schools. Paper work become easy, computation is faster, record keeping and bringing out is fast. In schools, all works became easily fast to look at record, easily to reproduce student record. Since, computation of grades is one burden of the teachers, computerization made the answer in solving, in recording and computing students performances and achievement. The same is through in keeping records and forms incorporated in their work aside from guidance and advice. Computation of grades in school became easy for modern teacher but for traditional one they found difficult but now no burden in recording, transmitting, giving the equivalent and the final grades for teachers who are computer literate, where time, effort and energy is minimized.

This is the point of this study, to device a program in order to ease the computation of grades and ranking the students basing their subjects performances. This is now the scenario and dilemma of LIBERTAD NATIONAL HIGH SCHOOL.

Chapter I: Background of the Study Page 1

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Now, with the technology which is to be developed, it will enable them to do more with less effort. The program will not continuously find way to improve and expedite the calculation of grades. The use of computer nowadays is necessary to replace the manual system that affects efficiency and effectiveness, accuracy and reliability.

Chapter I: Background of the Study Page 2

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Statement of the Problem The upgrading of the LIBERTAD NATIONAL HIGH SCHOOL will facilitate the teachers in preparing grades, submitting grading sheets thus lesser time to prepare High School Card to deliver to Parents during Card Day. Effort is lessened due to immediate inputting of data to each student in their records prepared earlier in enrollment, thus gives automatic computation of the equivalence, summing up and multiplied to its percentage for the final grade. This device is for all teachers to record all the required data needed for the component on the grading system. The final grade comes out. This system is truly

organized because all the required data is pre-programmed and settled and as a result, computation is facilitated and made easier and aside from this all records, data can be save and keep. For the student, in order to understand easily the grading system, the teacher explains the operation in the computation of their grades.

Chapter I: Background of the Study Page 3

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Objectives of the Study General Objective: To have a base system of grade computation of the LIBERTAD NATIONAL HIGH SCHOOL. This aims to lessen the time and effort in computing grades. Accurate and faster manipulating of data.

Specific Objective: Manipulate data easily. Find/copy other data easier and faster. Fast tracking in the checking of the grading sheets. Lesser time in monitoring the preparation of grading sheets.

Significance of the Study This study is beneficial on the part of the direct recipient, and the researchers itself. Scope and delimitation Scope The computerized grading system provides faculty staffs/teachers a faster and more accurate way of grade computation. This system is an enhanced way provided for the teachers of Libertad National High School for an easier way and ease of access of student grade computation and assessment.

Chapter I: Background of the Study Page 4

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Delimitation Fast application process. Fast in tracking and manipulating of grade. Lessen the time in the preparation of grading sheets. Lesser time and effort in importing grade and other data.

Methodology of the Study In this study, descriptive method is use; to do this the researchers issued questionnaires of the grading system of the different subject areas of LIBERTAD NATIONAL HIGH SCHOOL. It includes visitation, observation of the work environment and interview. Site Visit To have a clearer background, the researchers visited the location of the school, LIBERTAD NATIONAL HIGH SCHOOL at Barangay Libertad, Abulug, Cagayan and see the Computer Laboratory of the School. Interview It is a kind of collecting information or data from an individual face to face. The researchers interview the teachers computer teacher and principal of the school as to the system of grading used by the school.

Chapter I: Background of the Study Page 5

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Observation The researchers observe the teachers in manually recording computing and transmitting the grades obtain by the students in the class record to the grading sheet for checking at the office. Data Gathering In order to arrive a good output, the researchers gathered data by the descriptive Method of Research. In this method, researchers used descriptive survey through the questionnaires floated to respondents, the school teachers and students, so that researchers can gather important data and information regarding to the study that cannot ask verbally. Internet Surfing The Department of Education Website is used in gathering some data needed using www.DepEd.com.ph

Chapter I: Background of the Study Page 6

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Definition of Terms To better understand this study, listed below are terms, which are used by the Researchers in pursuing this study: Analysis the process of examining a problem and its element using a define procedure. Computer an electronic device capable of accepting data, performing arithmetic and logical procedure. Computerized refers to that system that carries control or it s conducted by means or computer. Data - collection of facts in the forms of figure, members and symbols, letters, name, etc. Database an organized have related information for future references. Documentation the collecting, abstracting, and coding have of information for future references. Fields single item of information about a person, place, or thing such s name, address, etc. Form a class referring to an object as the controls in graphical interface. Information pertains to the data and knowledge obtained from investigation, study or instruction. Information System combination of all communication method in organization. Chapter I: Background of the Study Page 7

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Input the data entered by the user, which is being transformed into meaningful operation. Manual System the process of doing or operating a certain thing involving the hands or physical force utilizing more efforts in performing. Proposal a suggestion presented to accepting or reflecting and providing the results of the process. Researchers the person involved in the study. Reports printed output as user generated. System Analysis the analysis, design, development, and implementation of computer based information system. System it is a collection of machines, methods organized to accomplish a set of specific function.

Chapter I: Background of the Study Page 8

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Schedule of the Study Gant Chart of the Schedule of the Study

Activities Week Number Data Gathering Problem Definition Project Planning System Analysis System Design Prototype Encoding Documentation System Testing Implementation System Evaluation 1

JUNE 2 3 4 1

JULY 2 3 4 1

AUGUST 2 3 4

SEPTEMBER 1 2 3 4

Chapter I: Background of the Study Page 9

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan CHAPTER II ANALYSIS AND PRESENTATION History The School was founded in 1967 through the joint efforts of Ex-Vice Mayor of Abulug, Mr. Antonio Dumayas(Deceased) with Dr. Felina G. Castillejos as School Administrator, the Libertad Barrio Council headed by Barrio Captain Rodrigo Asejo at the PTA Officials. The area of 18,125 square meters located opposite the Office of Department of Public Works and Highway, Second District of Cagayan, through President Proclamation number 699 last July 1989.The Administrator was: 1967-1968 1968-1970 1970-1977 1977-1980 1980-1982 1982-2001 2001-2003 2003-present Mrs. Felina Gummayen Mr. Eladio Miranda Mr. Pedro Agaceta Mr. Pricilla Fernandez Mr. Wilfredo P. Agustin Mrs. Paz F. Tagoc Mr. Abraham C. Acosta Mrs. Priscilla T. Pacis

With an average Students Population of 750 with 28 Teachers and Employees.

Chapter II: Analysis and Presentation Page 10

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Functions and Objectives of the Organization The Libertad National High School is a learning institution for the Basic Education with competent Teachers and supportive Parents and Community, who works together as a team to mould unique child towards the total development of his multiple intelligence in a caring and nurturing environment. Vision We shall strive for our school to be known for its student who are multitalented and whose motivations, aspirations, manners and dealings manifest a high degree of excellence who will be developed by teachers who are good models of virtues and who are creative, self-propelled, and innovative together with parents and community who are cooperative and supportive in a caring and nurturing environment. Mission The Libertad National High School is a learning institution for the Basic Education with competent teachers and supportive parents and community who work together as a team to mould each unique child towards the total development of his multiple intelligence in a caring and nurturing environment.

Chapter II: Analysis and Presentation Page 11

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Organizational Chart

Chapter II: Analysis and Presentation Page 12

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Flow Chart Symbol Terminal Block. This symbol is used to mark the start and end of the list of instruction. Start is used to mark the starting point and the End is used to mark the end of the flowchart. Input/output Block. The parallelogram symbol is used for input and output instructions. For input, the instruction that can be used is Read or Input, followed by a list of variables separated by a comma. For output, the instruction that can be used is Display or Print, followed by a list of variables and/or text that will be displayed or printed. Processing Block. This symbol is used to process calculations. Formulas are usually entered in this section of the flowchart. Formulas include variables that will be replaced by figures entered by the user. Activities that are to be performed are also included. Decision Block. A diamond shaped symbol used to indicate decisions. Done in question form and is answerable by yes or no. Uses logical relations such as equal(=), not equal(), Chapter II: Analysis and Presentation Page 13

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan greater than(>), greater than or equal to() and less than or equal to(). On-page Connectors. Flowcharts are written from top to bottom, left to right. Once the bottom of the left side is reached continuation of the flowchart can be at the right side on the same page. Off-page Connectors. This symbol is used if the flowchart is to be continued on the next page.

Flowlines. This shows the direction of the flowchart. Preparation. This symbol is used to initialize the value/s of the variable/s to be used.

Magnetic Disk. This symbol is used where data is to be stored.

Chapter II: Analysis and Presentation Page 14

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Document. output. This represents a document or a printed

Multi Document. This represents multiple documents to be printed.

Stored Data. This corresponds to any data stored in a memory or storage unit.

Manual Input. This denotes a manual entry of data.

Display. This represents data to be displayed on a monitor or projector.

Manual Operation. For process flowcharts this will indicate manual operation to be performed by an individual or group.

Chapter II: Analysis and Presentation Page 15

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Flow Chart of the Present System


Start

Subject Teacher Compute the Final Grade

Class Adviser Passes Grade to the Principal Final Grade

Validation

N
Valid?

Principal Returns to the Subject Teacher

After Principals Validation, the Teacher writes the Grades on Students Form 138

Grades are written in the Students Form 137 and stored in cabinet

End

Chapter II: Analysis and Presentation Page 16

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan CHAPTER III THE PROPOSED SYSTEM Description of the Proposed System The Grading System of Libertad National High School will greatly improve the efficiency and speed of computing grades of the student. This Computerized Grading System will help improve the speed in computing the grades of the student making the work of the teachers during examination dates easier. Likewise, in the preparation of examination, the teachers will have easier way in encoding and printing out the computed grade for the approval with an interactive interface making the process easier and comfortable for the teachers. It would eliminate the use of test papers in taking examination making it more economically friendly. It would help the students receive their scores right after examination to know their academic performance in a particular subject.

Chapter V: Conclusion and Recommendation Page 17

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Flow Chart of the Proposed System


Start

Subject Teacher choose first the grading period

Subject Teacher search and select the name of the student

Subject Teacher search and select the subject.

Input grades of student in grading areas

If all fields are filled up?

Fill up all fields then save

Y
Save?

Automatically save in the database.

End

Chapter V: Conclusion and Recommendation Page 18

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Input-Process-Output Diagram


SPLASH SCREEN

LOGIN

MAIN

SETUP

TRANSACTION COMPUTE GRADE

REPORTS

HELP

LIST OF STUDENT SECTION

ABOUT SYSTEM

LIBRARIES STUDENT

FIRST GRADING

ABOUT DEVELOPER SECOND GRADING YEAR LEVEL

SUBJECT

THIRD GRADING

INDIVIDUAL GRADE

USER ACCOUNT

FOURTH GRADING LIST OF SUBJECT

LOGOUT CLASS RECORD EXIT CLASS RECORD RANKING

GRADING SHHET

Chapter V: Conclusion and Recommendation Page 19

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Hierarchical Input-Process-Output Diagram INPUT tblUser Username Password tblStudent Student ID Student Name Address Gender Birth Date Contact Number Religion tblSubj Subject Subject Code
tblGrade1

PROCESS ADD This allows the user to add another record. EDIT This allows the user to edit ones record. DELETE
This allows the user to delete/erase record.

OUTPUT Reports List of Student List of Subject Class Record

CANCEL This allows the user to cancel what he/she do not want to happen. SAVE This allows the user to save records. COMPUTE This allows the user to compute the grade on student.

1 Grading 2nd Grading 3rd Grading 4th Grading

st

Chapter V: Conclusion and Recommendation Page 20

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Entity Relationship Diagram tblUser

tblStudent

LNHS

tblSubj

tblGrade

UserID

UserName

tblUser

Password

Type

Chapter V: Conclusion and Recommendation Page 21

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

tblGrade1

IDNO Name SubjNo

PT1

PT2

PT3

PT4

PER1

PER2

PER3

PER4

B1 Subject Q1 Section Yearlevel PRO1

B2

B3

B4

Q2

Q3

Q4

PRO2

PRO3

PRO4

A1

A2

A3

A4

UT1

UT2

UT3

UT4

TOTAL1

TOTAL2

TOTAL3

TOTAL4

Chapter V: Conclusion and Recommendation Page 22

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

Address

StudentNo

LName

Contact

FName MNam e Year_Level

tblStudent

BDate

Gender Religion StudentSec

SubjNo

Behavior

Subject tblSubj Periodic Test

Assignment

Project

Quizzes Unit Test

Performance

Chapter V: Conclusion and Recommendation Page 23

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Cost Benefit Analysis


QTY Amount
Present System Proposed System Variance Remarks

Description I. Cost of Labor Professional Rate(PR) PR=25000/month =25000/30 =833/day =833/9 PR=92/hour SUB-PROFESSIONAL RATE (SPR) SPR=PR*35% =25000*.35 =8750/month =3500/30 =291.67/day =291.67/5 SPR=58.33/hour SYSTEM DEVELOPMENT PERIOD (SDP) SDP=4 mo.* 4 wks/mo.* 7 days * 5 hrs. SDP=560 hrs. COST OF LABOR (CL) CL= SDP * SPR = 560 hrs. * P58.33 CL = P32,664.8

QTY Amount

The estimated professional rate per month is P25, 000.00. The subprofessional rate is computed 35% of the estimated professional rate

(P32,664.8)

P65,329.6

The cost of labor is computed as system development period multiplied by subprofessional rate per hour multiplied by the number of researchers. To compute for the number of hours to be consumed outside the school, 80 hours is subtracted from the total number of hours for the system development

II. Computer Equipment A. Computer Rentals Total hands-on hours in school = 80 hrs

Chapter V: Conclusion and Recommendation Page 24

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Total hands-on hours off school = SDP 80 hrs = 480 hrs which is 560 hours. The printing expense cost is P650 (P650) Printing Expenses =P650 P650

III. Supplies Ink Bond Paper IV. Miscellaneous Photo Copy(3) Book Binding

2 3

Chapter V: Conclusion and Recommendation Page 25

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Schedule of the Proposed System Gant Chart of the Schedule of the Proposed System

Activities Week Number Data Gathering Problem Definition Project Planning System Analysis System Design Prototype Encoding Documentation System Testing Implementation System Evaluation

JUNE 2 3

JULY 2 3

AUGUST 1 2 3 4

SEPTEMBER 1 2 3 4

Chapter V: Conclusion and Recommendation Page 26

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan CHAPTER IV PROGRAM Users Manual

This is the Splash Screen, the first to show on the system when it runs.

This is the Login form where you can input your Username and Password to enter the system.

Chapter V: Conclusion and Recommendation Page 27

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the content of the Setup in the Main Form

This is the Student Form which is under the content of Library. This Form shows, add, edit, delete, save Student Information. At the other Section of the form, the user can search and print student record. Chapter V: Conclusion and Recommendation Page 28

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the Subject Form which is under the content of Library. This shows, add, edit, delete, and save Subject with its corresponding percentage.

This is the User Account where the User can add, edit, delete, save its Account to enter the system. If the login user is not admin the submenu will be disabled.

Chapter V: Conclusion and Recommendation Page 29

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

When you click Logout in Setups content this message will show. If you click yes, it will go back to Login Form and if no, it will stay remain in the Main Form.

This is the content of Transaction in the Menu. It will disabled if the login user is not admin

Chapter V: Conclusion and Recommendation Page 30

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the Compute Form under the Transaction Menu. This allows the user to compute the grade of the student in every Subject.

This is the Class Record Form displaying all the grades of Student in each grading period.

Chapter V: Conclusion and Recommendation Page 31

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the content of Report in the Menu. It contains Class Record; List of Students contains the Section, Year Level and Individual Grade. The List of Subject is ready to print.

This is the Section Form; it allows User to Search the Students Year Level and Section that is ready to print when the preview button is click. This displays the Section Report.

Chapter V: Conclusion and Recommendation Page 32

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

When the Search is done and Preview Button has been click it will show the Search Section in Report and ready to print.

This is the Year Level Form; it allows User to Search the Students Year Level and Section that is ready to print when the preview button is click. This displays the Grades of Student per year level and per section..

Chapter V: Conclusion and Recommendation Page 33

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the result of searching on the Year Level form and it is now ready to print.

This is the Ranking Form with allows the user to search Year Level, Section and the Subject number. The user can select what grading period he/she like and print it when the button preview click.

Chapter V: Conclusion and Recommendation Page 34

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the Class Record Form; the User search and choose subject depending on what year level and section then the report shows the Student who has the subject chosen with their corresponding grades from 1st grading to 4th grading and their final grade.

After choosing a Subject, a Report will appear showing the list of Student who has the Subject that has been chosen with their grade.

Chapter V: Conclusion and Recommendation Page 35

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the Grade Sheet Form; user can search the year level and section of the student and the subject he/she want to search to show the computed grade from 1st grading to 4th grading including the final grade.

This is the report of the Grading sheet it displays the total grade from 1 st grading to 4th grading and automatically computes the final Grade.

Chapter V: Conclusion and Recommendation Page 36

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the content of the about menu.

This is the about the system where it display a message about the system.

Chapter V: Conclusion and Recommendation Page 37

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan

This is the Developers Form; it shows the developer of the system, it helps the user to run the system if there is a trouble.

Chapter V: Conclusion and Recommendation Page 38

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan Code


Splash Option Explicit Private Sub Form_KeyPress(KeyAscii As Integer) frmLogin.txtUser.SetFocus End Sub Private Sub Timer1_Timer() pbLoader.Value = pbLoader.Value + 1 lblPercent.Caption = pbLoader.Value / pbLoader.Max * 100 & " %" If pbLoader.Value > 1 And pbLoader.Value < 20 Then lblLoad.Caption = "Loading Program...." Else If pbLoader.Value > 20 And pbLoader.Value < 30 Then lblLoad.Caption = "Loading Tools...." Else If pbLoader.Value > 30 And pbLoader.Value < 45 Then lblLoad.Caption = "Loading Database...." End If End If End If If pbLoader.Value = 70 Then lblLoad.Caption = "Initializing...." Timer1.Interval = 30 End If If pbLoader.Value = 80 Then Timer1.Interval = 30 lblLoad.Caption = "Executing Program...." End If If pbLoader.Value = pbLoader.Max Then Timer1.Interval = 0 Unload Me frmLogin.Show End If End Sub Login Private Sub cmdClose_Click() If MsgBox("Are you sure you want to Close?", vbQuestion + vbYesNo, "Close") = vbYes Then End End If End Sub Private Sub cmdOK_Click() Static try As Integer

Chapter V: Conclusion and Recommendation Page 39

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Set con = New ADODB.Connection Set rs = New ADODB.Recordset Call connect rs.Open "select * from tbluser where username = '" & Replace(Trim(txtUser.Text), "'", "") & "' and password = '" & Replace(Trim(txtPass.Text), "'", "") & "'", conn, adOpenStatic, adLockReadOnly If rs.EOF Then MsgBox "Invalid Username or Password! " & (2 - try) & " Try remaining", vbExclamation, "LNHS" txtUser.Text = "" txtPass.Text = "" txtUser.SetFocus try = try + 1 If try = 3 Then MsgBox "You have reached the maximum trial for Logging in!", vbInformation, "Program Shutting Down" End End If Else MsgBox "Welcome " & rs.Fields("username") & " to Computerized Grading System of LNHS", vbInformation, "LNHS" frmMain.StatusBar1.Panels(2).Text = rs.Fields("username") If rs.Fields("Type").Value = "User" Then frmMain.mnutransaction.Enabled = False frmMain.mnuuseracc.Enabled = False frmMain.mnulibraries.Enabled = False frmMain.mnuindividualgrade.Enabled = False End If Unload Me frmMain.Show End If End Sub Main 'Private Sub MDIForm_QueryUnload(Cancel As Integer, UnloadMode As Integer) 'Dim a As Integer 'a = MsgBox("Are you sure you want to exit?", vbQuestion + vbOKCancel, "LNHS Computerized Grading System") ' If a = vbOK Then 'Cancel = False 'Else 'Cancel = True ' End If 'End Sub Private Sub mnuclassrec1_Click() frmClassRec.Show vbModal, frmMain End Sub Private Sub mnuclassrec2_Click()

Chapter V: Conclusion and Recommendation Page 40

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


frmChooseSubj.Label2.Caption = 1 frmChooseSubj.Show vbModal, frmMain End Sub Private Sub mnucompute_Click() frmgrade.Show End Sub Private Sub mnudeveloper_Click() frmDeveloper.Show vbModal, frmMain End Sub Private Sub mnuexit_Click() If MsgBox("Are You Sure You Want to Exit?", vbQuestion + vbYesNo, "Exit") = vbYes Then Unload Me End If End Sub Private Sub mnugradingsheet_Click() frmChooseSubj.Show frmChooseSubj.Label2.Caption = 2 End Sub Private Sub mnuGS_Click() frmChooseGS.Show vbModal, frmMain End Sub Private Sub mnuindividualgrade_Click() frmgrade.Show End Sub Private Sub mnulistsubj_Click() frmChooseYL.Show vbModal, frmMain End Sub Private Sub mnulogout_Click() If MsgBox("Are You Sure You Want to Logout?", vbQuestion + vbYesNo, "Logout") = vbYes Then Unload Me frmLogin.Show End If End Sub Private Sub mnuranking_Click() frmRank.Show vbModal, frmMain End Sub Private Sub mnusection_Click()

Chapter V: Conclusion and Recommendation Page 41

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


frmSection.Show End Sub Private Sub mnustudent_Click() frmStudent.Show vbModal, frmMain End Sub Private Sub mnusubject_Click() frmSubject.Show vbModal, frmMain End Sub Private Sub mnusystem_Click() frmSystem.Show End Sub Private Sub mnuuseracc_Click() frmUserAcc.Show vbModal, frmMain End Sub Private Sub mnuyearlevel_Click() frmYearLevel.Show End Sub Student Dim temocode As Integer Private Sub cmbreligion_Click() t9.Text = cmbreligion.Text End Sub Private Sub cmdAdd_Click() Adodc1.RecordSource = "SELECT * FROM tblstudent order by studentno" Adodc1.Refresh If Adodc1.Recordset.RecordCount = 0 Then tempcode = 1 Else Adodc1.Recordset.MoveLast tempcode = Val(Adodc1.Recordset(0)) + 1 End If Adodc1.Recordset.AddNew ENA t1.Text = Format(tempcode, "0") t2.SetFocus End Sub Private Sub cmdCancel_Click()

Chapter V: Conclusion and Recommendation Page 42

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then Adodc1.Recordset.CancelBatch Adodc1.Refresh dis End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "Close") = vbYes Then Unload Me End If End Sub Private Sub cmdDel_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Delete.", vbInformation, "Delete" Else If MsgBox("Are You Sure you Want to Delete", vbQuestion + vbYesNo, "Delete") = vbYes Then Adodc1.Recordset.Delete End If dis Unload Me Me.Show End If End Sub Private Sub cmdEdit_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Edit.", vbInformation, "Edit" Else ENA t1.SetFocus End If End Sub Private Sub cmdFirst_Click() If Adodc1.Recordset.RecordCount <> 0 Then Adodc1.Recordset.MoveFirst End If End Sub Private Sub cmdLast_Click() If Adodc1.Recordset.RecordCount <> 0 Then Adodc1.Recordset.MoveLast End If End Sub

Chapter V: Conclusion and Recommendation Page 43

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Private Sub cmdNext_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS" Else Adodc1.Recordset.MoveNext If Adodc1.Recordset.EOF Then If MsgBox("Last Record", vbInformation, "LNHS Computerized Grading System") = vbOK Then Adodc1.Recordset.MoveLast End If End If End If End Sub Private Sub cmdPre_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS" Else Adodc1.Recordset.MovePrevious If Adodc1.Recordset.BOF Then Adodc1.Recordset.MoveFirst If MsgBox("First Record", vbInformation, "LNHS Computerized Grading System") = vbYes Then End If End If End If End Sub Private Sub cmdsave_Click() If t1.Text = "" Or t2.Text = "" Or t3.Text = "" Or t4.Text = "" Or t5.Text = "" Or cmbSection.Text = "" Or _ DTPicker1.Value = "" Or t8.Text = "" Or t9.Text = "" Or cmbgender.Text = "" Or cmbYL.Text = "" Then MsgBox "Please Fill Out All Fields", vbInformation Else If MsgBox("Are You Sure You Want to Save?", vbQuestion + vbYesNo, "Save") = vbYes Then Adodc1.Recordset.Update dis End If End If End Sub Function ENA() Frame1.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdSave.Enabled = True cmdCancel.Enabled = True

Chapter V: Conclusion and Recommendation Page 44

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


cmdClose.Enabled = False End Function Function dis() Frame1.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdSave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Private Sub cmdSearch_Click() Adodc2.RecordSource = "select * from tblStudent where Year_Level like '" & Combo1.Text & "' and StudentSec like '" & Text2.Text & "' order by Lname " Adodc2.Refresh DataGrid2.Refresh End Sub Private Sub Command1_Click() If Adodc2.Recordset.RecordCount = 0 Then Adodc2.Refresh MsgBox ("No Record!") Else With de.rsStudent .Open de.rsCommand2_Grouping.Filter = "Year_level ='" & Combo1.Text & "' And StudentSec ='" & Text2.Text & "'" rptStudent.Show vbModal, frmMain .Close End With End If Unload Me End Sub Private Sub t8_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then cmbreligion.SetFocus End If Dim str As String str = "0123456789" If KeyAscii > 26 Then If InStr(str, Chr(KeyAscii)) = 0 Then KeyAscii = 0 End If End If End Sub

Chapter V: Conclusion and Recommendation Page 45

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Private Sub txtdate_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then t8.SetFocus End If Dim str As String str = "0123456789" If KeyAscii > 26 Then If InStr(str, Chr(KeyAscii)) = 0 Then KeyAscii = 0 End If End If End Sub Subject Dim temocode As Integer Private Sub cmbgender_Click() t6.Text = cmbgender.Text End Sub Private Sub cmdAdd_Click() Adodc1.RecordSource = "select * from tblsubj order by subjno" Adodc1.Refresh If Adodc1.Recordset.RecordCount = 0 Then tempcode = 1 Else Adodc1.Recordset.MoveLast tempcode = Val(Adodc1.Recordset(0)) + 1 End If Adodc1.Recordset.AddNew ENA t1.Text = Format(tempcode, "000") t2.SetFocus End Sub Private Sub cmdCancel_Click() If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "LNHS Computerized Grading System") = vbYes Then Adodc1.Recordset.CancelBatch Adodc1.Refresh dis End If End Sub Private Sub cmdClose_Click()

Chapter V: Conclusion and Recommendation Page 46

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "LNHS Computerized Grading System") = vbYes Then Unload Me End If End Sub Private Sub cmdDel_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Delete.", vbInformation, "LNHS Computerized Grading System" Else If MsgBox("Are You Sure you Want to Delete", vbQuestion + vbYesNo, "LNHS Computerized Grading System") = vbYes Then Adodc1.Recordset.Delete End If dis Unload Me Me.Show End If End Sub Private Sub cmdEdit_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Edit.", vbInformation, "LNHS Computerized Grading System" Else ENA t1.SetFocus End If End Sub Private Sub cmdFirst_Click() If Adodc1.Recordset.RecordCount <> 0 Then Adodc1.Recordset.MoveFirst End If End Sub Private Sub cmdLast_Click() If Adodc1.Recordset.RecordCount <> 0 Then Adodc1.Recordset.MoveLast End If End Sub Private Sub cmdNext_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else Adodc1.Recordset.MoveNext

Chapter V: Conclusion and Recommendation Page 47

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If Adodc1.Recordset.EOF Then If MsgBox("Last Record", vbInformation, "LNHS Computerized Grading System") = vbOK Then Adodc1.Recordset.MoveLast End If End If End If End Sub Private Sub cmdPre_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else Adodc1.Recordset.MovePrevious If Adodc1.Recordset.BOF Then Adodc1.Recordset.MoveFirst If MsgBox("First Record", vbInformation, "LNHS Computerized Grading System") = vbYes Then End If End If End If End Sub Private Sub cmdsave_Click() If t1.Text = "" Or t2.Text = "" Or t3.Text = "" Or t4.Text = "" Or t5.Text = "" Or t6.Text = "" Or _ t7.Text = "" Or t8.Text = "" Or t9.Text = "" Then MsgBox "Please Fill Out All Fields", vbInformation, "LNHS Computerized Grading System" Else If Val(t10.Text) = 100 Then If MsgBox("Are You Sure You Want to Save?", vbQuestion + vbYesNo, "LNHS Computerized Grading System") = vbYes Then Adodc1.Recordset.Update dis End If Else MsgBox "Total must be 100%", vbInformation, "LNHS Computerized Grading System" End If End If End Sub Function ENA() Frame1.Enabled = True Frame2.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdSave.Enabled = True cmdCancel.Enabled = True

Chapter V: Conclusion and Recommendation Page 48

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


cmdClose.Enabled = False End Function Function dis() Frame1.Enabled = False Frame2.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdSave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Private Sub t3_Change() COMPTOTAL End Sub Function COMPTOTAL() t10.Text = Val(t3.Text) + Val(t4.Text) + Val(t5.Text) + Val(t6.Text) + Val(t7.Text) + Val(t8.Text) + Val(t9.Text) End Function Private Sub t4_Change() COMPTOTAL End Sub Private Sub t5_Change() COMPTOTAL End Sub Private Sub t6_Change() COMPTOTAL End Sub Private Sub t7_Change() COMPTOTAL End Sub Private Sub t8_Change() COMPTOTAL End Sub

Private Sub t9_Change() COMPTOTAL

Chapter V: Conclusion and Recommendation Page 49

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


End Sub User Account Private Sub chkpas_Click() If chkpas.Value = 1 Then txtpassword.PasswordChar = "" Else txtpassword.PasswordChar = "*" End If End Sub Private Sub cmbLevel_Click() txtLevel.Text = cmbLevel.Text End Sub Private Sub cmdAdd_Click() ENA On Error Resume Next Adodc1.Recordset.AddNew txtusername.SetFocus End Sub Private Sub cmdCancel_Click() If MsgBox("Are you sure you want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then Adodc1.Recordset.CancelBatch Adodc1.Refresh dis End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "Close") = vbYes Then Unload Me End If End Sub Private Sub cmdDelete_Click() If MsgBox("Are You Sure you Want to Delete this Supplier from the List", vbQuestion + vbYesNo, "LNHS Computerized Grading System") = vbYes Then Adodc1.Recordset.Fields("Deleted").Value = "YES" Adodc1.Recordset.Update End If dis PosLeft = Me.Left PosTop = Me.Top

Chapter V: Conclusion and Recommendation Page 50

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Unload Me Me.Show Me.Left = PosLeft Me.Top = PosTop End Sub Private Sub cmdDel_Click() If txtLevel.Text = "Administrator" Then MsgBox "Sorry, Unable to Delete The Administrator Account.", vbInformation, "Delete" Else If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Delete.", vbInformation, "Delete" Else If MsgBox("Are You Sure you Want to Delete", vbQuestion + vbYesNo, "Delete") = vbYes Then Adodc1.Recordset.Delete End If dis Unload Me Me.Show End If End If End Sub Private Sub cmdEdit_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record to Edit.", vbInformation, "Edit" Else ENA End If End Sub Private Sub cmdFirst_Click() Adodc1.Recordset.MoveFirst End Sub Private Sub cmdLast_Click() Adodc1.Recordset.MoveLast End Sub Private Sub cmdNext_Click() Adodc1.Recordset.MoveNext If Adodc1.Recordset.EOF Then Adodc1.Recordset.MoveLast MsgBox "Last Record", vbInformation, "LNHS Computerized Grading System" End If

Chapter V: Conclusion and Recommendation Page 51

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


End Sub Private Sub cmdPre_Click() Adodc1.Recordset.MovePrevious If Adodc1.Recordset.BOF Then Adodc1.Recordset.MoveFirst MsgBox "First Record", vbInformation, "LNHS Computerized Grading System" End If End Sub Private Sub cmdsave_Click() If txtusername.Text = "" Or txtpassword.Text = "" Or txtLevel.Text = "" Then MsgBox "Please Fill Out All Fields", vbInformation, "Save" Else If MsgBox("Are You Sure You Want to Save?", vbQuestion + vbYesNo, "Save") = vbYes Then Adodc1.Recordset.Update dis End If End If End Sub Function ENA() Frame2.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdSave.Enabled = True cmdCancel.Enabled = True cmdClose.Enabled = False End Function Function dis() Frame2.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdSave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Private Sub Form_Load() Adodc1.RecordSource = "select * from tblUser" Adodc1.Refresh dis End Sub

Chapter V: Conclusion and Recommendation Page 52

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


First Grading Private Sub cmdAdd_Click() ENA End Sub Private Sub cmd1_Click() frmgrade.Show cmd1.Enabled = True cmd2.Enabled = False cmd3.Enabled = False cmd4.Enabled = False Frame1.Enabled = True Frame2.Enabled = True Frame3.Enabled = True Frame4.Enabled = True End Sub Private Sub cmd2_Click() frmgrade2.Show Unload Me End Sub Private Sub cmd3_Click() frmgrade3.Show Unload Me End Sub Private Sub cmd4_Click() frmgrade4.Show Unload Me End Sub Private Sub cmd5_Click() frmCompute.Show Unload Me End Sub Private Sub cmd6_Click() frmComputeFG.Show Unload Me End Sub Private Sub cmdCancel_Click() If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then AdoGrade.Recordset.CancelBatch

Chapter V: Conclusion and Recommendation Page 53

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


AdoGrade.Refresh Unload Me Me.Show End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "CLose") = vbYes Then Unload Me End If End Sub Private Sub cmdsave_Click() On Error GoTo bj AdoGrade.Recordset(0).Value = t1.Text AdoGrade.Recordset(1).Value = t2.Text & ", " & t3.Text & " " & t4.Text AdoGrade.Recordset(2).Value = t5.Text AdoGrade.Recordset(3).Value = t6.Text AdoGrade.Recordset(4).Value = t7.Text AdoGrade.Recordset(5).Value = t8.Text AdoGrade.Recordset(6).Value = t9.Text AdoGrade.Recordset(7).Value = t10.Text AdoGrade.Recordset(8).Value = t11.Text AdoGrade.Recordset(9).Value = t12.Text AdoGrade.Recordset(10).Value = t13.Text AdoGrade.Recordset(11).Value = t14.Text AdoGrade.Recordset(37).Value = Text1.Text AdoGrade.Recordset(38).Value = Text2.Text If Me.t7.Text = "" Or Me.t8.Text = "" Or Me.t9.Text = "" Or Me.t10.Text = "" Or Me.t11.Text = "" Or Me.t12.Text = "" Or Me.t13.Text = "" Or Me.t14.Text = "" Then MsgBox "All textboxes are required to fill-up.", vbInformation, "LNHS Computerized Grading System" Else If MsgBox("Waiting for your confirmation to Save.", vbQuestion + vbYesNo, "Save") = vbYes Then AdoGrade.Recordset.Update AdoGrade.Recordset.Update Unload Me Me.Show End If End If Exit Sub bj: End Sub Private Sub cmdSearch_Click() frmSearch.Show frmSearch.Label1 = 1

Chapter V: Conclusion and Recommendation Page 54

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


End Sub Private Sub cmdsearch2_Click() frmSearch2.Show frmSearch2.Label1 = 1 End Sub Private Sub Form_Load() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh AdoSubj.RecordSource = "select * from tblSubj where Subject='" & t5.Text & "' " AdoSubj.Refresh End Sub Private Sub t1_Change() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh End Sub Private Sub t5_Change() On Error Resume Next AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % " l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % " l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % " l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % " l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % " l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % " l(6).Caption = "X " & AdoSubj.Recordset(8).Value & " % " AdoGrade.RecordSource = "select * from tblgrade1 where idno = '" & t1.Text & "' and SubjNo = '" & t5.Text & "'" AdoGrade.Refresh If AdoGrade.Recordset.RecordCount = 1 Then t7.Text = AdoGrade.Recordset(4).Value t8.Text = AdoGrade.Recordset(5).Value t9.Text = AdoGrade.Recordset(6).Value t10.Text = AdoGrade.Recordset(7).Value t11.Text = AdoGrade.Recordset(8).Value t12.Text = AdoGrade.Recordset(9).Value t13.Text = AdoGrade.Recordset(10).Value t14.Text = AdoGrade.Recordset(11).Value AdoGrade.Recordset.Requery Else t7.Text = ""

Chapter V: Conclusion and Recommendation Page 55

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


t8.Text = "" t9.Text = "" t10.Text = "" t11.Text = "" t12.Text = "" t13.Text = "" t14.Text = "" AdoGrade.Recordset.AddNew Me.Frame3.Enabled = True Me.cmdsave.Enabled = True Me.cmdCancel.Enabled = True End If End Sub Private Sub t7_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t7.Text <> "" Then dig$ = Mid(t7.Text, Len(t7.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t7.Text) - 1 digi$ = Mid(t7.Text, i, 1) digits$ = digits$ & digi$ Next i t7.Text = digits$ t7.SelStart = Len(t7.Text) End If End If l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % = " & Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) comp End Sub Private Sub t8_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t8.Text <> "" Then dig$ = Mid(t8.Text, Len(t8.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t8.Text) - 1 digi$ = Mid(t8.Text, i, 1) digits$ = digits$ & digi$ Next i t8.Text = digits$ t8.SelStart = Len(t8.Text) End If End If

Chapter V: Conclusion and Recommendation Page 56

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % = " & Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) comp End Sub Private Sub t9_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t9.Text <> "" Then dig$ = Mid(t9.Text, Len(t9.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t9.Text) - 1 digi$ = Mid(t9.Text, i, 1) digits$ = digits$ & digi$ Next i t9.Text = digits$ t9.SelStart = Len(t9.Text) End If End If l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % = " & Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) comp End Sub Private Sub t10_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t10.Text <> "" Then dig$ = Mid(t10.Text, Len(t10.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t10.Text) - 1 digi$ = Mid(t10.Text, i, 1) digits$ = digits$ & digi$ Next i t10.Text = digits$ t10.SelStart = Len(t10.Text) End If End If l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % = " & Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) comp End Sub Private Sub t11_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t11.Text <> "" Then dig$ = Mid(t11.Text, Len(t11.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t11.Text) - 1 digi$ = Mid(t11.Text, i, 1)

Chapter V: Conclusion and Recommendation Page 57

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


digits$ = digits$ & digi$ Next i t11.Text = digits$ t11.SelStart = Len(t11.Text) End If End If l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % = " & Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) comp End Sub Private Sub t12_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t12.Text <> "" Then dig$ = Mid(t12.Text, Len(t12.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t12.Text) - 1 digi$ = Mid(t12.Text, i, 1) digits$ = digits$ & digi$ Next i t12.Text = digits$ t12.SelStart = Len(t12.Text) End If End If l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) comp End Sub Private Sub t13_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t13.Text <> "" Then dig$ = Mid(t13.Text, Len(t13.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t13.Text) - 1 digi$ = Mid(t13.Text, i, 1) digits$ = digits$ & digi$ Next i t13.Text = digits$ t13.SelStart = Len(t13.Text) End If End If l(6).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) comp End Sub Function comp() t14.Text = Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) + _

Chapter V: Conclusion and Recommendation Page 58

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) + _ Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) + _ Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) + _ Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) + _ Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) + _ Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) End Function Function ENA() Frame1.Enabled = True Frame2.Enabled = True Frame3.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdsave.Enabled = True cmdCancel.Enabled = True cmdClose.Enabled = False End Function Function dis() Frame1.Enabled = False Frame2.Enabled = False Frame3.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdsave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Private Sub t9_KeyPress(KeyAscii As Integer) Dim str As String str = "0123456789" If KeyAscii > 26 Then If InStr(str, Chr(KeyAscii)) = 0 Then KeyAscii = 0 End If End If End Sub Second Grading Private Sub cmdAdd_Click() ENA End Sub Private Sub cmdCancel_Click()

Chapter V: Conclusion and Recommendation Page 59

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then AdoGrade.Recordset.CancelBatch AdoGrade.Refresh Unload Me frmgrade.Show End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "CLose") = vbYes Then Unload Me End If End Sub Private Sub cmdsave_Click() On Error GoTo bj AdoGrade.Recordset(0).Value = t1.Text AdoGrade.Recordset(1).Value = t2.Text & ", " & t3.Text & " " & t4.Text AdoGrade.Recordset(2).Value = t5.Text AdoGrade.Recordset(3).Value = t6.Text AdoGrade.Recordset(12).Value = t7.Text AdoGrade.Recordset(13).Value = t8.Text AdoGrade.Recordset(14).Value = t9.Text AdoGrade.Recordset(15).Value = t10.Text AdoGrade.Recordset(16).Value = t11.Text AdoGrade.Recordset(17).Value = t12.Text AdoGrade.Recordset(18).Value = t13.Text AdoGrade.Recordset(19).Value = t14.Text If Me.t7.Text = "" Or Me.t8.Text = "" Or Me.t9.Text = "" Or Me.t10.Text = "" Or Me.t11.Text = "" Or Me.t12.Text = "" Or Me.t13.Text = "" Or Me.t14.Text = "" Then MsgBox "All textboxes are required to fill-up.", vbInformation, "LNHS Computerized Grading System" Else If MsgBox("Waiting for your confirmation to Save.", vbQuestion + vbYesNo, "Save") = vbYes Then AdoGrade.Recordset.Update AdoGrade.Refresh Unload Me frmgrade.Show End If End If Exit Sub bj: End Sub Private Sub cmdSearch_Click() frmSearch.Show

Chapter V: Conclusion and Recommendation Page 60

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


frmSearch.Label1 = 2 End Sub Private Sub cmdsearch2_Click() frmSearch2.Show frmSearch2.Label1 = 2 End Sub Private Sub Form_Load() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh AdoSubj.RecordSource = "select * from tblSubj where Subjno='" & t5.Text & "' " AdoSubj.Refresh Me.Top = 2000 Me.Left = 5000 End Sub Private Sub Option1_Click() t5.Text = "" Frame6.Enabled = True End Sub Private Sub Option2_Click() t5.Text = "" Frame6.Enabled = True End Sub Private Sub t1_Change() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh End Sub Private Sub t5_Change() On Error Resume Next AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % " l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % " l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % " l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % " l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % " l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % " l(6).Caption = "X " & AdoSubj.Recordset(8).Value & " % " AdoGrade.RecordSource = "select * from tblgrade1 where idno = '" & t1.Text & "' and SubjNo = '" & t5.Text & "'"

Chapter V: Conclusion and Recommendation Page 61

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


AdoGrade.Refresh If AdoGrade.Recordset.RecordCount = 1 Then t7.Text = AdoGrade.Recordset(12).Value t8.Text = AdoGrade.Recordset(13).Value t9.Text = AdoGrade.Recordset(14).Value t10.Text = AdoGrade.Recordset(15).Value t11.Text = AdoGrade.Recordset(16).Value t12.Text = AdoGrade.Recordset(17).Value t13.Text = AdoGrade.Recordset(18).Value t14.Text = AdoGrade.Recordset(19).Value AdoGrade.Recordset.Requery Else t7.Text = "" t8.Text = "" t9.Text = "" t10.Text = "" t11.Text = "" t12.Text = "" t13.Text = "" t14.Text = "" AdoGrade.Recordset.AddNew Me.Frame3.Enabled = True Me.cmdsave.Enabled = True Me.cmdCancel.Enabled = True End If End Sub Private Sub t7_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t7.Text <> "" Then dig$ = Mid(t7.Text, Len(t7.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t7.Text) - 1 digi$ = Mid(t7.Text, i, 1) digits$ = digits$ & digi$ Next i t7.Text = digits$ t7.SelStart = Len(t7.Text) End If End If l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % = " & Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) comp End Sub Private Sub t8_Change()

Chapter V: Conclusion and Recommendation Page 62

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


On Error Resume Next Dim dig$, i, digi$, digits$ If t8.Text <> "" Then dig$ = Mid(t8.Text, Len(t8.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t8.Text) - 1 digi$ = Mid(t8.Text, i, 1) digits$ = digits$ & digi$ Next i t8.Text = digits$ t8.SelStart = Len(t8.Text) End If End If l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % = " & Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) comp End Sub Private Sub t9_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t9.Text <> "" Then dig$ = Mid(t9.Text, Len(t9.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t9.Text) - 1 digi$ = Mid(t9.Text, i, 1) digits$ = digits$ & digi$ Next i t9.Text = digits$ t9.SelStart = Len(t9.Text) End If End If l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % = " & Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) comp End Sub Private Sub t10_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t10.Text <> "" Then dig$ = Mid(t10.Text, Len(t10.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t10.Text) - 1 digi$ = Mid(t10.Text, i, 1) digits$ = digits$ & digi$ Next i t10.Text = digits$ t10.SelStart = Len(t10.Text)

Chapter V: Conclusion and Recommendation Page 63

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


End If End If l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % = " & Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) comp End Sub Private Sub t11_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t11.Text <> "" Then dig$ = Mid(t11.Text, Len(t11.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t11.Text) - 1 digi$ = Mid(t11.Text, i, 1) digits$ = digits$ & digi$ Next i t11.Text = digits$ t11.SelStart = Len(t11.Text) End If End If l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % = " & Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) comp End Sub Private Sub t12_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t12.Text <> "" Then dig$ = Mid(t12.Text, Len(t12.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t12.Text) - 1 digi$ = Mid(t12.Text, i, 1) digits$ = digits$ & digi$ Next i t12.Text = digits$ t12.SelStart = Len(t12.Text) End If End If l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) comp End Sub Private Sub t13_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t13.Text <> "" Then dig$ = Mid(t13.Text, Len(t13.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t13.Text) - 1

Chapter V: Conclusion and Recommendation Page 64

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


digi$ = Mid(t13.Text, i, 1) digits$ = digits$ & digi$ Next i t13.Text = digits$ t13.SelStart = Len(t13.Text) End If End If l(6).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) comp End Sub Function comp() t14.Text = Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) + _ Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) + _ Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) + _ Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) + _ Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) + _ Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) + _ Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) End Function Function ENA() Frame1.Enabled = True Frame2.Enabled = True Frame3.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdsave.Enabled = True cmdCancel.Enabled = True cmdClose.Enabled = False End Function Function dis() Frame1.Enabled = False Frame2.Enabled = False Frame3.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdsave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Third Grading Private Sub cmdAdd_Click()

Chapter V: Conclusion and Recommendation Page 65

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


ENA End Sub Private Sub cmd3_Click() Me.cmd1.Enabled = False Me.cmd2.Enabled = False Me.cmd4.Enabled = False Me.Enabled = True End Sub Private Sub cmdCancel_Click() If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then AdoGrade.Recordset.CancelBatch AdoGrade.Refresh Unload Me frmgrade.Show End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "CLose") = vbYes Then Unload Me End If End Sub Private Sub cmdsave_Click() On Error GoTo bj AdoGrade.Recordset(0).Value = t1.Text AdoGrade.Recordset(1).Value = t2.Text & ", " & t3.Text & " " & t4.Text AdoGrade.Recordset(2).Value = t5.Text AdoGrade.Recordset(3).Value = t6.Text AdoGrade.Recordset(20).Value = t7.Text AdoGrade.Recordset(21).Value = t8.Text AdoGrade.Recordset(22).Value = t9.Text AdoGrade.Recordset(23).Value = t10.Text AdoGrade.Recordset(24).Value = t11.Text AdoGrade.Recordset(25).Value = t12.Text AdoGrade.Recordset(26).Value = t13.Text AdoGrade.Recordset(27).Value = t14.Text If Me.t7.Text = "" Or Me.t8.Text = "" Or Me.t9.Text = "" Or Me.t10.Text = "" Or Me.t11.Text = "" Or Me.t12.Text = "" Or Me.t13.Text = "" Or Me.t14.Text = "" Then MsgBox "All textboxes are required to fill-up.", vbInformation, "LNHS Computerized Grading System" Else If MsgBox("Waiting for your confirmation to Save.", vbQuestion + vbYesNo, "Save") = vbYes Then AdoGrade.Recordset.Update

Chapter V: Conclusion and Recommendation Page 66

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


AdoGrade.Refresh Unload Me frmgrade.Show End If End If Exit Sub bj: End Sub Private Sub cmdSearch_Click() frmSearch.Show frmSearch.Label1 = 3 End Sub Private Sub cmdsearch2_Click() frmSearch2.Show frmSearch2.Label1 = 3 End Sub Private Sub Form_Load() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh Me.Top = 2000 Me.Left = 5000 End Sub Private Sub t1_Change() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh End Sub Private Sub t5_Change() On Error Resume Next AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % " l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % " l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % " l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % " l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % " l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % " l(6).Caption = "X " & AdoSubj.Recordset(8).Value & " % " AdoGrade.RecordSource = "select * from tblgrade1 where idno = '" & t1.Text & "' and SubjNo = '" & t5.Text & "'" AdoGrade.Refresh

Chapter V: Conclusion and Recommendation Page 67

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If AdoGrade.Recordset.RecordCount = 1 Then t7.Text = AdoGrade.Recordset(20).Value t8.Text = AdoGrade.Recordset(21).Value t9.Text = AdoGrade.Recordset(22).Value t10.Text = AdoGrade.Recordset(23).Value t11.Text = AdoGrade.Recordset(24).Value t12.Text = AdoGrade.Recordset(25).Value t13.Text = AdoGrade.Recordset(26).Value t14.Text = AdoGrade.Recordset(27).Value AdoGrade.Recordset.Requery Else t7.Text = "" t8.Text = "" t9.Text = "" t10.Text = "" t11.Text = "" t12.Text = "" t13.Text = "" t14.Text = "" AdoGrade.Recordset.AddNew Me.Frame3.Enabled = True Me.cmdsave.Enabled = True Me.cmdCancel.Enabled = True End If End Sub Private Sub t7_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t7.Text <> "" Then dig$ = Mid(t7.Text, Len(t7.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t7.Text) - 1 digi$ = Mid(t7.Text, i, 1) digits$ = digits$ & digi$ Next i t7.Text = digits$ t7.SelStart = Len(t7.Text) End If End If l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % = " & Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) comp End Sub Private Sub t8_Change() On Error Resume Next

Chapter V: Conclusion and Recommendation Page 68

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Dim dig$, i, digi$, digits$ If t8.Text <> "" Then dig$ = Mid(t8.Text, Len(t8.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t8.Text) - 1 digi$ = Mid(t8.Text, i, 1) digits$ = digits$ & digi$ Next i t8.Text = digits$ t8.SelStart = Len(t8.Text) End If End If l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % = " & Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) comp End Sub Private Sub t9_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t9.Text <> "" Then dig$ = Mid(t9.Text, Len(t9.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t9.Text) - 1 digi$ = Mid(t9.Text, i, 1) digits$ = digits$ & digi$ Next i t9.Text = digits$ t9.SelStart = Len(t9.Text) End If End If l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % = " & Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) comp End Sub Private Sub t10_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t10.Text <> "" Then dig$ = Mid(t10.Text, Len(t10.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t10.Text) - 1 digi$ = Mid(t10.Text, i, 1) digits$ = digits$ & digi$ Next i t10.Text = digits$ t10.SelStart = Len(t10.Text) End If

Chapter V: Conclusion and Recommendation Page 69

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


End If l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % = " & Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) comp End Sub Private Sub t11_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t11.Text <> "" Then dig$ = Mid(t11.Text, Len(t11.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t11.Text) - 1 digi$ = Mid(t11.Text, i, 1) digits$ = digits$ & digi$ Next i t11.Text = digits$ t11.SelStart = Len(t11.Text) End If End If l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % = " & Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) comp End Sub Private Sub t12_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t12.Text <> "" Then dig$ = Mid(t12.Text, Len(t12.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t12.Text) - 1 digi$ = Mid(t12.Text, i, 1) digits$ = digits$ & digi$ Next i t12.Text = digits$ t12.SelStart = Len(t12.Text) End If End If l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) comp End Sub Private Sub t13_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t13.Text <> "" Then dig$ = Mid(t13.Text, Len(t13.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t13.Text) - 1 digi$ = Mid(t13.Text, i, 1)

Chapter V: Conclusion and Recommendation Page 70

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


digits$ = digits$ & digi$ Next i t13.Text = digits$ t13.SelStart = Len(t13.Text) End If End If l(6).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) comp End Sub Function comp() t14.Text = Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) + _ Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) + _ Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) + _ Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) + _ Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) + _ Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) + _ Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) End Function Function ENA() Frame1.Enabled = True Frame2.Enabled = True Frame3.Enabled = True cmdAdd.Enabled = False cmdEdit.Enabled = False cmdDel.Enabled = False cmdsave.Enabled = True cmdCancel.Enabled = True cmdClose.Enabled = False End Function Function dis() Frame1.Enabled = False Frame2.Enabled = False Frame3.Enabled = False cmdAdd.Enabled = True cmdEdit.Enabled = True cmdDel.Enabled = True cmdsave.Enabled = False cmdCancel.Enabled = False cmdClose.Enabled = True End Function Fourth Grading Private Sub cmdAdd_Click()

Chapter V: Conclusion and Recommendation Page 71

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


ENA End Sub Private Sub cmd1_Click() frmgrade.Show cmd1.Enabled = True cmd2.Enabled = False cmd3.Enabled = False cmd4.Enabled = False End Sub Private Sub cmd2_Click() frmgrade2.Show cmd1.Enabled = False cmd2.Enabled = True cmd3.Enabled = False cmd4.Enabled = False End Sub Private Sub cmdAG_Click() frmCompute.Show End Sub Private Sub cmdCancel_Click() If MsgBox("Are You Sure You Want to Cancel?", vbQuestion + vbYesNo, "Cancel") = vbYes Then AdoGrade.Recordset.CancelBatch AdoGrade.Refresh Unload Me frmgrade.Show End If End Sub Private Sub cmdClose_Click() If MsgBox("Are You Sure You Want to Close?", vbQuestion + vbYesNo, "CLose") = vbYes Then Unload Me End If End Sub Private Sub cmdFG_Click() frmComputeFG.Show End Sub Private Sub cmdsave_Click() On Error GoTo bj AdoGrade.Recordset(0).Value = t1.Text AdoGrade.Recordset(1).Value = t2.Text & ", " & t3.Text & " " & t4.Text

Chapter V: Conclusion and Recommendation Page 72

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


AdoGrade.Recordset(2).Value = t5.Text AdoGrade.Recordset(3).Value = t6.Text AdoGrade.Recordset(28).Value = t7.Text AdoGrade.Recordset(29).Value = t8.Text AdoGrade.Recordset(30).Value = t9.Text AdoGrade.Recordset(31).Value = t10.Text AdoGrade.Recordset(32).Value = t11.Text AdoGrade.Recordset(33).Value = t12.Text AdoGrade.Recordset(34).Value = t13.Text AdoGrade.Recordset(35).Value = t14.Text AdoGrade.Recordset(36).Value = ttt12.Text AdoGrade.Recordset(37).Value = Text1.Text AdoGrade.Recordset(38).Value = Text2.Text If Me.t7.Text = "" Or Me.t8.Text = "" Or Me.t9.Text = "" Or Me.t10.Text = "" Or Me.t11.Text = "" Or Me.t12.Text = "" Or Me.t13.Text = "" Or Me.t14.Text = "" Then MsgBox "All textboxes are required to fill-up.", vbInformation, "LNHS Computerized Grading System" Else If MsgBox("Waiting for your confirmation to Save.", vbQuestion + vbYesNo, "Save") = vbYes Then AdoGrade.Recordset.Update AdoGrade.Refresh Unload Me frmgrade.Show End If End If Exit Sub bj: End Sub Private Sub cmdSearch_Click() frmSearch.Show frmSearch.Label1 = 4 End Sub Private Sub cmdsearch2_Click() frmSearch2.Show frmSearch2.Label1 = 4 End Sub Private Sub Form_Load() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh End Sub

Chapter V: Conclusion and Recommendation Page 73

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Private Sub t1_Change() AdoStud.RecordSource = "select * from tblStudENt where Studentno ='" & t1.Text & "' " AdoStud.Refresh End Sub Private Sub t5_Change() On Error Resume Next AdoSubj.RecordSource = "select * from tblSubj where SubjNo='" & t5.Text & "' " AdoSubj.Refresh l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % " l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % " l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % " l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % " l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % " l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % " l(6).Caption = "X " & AdoSubj.Recordset(8).Value & " % " AdoGrade.RecordSource = "select * from tblgrade1 where idno = '" & t1.Text & "' and SubjNo = '" & t5.Text & "'" AdoGrade.Refresh If AdoGrade.Recordset.RecordCount = 1 Then t7.Text = AdoGrade.Recordset(28).Value t8.Text = AdoGrade.Recordset(29).Value t9.Text = AdoGrade.Recordset(30).Value t10.Text = AdoGrade.Recordset(31).Value t11.Text = AdoGrade.Recordset(32).Value t12.Text = AdoGrade.Recordset(33).Value t13.Text = AdoGrade.Recordset(34).Value t14.Text = AdoGrade.Recordset(35).Value ttt7.Text = AdoGrade.Recordset(11).Value ttt8.Text = AdoGrade.Recordset(19).Value ttt9.Text = AdoGrade.Recordset(27).Value ttt10.Text = AdoGrade.Recordset(35).Value ttt11.Text = AdoGrade.Recordset(36).Value AdoGrade.Recordset.Requery Else t7.Text = "" t8.Text = "" t9.Text = "" t10.Text = "" t11.Text = "" t12.Text = "" t13.Text = "" t14.Text = "" AdoGrade.Recordset.AddNew

Chapter V: Conclusion and Recommendation Page 74

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Me.Frame3.Enabled = True Me.cmdsave.Enabled = True Me.cmdCancel.Enabled = True End If End Sub Private Sub t7_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t7.Text <> "" Then dig$ = Mid(t7.Text, Len(t7.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t7.Text) - 1 digi$ = Mid(t7.Text, i, 1) digits$ = digits$ & digi$ Next i t7.Text = digits$ t7.SelStart = Len(t7.Text) End If End If l(0).Caption = "X " & AdoSubj.Recordset(2).Value & " % = " & Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) comp ENA dis End Sub Private Sub t8_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t8.Text <> "" Then dig$ = Mid(t8.Text, Len(t8.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t8.Text) - 1 digi$ = Mid(t8.Text, i, 1) digits$ = digits$ & digi$ Next i t8.Text = digits$ t8.SelStart = Len(t8.Text) End If End If l(1).Caption = "X " & AdoSubj.Recordset(3).Value & " % = " & Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) comp ENA dis End Sub

Chapter V: Conclusion and Recommendation Page 75

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Private Sub t9_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t9.Text <> "" Then dig$ = Mid(t9.Text, Len(t9.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t9.Text) - 1 digi$ = Mid(t9.Text, i, 1) digits$ = digits$ & digi$ Next i t9.Text = digits$ t9.SelStart = Len(t9.Text) End If End If l(2).Caption = "X " & AdoSubj.Recordset(4).Value & " % = " & Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) comp ENA dis End Sub Private Sub t10_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t10.Text <> "" Then dig$ = Mid(t10.Text, Len(t10.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t10.Text) - 1 digi$ = Mid(t10.Text, i, 1) digits$ = digits$ & digi$ Next i t10.Text = digits$ t10.SelStart = Len(t10.Text) End If End If l(3).Caption = "X " & AdoSubj.Recordset(5).Value & " % = " & Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) comp ENA dis End Sub Private Sub t11_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t11.Text <> "" Then dig$ = Mid(t11.Text, Len(t11.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t11.Text) - 1 digi$ = Mid(t11.Text, i, 1)

Chapter V: Conclusion and Recommendation Page 76

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


digits$ = digits$ & digi$ Next i t11.Text = digits$ t11.SelStart = Len(t11.Text) End If End If l(4).Caption = "X " & AdoSubj.Recordset(6).Value & " % = " & Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) comp ENA dis End Sub Private Sub t12_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t12.Text <> "" Then dig$ = Mid(t12.Text, Len(t12.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t12.Text) - 1 digi$ = Mid(t12.Text, i, 1) digits$ = digits$ & digi$ Next i t12.Text = digits$ t12.SelStart = Len(t12.Text) End If End If l(5).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) comp ENA dis End Sub Private Sub t13_Change() On Error Resume Next Dim dig$, i, digi$, digits$ If t13.Text <> "" Then dig$ = Mid(t13.Text, Len(t13.Text), 1) If Asc(dig$) < 46 Or Asc(dig$) > 57 Then For i = 1 To Len(t13.Text) - 1 digi$ = Mid(t13.Text, i, 1) digits$ = digits$ & digi$ Next i t13.Text = digits$ t13.SelStart = Len(t13.Text) End If End If l(6).Caption = "X " & AdoSubj.Recordset(7).Value & " % = " & Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) comp

Chapter V: Conclusion and Recommendation Page 77

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


ENA dis End Sub Function comp() t14.Text = Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) + _ Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) + _ Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) + _ Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) + _ Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) + _ Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) + _ Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) End Function Function ENA() ttt10.Text = Val(t7.Text) * (Val(AdoSubj.Recordset(2).Value) / 100) + _ Val(t8.Text) * (Val(AdoSubj.Recordset(3).Value) / 100) + _ Val(t9.Text) * (Val(AdoSubj.Recordset(4).Value) / 100) + _ Val(t10.Text) * (Val(AdoSubj.Recordset(5).Value) / 100) + _ Val(t11.Text) * (Val(AdoSubj.Recordset(6).Value) / 100) + _ Val(t12.Text) * (Val(AdoSubj.Recordset(7).Value) / 100) + _ Val(t13.Text) * (Val(AdoSubj.Recordset(8).Value) / 100) End Function Function dis() ttt11_Click ttt12_Click End Function Private Sub ttt11_Click() ttt11.Text = Val(ttt7.Text) + Val(ttt8.Text) + Val(ttt9.Text) + Val(ttt10.Text) End Sub Private Sub ttt12_Click() ttt12.Text = ttt11.Text / 4 End Sub Section Private Sub cmdSearch_Click() Adodc1.RecordSource = "select * from tblStudent where Year_Level like '" & Combo1.Text & "' and StudentSec like '" & Text2.Text & "' " Adodc1.Refresh End Sub Private Sub Command1_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record", vbInformation, "LNHS Computerized Grading System"

Chapter V: Conclusion and Recommendation Page 78

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Else With de.rsStudent .Open de.rsCommand2_Grouping.Filter = "Year_level ='" & Combo1.Text & "' And StudentSec ='" & Text2.Text & "'" rptStudent.Show vbModal, frmMain .Close End With End If Unload Me End Sub Year Level Private Sub cmdAdd_Click() If Adodc1.Recordset.RecordCount = 0 Then rptCRecord1.Show vbModal, frmMain Else If Option1.Value = True Then With de.rsCRecord .Open de.rsCommand3_Grouping.Filter = "SubjNo ='" & txtSearch.Text & "' And StudentSec='" & Text2.Text & "' And Yearlevel='" & Combo1.Text & "' " rptCRecord.Show vbModal, frmMain .Close End With Else If Option2.Value = True Then With de.rsCRecord .Open de.rsCommand3_Grouping.Filter = "Subject ='" & txtSearch.Text & "' And StudentSec='" & Text2.Text & "' And Yearlevel='" & Combo1.Text & "' " rptCRecord.Show vbModal, frmMain .Close End With End If End If End If Unload Me End Sub Private Sub txtSearch_Change() If Option1.Value = True Then Adodc1.RecordSource = "select * from tblGrade1 where Yearlevel like '" & Combo1.Text & "' and StudentSec like '" & Text2.Text & "' and SubjNo='" & txtSearch.Text & "'" Adodc1.Refresh cmdAdd.Enabled = True Else

Chapter V: Conclusion and Recommendation Page 79

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If Option2.Value Then Adodc1.RecordSource = "select * from tblGrade1 where Yearlevel like '" & Combo1.Text & "' and StudentSec like '" & Text2.Text & "' and Subject='" & txtSearch.Text & "'" Adodc1.Refresh cmdAdd.Enabled = True End If End If End Sub Ranking Private Sub cmdpreview_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else With de.rsCRecord .Open de.rsCommand3_Grouping.Filter = "Subjno ='" & Text2.Text & "' And StudentSec='" & Text5.Text & "' And Yearlevel='" & Combo1.Text & "' " rptrank1.Show vbModal, frmMain .Close End With Set de = Nothing Unload Me End If End Sub Private Sub cmdpreview1_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else With de.rsCRecord .Open de.rsCommand3_Grouping.Filter = "Subjno ='" & Text1.Text & "' And StudentSec='" & Text6.Text & "' And Yearlevel='" & Combo2.Text & "' " rptrank2.Show vbModal, frmMain .Close End With Set de = Nothing Unload Me End If End Sub Private Sub cmdpreview2_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else With de.rsCRecord

Chapter V: Conclusion and Recommendation Page 80

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


.Open de.rsCommand3_Grouping.Filter = "Subjno ='" & Text3.Text & "' And StudentSec='" & Text7.Text & "' And Yearlevel='" & Combo3.Text & "' " rptrank3.Show vbModal, frmMain .Close End With Set de = Nothing Unload Me End If End Sub Private Sub cmdpreview3_Click() If Adodc4.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else With de.rsCRecord .Open de.rsCommand3_Grouping.Filter = "Subjno ='" & Text4.Text & "' And StudentSec='" & Text8.Text & "' And Yearlevel='" & Combo4.Text & "' " rptrank4.Show vbModal, frmMain .Close End With Set de = Nothing Unload Me End If End Sub Private Sub cmdSearch_Click() Adodc1.RecordSource = "select distinct IDNo,Name,SubjNo,subject,PT1,PER1,Q1,B1,PRO1,A1,UT1,TOTAL1 from tblGrade1 where Yearlevel like '" & Combo1.Text & "' and Subjno like '" & Text2.Text & "' and StudentSec like '" & Text5.Text & "'" Adodc1.Refresh End Sub Private Sub Command1_Click() Adodc1.RecordSource = "select distinct IDNo,Name,SubjNo,subject,PT1,PER1,Q1,B1,PRO1,A1,UT1,TOTAL1 from tblGrade1" End Sub Private Sub cmdsearch1_Click() Adodc2.RecordSource = "select distinct IDNo,Name,SubjNo,subject,PT2,PER2,Q2,B2,PRO2,A2,UT2,TOTAL2 from tblGrade1 where Yearlevel like '" & Combo2.Text & "' and Subjno like '" & Text1.Text & "' and StudentSec like '" & Text6.Text & "'" Adodc2.Refresh End Sub

Chapter V: Conclusion and Recommendation Page 81

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


Private Sub cmdsearch2_Click() Adodc3.RecordSource = "select distinct IDNo,Name,SubjNo,subject,PT3,PER3,Q3,B3,PRO3,A3,UT3,TOTAL3 from tblGrade1 where Yearlevel like '" & Combo3.Text & "' and Subjno like '" & Text3.Text & "' and StudentSec like '" & Text7.Text & "' " Adodc3.Refresh End Sub Private Sub cmdsearch3_Click() Adodc4.RecordSource = "select distinct IDNo,Name,SubjNo,subject,PT4,PER4,Q4,B4,PRO4,A4,UT4,TOTAL4 from tblGrade1 where Yearlevel like '" & Combo4.Text & "' and Subjno like '" & Text4.Text & "' and StudentSec like '" & Text8.Text & "' " Adodc4.Refresh End Sub Class Record Private Sub cmdAdd_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Records", vbInformation, "LNHS Computerized Grading System" Else de.rsSubject.Open "select * from tblsubj WHERE yearlevel ='" & Adodc1.Recordset(9) & "' " rptSubj.Title = UCase(Adodc1.Recordset(9).Value) rptSubj.Show vbModal, frmMain Set de = Nothing Unload Me End If End Sub Private Sub cmdSearch_Click() Adodc1.RecordSource = "select * from tblsubj where yearlevel like '" & Combo1.Text & "%'" Adodc1.Refresh End Sub Grading Sheet Private Sub cmdAdd_Click() If Adodc1.Recordset.RecordCount = 0 Then MsgBox "No Record Found", vbInformation Else If Option1.Value = True Then With de.rsCRecord .Open de.rsCommand1_Grouping.Filter = "SubjNo ='" & txtSearch.Text & "' And Yearlevel='" & Combo1.Text & "' And StudentSec='" & Text2.Text & "' " rptGS.Show vbModal, frmMain .Close End With Else

Chapter V: Conclusion and Recommendation Page 82

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan


If Option2.Value = True Then With de.rsCRecord .Open de.rsCommand1_Grouping.Filter = "Subject ='" & txtSearch.Text & "' And Yearlevel='" & Combo1.Text & "' And StudentSec='" & Text2.Text & "' " rptGS.Show vbModal, frmMain .Close End With End If End If End If Unload Me End Sub Private Sub cmdSearch_Click() Adodc1.RecordSource = "select * from tblsubj where subject like '" & txtSearch.Text & "%'" Adodc1.Refresh End Sub Private Sub txtSearch_Change() If Option1.Value = True Then Adodc1.RecordSource = "select distinct tblgrade1.SubjNo,tblgrade1.Subject,tblgrade1.Yearlevel,tblgrade1.StudentSec from tblgrade1 where Yearlevel like '" & Combo1.Text & "' and StudentSec like '" & Text2.Text & "' and SubjNo='" & txtSearch.Text & "'" Adodc1.Refresh cmdAdd.Enabled = True Else If Option2.Value Then Adodc1.RecordSource = "select distinct tblgrade1.SubjNo,tblgrade1.Subject,tblgrade1.Yearlevel,tblgrade1.StudentSec from tblgrade1 where Subject like '" & txtSearch.Text & "' and StudentSec like '" & Text2.Text & "' and Yearlevel='" & Combo1.Text & "'" Adodc1.Refresh cmdAdd.Enabled = True End If End If End Sub

Chapter V: Conclusion and Recommendation Page 83

INTERNATIONAL SCHOOL OF ASIA AND THE PACIFIC

Alimannao Hills, Peablanca, Cagayan CHAPTER V CONCLUSION AND RECOMMENDATION Conclusion The researchers concluded that the Computerized Grading System for Libertad National High School at Abulug, Cagayan was developed according to the system requirements gathered initially. The researchers concluded that the Computerized Grading System should be implemented because it provides more accurate records, efficient report and fast accessing of data in terms of emergencies. Recommendation Based from all the observations, data gathering and analysis of the present grading system of the Libertad National High School, the researchers found out that most of the grading computations are done manually and consumes a large amount of time. We therefore recommended the school to implement a Computerized Grading System for them to be able to keep accurate and efficient data records, lessen the workloads of the faculty staffs and teachers on grade computations, and thus can save a lot of time.

Chapter V: Conclusion and Recommendation Page 84

Das könnte Ihnen auch gefallen