Thesis Final
Thesis Final
INTRODUCTION
usually for accounting purposes. It is also important for a company to monitor all
the transactions and movement of goods in order to keep an account of all their
stocks.
Nuestra Seňora Del Pilar (NSDP) Rice mill Trading Corporation sold
chemicals for rice fields and supplied rice to different stores in the town of Lebak
Sultan Kudarat. The corporation also allows their customer’s to lend to them such
as; chemical supplies, rice and other product that they have in their stores and
spreadsheet and others were kept or recorded in a log-book. Because of this, the
management found it hard to monitor their sales, stocks inventory as well as the
With this regard Computerized Nuestra Seňora Del Pilar (NSDP) Sales
and Inventory System was developed to eased the above mentioned problem of
the corporation
Objective of the Study
Del Pilar (NSDP) Rice mill Trading Corporation Sales and Inventory System of
1. Create a database system that will monitor sales and inventory of Nuestra
a. List of Creditors
b. List of Products
c. Available Products
d. Sold Products
e. Monthly sales
Significance of Study
(NSDP) Rice mill Trading Corporation Sales and Inventory System, the in-charge
will be able to keep all records of the customer’s and products in an efficient way.
It can generate reports such as list of creditors, list of products, list of available
products, list of sold products and it can also generate the monthly sales. The
system will guarantee accurate and secure data of the NSDP Ricemill Trading
effectively managed.
The proposed study of Nuestra Seňora Del Pilar Ricemill (NSDP) Trading
Corporation Sales and Inventory System will focused only in the record of all
creditors, list of products, list of available products, list of sold products, and
monthly sales. The said study was implemented at Nuestra Seňora Del Pilar
Kudarat, This study was conducted from the month of August 2016 to February
2017.
Operational Definition of Terms
program.
collection of fields.
authorized personnel.
something.
tool.
CHAPTER II
REVIEW OF RELATED LITERATURE
alone systems that are not integrated with other areas of the business, but many
analysts indicate that productivity and hence profitability gains that are garnered
integrates its inventory control systems with other systems such as accounting
Recordkeeping
also ensures their preservation for evidential purposes, accurate and efficient
Chifwepa (1995) also added that record keeping is vital because of its
is a system that provides fast, accurate and easy way of record keeping and
retrieval of all information. Dewa Ahmed (2001) also stated that the computerized
record keeping is one of the modern and useful means of collecting, updating,
device and it cause less energy and time to finish it. These can be done by just
Laar, D.S et.al 2015 stated that, Sales management is a key function that
helps small and medium size enterprises in monitoring and tracking stock and
sales professionals or business entities for sales tracking which make and
Billing System
receives call detail and service usage information, groups this information for
saves time and increases efficiency. The records of the company are safe and
secure, distribution process is well managed, errors are minimized, and reports
generated for management are accurate thereby increasing the profit margin.
(Roseline, E. O. 2012). Conrad B., (2017) added that this type of inventory
Doing a hand count of inventory can take days, but with this type of system, the
inventory. The system also provides the auditor with a device for printing out a
checklist for use in undertaking the inventory, for preparing reconciliation reports
for verifying the auditor's findings with the dealer and an input for inputting the
results of the inventory. Ultimately, a final inventory report can be printed which
includes the present status of all inventory items and all charges collected
records and organization. Conrad B., (2017) mentioned different advantages &
transaction from inputting information to inventory easy and fast wherein it only
takes a matter of hour to be done while manual inventory can last up to days
can automatically generate all kinds of documents, from purchase orders and
checks to invoices and account statements. This will also help the manager to
determine stocks that is running out of stocks and order it automatically. With a
manual system, the data is only as accurate and up to date as the last hand
management team can automatically pull a report and instantly see how many
units are on the floor, how many have sold and which products are selling the
advantages. In case of power failure, system and network failure the system is
order to continue its work and services. Accuracy issue is also one of the
ensure accuracy, and the inventory data is only as good as the data entry that
numbers reported by the system. A select hand count or targeted audit may be
necessary to ensure the integrity of the system. Any computerized system carries
comes the risk of fraud as well. A dishonest vendor, employee or cashier can
change the data being entered in the system or hack the system to receive
checks to themselves.
CHAPTER III
METHODOLOGY
Research Design
functional database program. The system can monitor sales and inventory of
Nuestra Seňora Del Pilar Ricemill (NSDP) Trading Corporation and generate
reports such as list of creditors, list of products, available products, sold product
A. Software Requirements
Microsoft Access
B. Hardware Requirements
Laptop
Printer
Flash drive
C. Supplies
Bond Paper
Sliding Folder
Ball pen
Pencil
Manual Process of Nuestra Seňora Del Pilar Ricemill
Trading Corporation
D. Testing/Evaluation
Functionality,
Efficiency
User Interface
An interview was conducted to the owner of the Nuestra Seňora Del Pilar
and other products, costumers records and report of sales were identified.
Sample forms were also asked to the owner wherein it serves as basis in
making different data fields of the system. Software, hardware and other
materials used during the development of the system were identified and made
B. Analyzing
After all data had been gathered, the researcher analyze the system flow,
which make the system interface a user-friendly. System flow on how data
entered in the system (figure 3 and 4) as well as the general flow (figure 2) was
also designed.
Figure 2. Context Diagram
Figure 3. Data Flow Diagram (For Customer)
Figure 4. Data Flow Diagram (For In-Charge)
C. Development of the System
Products, and other transaction of the system. Microsoft Access (See figure 6)
was used as a database of the system where all data encoded in the develop
stored.
name and password, two labels intended for the caption of user password and
user name and two command buttons such as OK button to confirmed the
password and CANCEL button to stop transaction. Codes were encoded in the
code window to make the log-in form functional. (see figure 7 below)
Figure 8 below shows how the System Main Form developed. Commands
for every transaction were developed using different data elements of the visual
Basic 6.0 programming language. The main menu has 11 menus for different
included in the system were based on the actual standard form used by the
Unit, Cash, Account and Date Updated. There were five command buttons
included in this form for every transaction namely Add, Refresh, Delete, Edit and
Print. Figure 10 below is the Price Registration Form which is comprised of five
(5) labels intended for the captions of every data fields, five (5) Text Boxes for
products information, one (1) Combo Box for unit of measurement and two (2)
one List View intended for viewing the available items as well as its information’s.
one(1)Text Box for searching of available products and five (5) Command
Buttons such as Add Items, Refresh, Delete, Edit and Print.(See figure 11 below)
Data elements includes sevens (7) labels for Data Fields caption, seven (7) Text
Boxes for items information’s, and three (3) Command Buttons for Search, Add
and Save.
such as, one List View intended for viewing the available items as well as its
information’s. one (1)Command Button and one (1) Text box for searching of
available products.
Other forms such as; Receipt List Form, Register Receipt Form, Search
Item Form, Credit Information Form, Customer’s Account Form, Pay Account
Form, Back Up Files, System Restore and System Utility are developed using
also the Visual Basic 6.0 programming language. Data fields were based on the
actual form taken From Nuestra Seňora Del Pilar (NSDP) Ricemill Trading
Corporation located at Poblacion 1 Lebak Sultan Kudarat. All forms were coded
The Report was also based on the suggested report by the owner of the
establishment. Other report designs are the following; AGRI – Supply Price List
Report, Credit List Report, Cash Receipt of AGRI – Supply Report, Credit
After the system was developed, it had undergone series of test. This was
done in order to determined errors and automatically fixed. The yellow color on
system, System Interface, system efficiency and system security. There were 10
The remaining two respondents was the owner of the association and the
Statistical Tools
Liker 5 point rating scale was used to determine the response of the ten
(10) respondents during the conduct of evaluation. Below was the rating scale
weigh the response of the respondents. Below is the formula used in computing
Formula:
items in sample.
Table 1. Evaluation Sheet
Kindly rate the performance of the study entitled: Computerized Nuestra
Seňora Del Pilar (NSDP) Rice mill Trading Corporation Sales and Inventory
System. The purpose of this evaluation is to assess the System Interface,
Functionality Efficiency and Security of the System. Your answer is a great help
for the success of this study.
Direction: Kindly encircle the number that corresponds to your assessment
using the following:
5 Strongly Agree SA
4 Agree A
3 Undecided U
2 Disagree D
1 Strongly Disagree SD
A. User Interface
The System Graphical Design is Aesthetic 5 4 3 2 1
The system is User-Friendly 5 4 3 2 1
Total
Mean
B. System Functionality
Can Register Customer’s Information 5 4 3 2 1
Can Register Products of the corporation 5 4 3 2 1
Can Compute Amount of Purchased items and interests of 5 4 3 2 1
the Debtors.
Can monitor Sales and conduct Inventory transaction 5 4 3 2 1
Can Generate reports such as: 5 4 3 2 1
List of Creditors
List of Products
Available Products
Sold Products
Monthly Sales
Total
Mean
C. System Efficiency
Reduce Paper works of the corporation 5 4 3 2 1
Accurately calculate customers account 5 4 3 2 1
Fast monitoring of transaction such as inventory and sales. 5 4 3 2 1
Fast and accurate generation of reports. 5 4 3 2 1
Total
Mean
D. System Security
Is the system able to secure data from unauthorized person? 5 4 3 2 1
There is a Data Back-Ups and Restore commands which is 5 4 3 2 1
functional
Total
Mean
Table 2. Gantt Chart
Activities September October November December January
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
A. Planning and
Data Gathering
B. Analysing
C. Development
of the System
D. Testing and
Debugging
E. Evaluation
Mill Trading Corporation Sales and Inventory System was developed to address
management. The developed system has a database that can store different
Through the developed Computerized Nuestra Seňora Del Pilar Ricemill Trading
Corporation Sales and Inventory System the management can improve their
daily activities particularly in providing services to their clientele and reduce the
This system automate the following transaction of the corporation such as;
Costumers Account, inventory, Back-up files, Price List, System utility, System
account. All data entered in the system were automatically saved in a databased.
It has also the capabilty of providing report of all transaction that was needed by
the management.
Figure 16 below was the log-in form of the system. The Log-in form was
such as; textbox, label and two command buttons. The two text boxes is where
the user name and password entered while the two command buttons such as
OK is for entering the password and username encoded by the User and the
Cancel is for closing or terminating the transaction. After logging in the password
incorrect.
This log-in form served as the security feature of the system wherein all
Username. All data or information that was stored in the system cannot be
deleted, edit or update without the use of the log-in form. System was enclosed
with a Log- in form in order to secure all information recorded from unauthorized
person.
After the user entered the correct password and username the Main form
commands in order to view or proceed to every transaction that the user want to
conduct. The menus that were enclosed in the main form are; Customer’s
Account, Inventory, Backup Files for backup Price List, System Utility, System
Restore, Purchased Item Receipt, Sales, Changes Password and Change
Account. Any transaction cannot be done without navigating the Main Form. This
was done in order to organized transaction flow and make the system a user
the user provided that they are authorized by the management and have the
The Price List Form were consists List View, Text box and five command
button namely; Add, Refresh, Delete, Edit and Print. The List View located at the
center views all items that were registered in the system with corresponding
information such as; Item number, its description, Unit, its amount in cash and
credit and the date that the item updated or registered. Searching for a particular
item is easier with the used of the system because of a search box that is
enclosed in the system located at the bottom left corner of the form that
automatically view the item being search by the user. Registering new item
could also be done by simply pressing the Add button which will automatically
view the Price registration form (figure 19) where the user will entered all item
information. The Refresh button is used to update the system memory in case
that the system will not able to view new registered item. The Delete button is
intended for deleting registered item when it is selected while the Edit button is
used when the management want to manage the information of the item and the
Print button is used to produce or to generate report or hard copy of all registered
item.
The Price List Form allows the user or management to view price
information makes the transaction of the said corporation fast and easy. (See
figure 18 below)
or Edit button in the Price List form pressed. This form is intended for registering
new product or editing the registered product price information. It has different
data fields where the management entered product price information such as;
Item No., Description, Unit, product amount in Cash and Account or in credit
basis. There were two command buttons which is placed below the form. These
are the Add button which enable all data fields and allows the user to entered
product information in the form and the Save button that is intended for saving all
information that was entered in every data fields and automatically stored in the
products looking at the List View located at the center of the form. It contains
Product price in cash and credit basis, total amount as well as the date that the
there is sales transaction conducted in a certain product. The Inventory list form
can also produce or can provide a hard copy report of the number of available
products. A search button was also enclosed in the form to make the searching
of a certain product fast. Other commands involved are; Add item, Refresh,
appeared when the Add Item or Edit button located in the Inventory list form
(figure 20) pressed. All data fields are disabled or the user cannot enter product
information. The Search button located at the upper right corner of the form
automatically load the Search Item Form (see figure 22 below) which contained
and view products that is only registered in the system. The user can only edit
registered receipts. It has a List View located at the center of the form which
of registered receipt, Receipt No. Starting and Ending number of the receipt,
number of used receipt and Status of the receipt if it is currently used or not in
used. It contains two commands such as; Add for registering new receipt and
registering the new receipt. It has three data fields where the user entered the
credit or cash. Item to be purchased can be add and view in the List View fields
by simply pressing the Search Item button place at the bottom of the form and it
automatically view the Search Item Form (Figure 26) that contain all registered
and available product of the corporation. The item can also be removed in case
of wrong inputs by clicking the Remove item button. The Save Button is intended
to save transaction conducted and load the Customers Receipt Form (figure 27)
that contain information of the customer and the product being purchased.
management to set amount of Interest and number of days that the credit will
laps. This was included in the system because the corporation allows their
amount of the goods they purchased which depend on the number of days.
information such as; OR Number, Costumers Name, Total Amount of Goods, the
Number of days, date started and its due date when the purchased of item is
credit. The form also contains a search box for fast searching or customer which
has two categories such as OR number or Costumers name. It has also different
incased that the system will not able to display other registered customers,
account Transaction Form (figure 30 below) and Print button to generate report
of list of customers. Where the user conducted transaction if the customers pays
its account or balances and the last button was the Print where it allows the user
to generate hardcopy of list of all customers who purchased any product in the
corporation.
the Pay Account button located at the Customer’s Account Form (Figure 28) was
pressed. The Pay Account form contains the following fields; OR Number which
amount paid. Enclosed in it are two command buttons intended to direct the
system to execute such operation. These buttons are the Cancel which will
terminate the system and Save which will store transaction and information
entered in different data fields in the system data base. The information being
stored in the data based was used during the inventory of sales which helped the
Figure 31 below was the generated Data Report of list of all customers
who purchased any products of the Nuestra Señora Del Pilar Rice Mill Trading
Corporation. This report can automatically generate when the Print Button
purchased. This report is necessary for the management in case that the
system will bard down. The format of the report was designed based on
The Sales Form which shows all sold product with corresponding
information such as; Or number, Name of Customer and its Address, Item
Number, its Description, quantity, unit, price, total amount, date purchased and
payment mode made by the customer’s. This forms also contained Search button
according to year, month and date. This type of inventory report allows the
Sales Report (see figure 32) can be generated through the use of Print button
while the Refresh button is for updating the content of the database and the
Delete Button is for deleting selected records or all records registered. All item
sold were viewed in the List View which is located at the center of the form. Data
that was registered here were pulled out or came from the purchased transaction
password of the system. It has three data fields namely Old User Name, New
Password and Old Password. System password cannot be change unless the
person or user that uses it knows the old user name and the old password. This
is one of the security features of the system where it helped in securing all
information that was stored in the system data based. This also helped the
below)
the user name or user account name. This form has also the same purposed to
are the Back-up form (Figure 36 below) that will keep or reserve all information of
the system up to the date that the back-up transaction was conducted, the
bring back all files that was back-up by the user, the last was the System Utility
(Figure 38) that will erase or wipe all data that was stored in the system. The
system was enclosed with different mentioned utilities for system management.
The developed computerized system for Nuestra Señora Del Pilar Rice
Mill Trading Corporation Sales and Inventory System were evaluated based on
mean of 4.4 with the descriptive meaning of Strongly Agree. This simply implies
that the System Interface designed was easy to manipulate, understandable and
a weighted mean of 4.5 with a descriptive meaning of strongly agree. This simply
denotes that all component of the system function according to its purposed or
objective and did not encountered any errors or malfunctioning during its
operation.
strongly agree. This simply interpreted that the system was able to generate
accurate reports needed by the corporation which leads them to reduce paper
it gained mean of 4.6 with a descriptive meaning of strongly agree. This simply
construed that the information stored in the system can only be access by the
user who has the correct password and username an data can easily retrieved in
simply denotes that the developed system for Nuestra Seňora Del Pilar (NSDP)
Corporation Sales and Inventory System helped the said corporation to manage
their sales and inventory of their products fast and easy. Retrieving, monitoring
and updating of records can easily be done than the manual system that they are
currently using. Generation of reports are can also done fast and more accurate.
Laar, D.S et.al 2015 stated that, Sales management is a key function that
helps small and medium size enterprises in monitoring and tracking stock and
automated inventory control system reduces the workload of the staff, saves time
generation, well managed distribution process, keep records safe and secure
which make profit margins increased. Conrad B., (2017) also added that, this
inventory easier. Doing a hand count of inventory can take days, but with this
Summary
This study entitled “Computerized Nuestra Seňora Del Pilar Rice Mill
database system that monitor sales and inventory of the said corporation,
automate the generation of report such as: List of Creditors, List of Products,
Available Products, Sold Products as well as their, Monthly sales and lastly was
to evaluate the functionality, efficiency, user Interface and security of the system.
Planning was first conducted prior do the conduct of the study. This
includes identification of all requirements needed and data that was gathered
corporation. The system was developed using visual basic 6.0 programming
language as system front end and Microsoft access as the system data based or
back end. After the system was developed it undergone series of test to validate
its functionality and fixed errors that occurred. The system was then evaluated by
also has the capability of generating reports needed by the management for
weighted mean of 4.4 for its graphical user interface, 4.5 for its functionality, 4.6
for its efficiency and 4.6 for its security with a grand mean of 4.525 which simply
implies that the system function according to its purpose and desired output.
Conclusion
Based on the result of the study, it is therefore concluded that the system
works and made transaction of the corporation become faster, easier and
accurate than of the previous practiced that they are doing. Furthermore,
Recommendation
inventory system for Nuestra Seňora Del Pilar Rice Mill Trading Corporation as
system with a hardware component which will make the system more efficient
Bernabe, Z. I. V., Cruz, M. C. D., Jao, K. K., Tio, J. A., & Gonzales Jr, A. S.
2007. Automated Inventory System Using Portable Data Acquisition
Module for Bell Electronics Corporation (Doctoral dissertation, BS thesis,
ECE Dept., De La Salle Univ., Manila, Philippines)
Hisrich, R. D. & Jackson R. W., 1993. Sales and Sales Management. Barons
Education Series, inc., New York 117782,., 1993.
Laar, D.S., Konjaang, J.K. & Tankia, B. A., 2015. Design and development of a
sales management system for SMEs in northern Ghana. International
Journal of Innovative Research in Advanced Engineering (IJIRAE).
unLockedFields
'On Error Resume Next
With Data1.Recordset
Text1.Text = .Fields(0)
Text2.Text = .Fields(1)
Text3.Text = .Fields(2)
Combo1.Text = .Fields(3)
Text4.Text = .Fields(4)
Text5.Text = .Fields(5)
End With
unLockedFields
cmdAdd.Enabled = 0
cmdSave.Enabled = 1
EditRec = True
End Sub
Dim z As Double
Public Sub SaveToCredit()
With Data5.Recordset
.AddNew
.Fields(0) = Text5
.Fields(1) = Text2
.Fields(2) = Text4
.Fields(3) = Format(z, "#,##0.00")
.Fields(4) = frmCredit.Text2
.Fields(5) = frmCredit.DTPicker1.Value
.Fields(6) = frmCredit.DTPicker2.Value
.Fields(7) = frmCredit.Text1
.Fields(8) = Format(z + Val(frmCredit.Text1), "#,##0.00")
.Fields(9) = "0"
.Fields(10) = Format(z + Val(frmCredit.Text1), "#,##0.00")
.Update
frmCredit.Text1 = ""
frmCredit.Text2 = ""
frmCredit.Text3 = ""
End With
End Sub
Do Until Data4.Recordset.EOF
.AddNew
.Fields("ORNo") = Text5
.Fields("Name") = Text2
.Fields("Address") = Text4
.Fields("ItemNo") = Data4.Recordset.Fields("ItemNo")
.Fields("Description") = Data4.Recordset.Fields("Description")
.Fields("Unit") = Data4.Recordset.Fields("Unit")
.Fields("Qty") = Data4.Recordset.Fields("Qty")
.Fields("Price") = Format(Data4.Recordset.Fields("Price"),
"0.00")
.Fields("Total") = Format(Data4.Recordset.Fields("Total"),
"0.00")
.Fields("Month") = Format(TODAY, "mmmm")
.Fields("Day") = Format(TODAY, "dd")
.Fields("Year") = Format(TODAY, "yyyy")
.Fields("Payment") = Combo1
.Update
Data4.Recordset.MoveNext
Loop
End With
End Sub
Public Sub EditQty()
Dim a, b, c As Double
Data2.RecordSource = "Select * from tblInventory where ItemNo
like'" & ListView1.SelectedItem.SubItems(1) & "'"
Data2.Refresh
With Data2.Recordset
.Edit
a = Val(ListView1.SelectedItem.SubItems(4)) +
Val(.Fields(2))
.Fields(2) = a
.Fields(6) = a * Val(.Fields(4))
.Update
End With
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
DR_Receipt.Sections("Section5").Controls.Item("Label15").Caption
= Format(z, "#,##0.00")
DR_Receipt.Sections("Section4").Controls.Item("lblOR").Caption =
Text5
DR_Receipt.Sections("Section2").Controls.Item("Label4").Caption =
Text2
DR_Receipt.Sections("Section2").Controls.Item("Label5").Caption =
Text4
DR_Receipt.Sections("Section4").Controls.Item("Label18").Caption
= Combo1
Set DR_Receipt.DataSource = rs
DR_Receipt.Show 1
Call ReceiptUpdater
Text2 = ""
Text4 = ""
End If
LoadFile1
End Sub
End If
End Sub
ElseIf DReciept.Recordset.Fields("Counter") =
DReciept.Recordset.Fields("End") Then
MsgBox "Receipt is empty, load another Receipt!", vbCritical,
"System Information"
With DReciept.Recordset
.Edit
.Fields("Status") = "Used"
.Update
End With
DReciept.Refresh
Else
Text5 = Format(Val(DReciept.Recordset.Fields("Counter")) + 1,
"00000")
End If
End Sub
Dim z, X, Y, a, b As Double
DR_CreditList.Sections("Section5").Controls.Item("lblTotal").Captio
n = Format(b, "#,##0.00")
DR_CreditList.Orientation = rptOrientLandscape
Set DR_CreditList.DataSource = rs
DR_CreditList.Show 1
End Sub
DR_Payment.Sections("Section4").Controls.Item("lblOR").Caption
= Text1
DR_Payment.Sections("Section2").Controls.Item("Label9").Caption
= Text2
DR_Payment.Sections("Section2").Controls.Item("Label10").Captio
n = Format(Text4, "#,##0.00")
DR_Payment.Sections("Section2").Controls.Item("Label11").Captio
n = Format(frmCreditList.ListView1.SelectedItem.SubItems(11) -
Val(Text4), "#,##0.00")
DR_Payment.Sections("Section2").Controls.Item("Label12").Captio
n = Format(frmCreditList.ListView1.SelectedItem.SubItems(10) +
Val(Text4), "#,##0.00")
Set DR_Payment.DataSource = rs
DR_Payment.Show 1
End Sub
Call LoadFile
End Sub
Call LockedFields
End Sub
End Sub
Dim b As Double
Private Sub cmdDelete_Click()
Dim warning As String
If ListView1.ListItems.Count = 0 Or
Data1.Recordset.RecordCount = 0 Then
MsgBox "No record to delete!", vbCritical, "System
Information"
Else
warning = MsgBox("Are you sure you want to delete this
record?", vbQuestion + vbYesNo, "System Confirmation")
If warning = vbYes Then
Data1.Database.Execute "Delete * from
tblPurchaseHistory"
Data1.Refresh
Call LoadFile
End If
End If
End Sub
DR_Sales.Sections("Section4").Controls.Item("Label7").Caption =
"As of " & Combo2 & " " & Combo4
End If
DR_Sales.Sections("Section5").Controls.Item("Label15").Caption =
Format(b, "#,##0.00")
DR_Sales.Show 1
End Sub
For Byear = 1 To 31
Combo3.AddItem Byear
Next
End Sub
Public Sub SearchDate()
ListView1.ListItems.Clear
b=0
RecordCon
sql = "tblPurchaseHistory"
If Combo2 = "" And Combo3 = "" And Combo4 <> "" Then
sql = "SELECT * FROM tblPurchaseHistory WHERE Year
LIKE '" & Trim(Combo4) & "%'"
ElseIf Combo2 <> "" And Combo3 = "" And Combo4 <> ""
Then
sql = "SELECT * FROM tblPurchaseHistory WHERE Month
LIKE '" & Trim(Combo2) & "%'and Year LIKE '" & Trim(Combo4) &
"%'"
ElseIf Combo2 <> "" And Combo3 <> "" And Combo4 <> ""
Then
sql = "SELECT * FROM tblPurchaseHistory WHERE Month
LIKE '" & Trim(Combo2) & "%' and Day LIKE '" & Trim(Combo3) &
"%' and Year LIKE '" & Trim(Combo4) & "%'" & _
"ORDER BY tblPurchaseHistory.Month ASC;"
End If
Set rs = New adodb.Recordset
rs.Open sql, Conn, adOpenDynamic, adLockOptimistic
Do Until rs.EOF
a=a+1
b = b + rs!Total
Set lst1 = ListView1.ListItems.Add(, , a, 1, 50)
With lst1
.SubItems(1) = rs(0)
.SubItems(2) = rs(1)
.SubItems(3) = rs(2)
.SubItems(4) = rs(3)
.SubItems(5) = rs(4)
.SubItems(6) = rs(5)
.SubItems(7) = rs(6)
.SubItems(8) = rs(7)
.SubItems(9) = rs(8)
.SubItems(10) = rs(9) & "/" & rs(10) & "/" & rs(11)
.SubItems(11) = rs(12)
End With
rs.MoveNext
Loop
End Sub
Public Sub SearchItem()
Dim selection As String
selection = Combo1
sql = "tblPurchaseHistory"
ListView1.ListItems.Clear
Select Case selection
Case "ORNo"
sql = "SELECT * FROM tblPurchaseHistory WHERE ORNo
LIKE '" & Trim(txtSearch) & "%'"
Case "Name"
Appendix 16
End Sub
Recommending Approval:
Approved:
_________
Date Signed
Appendix 22
Republic of the Philippines
SULTAN KUDARAT STATE UNIVERSITY
Kalamansig Campus
Kalamansig, Sultan Kudarat
APPLICATION FOR THESIS OUTLINE DEFENSE/EXAMINATION
Name: LINA D. SAWARA
Degree Sought: BACHELOR OF SCIENCE IN INFORMATION TECHNOLOGY
Thesis title: COMPUTERIZED OF NUESTRA SEŇORA DEL PILAR (NSPD)
RICEMILL TRADING CORPORATION SALES AND INVENTORY SYSTEM
Check whether first( ∕ ), second ( ), or third ( ) examination.
Date of exam: Time: Place:
MEMBERS OF THE EXAMINING COMMITTEE
(At least 3 including the adviser)
Name Signature Date
EDUARDO B. AQUINO JR.
REYNAN E. DEMAFELIZ, MIT
AIREEN ROSE R. MANGUIRAN
Recommending Approval:
Recommending Approval:
Date Signed
Appendix 24
Nuestra Seňora Del Pilar (NSDP) Ricemill Trading Corporation Sales and
2017.
Note: This certificate should be submitted to the Research Chairman prior to the
approval/reproduction of Thesis Outline.
Appendix 25
Approved:
Endorsed
RICHIE B. ESPALLARDO
Research Coordinator
Recommending Approval:
REYNAN E. DEMAFELIZ,MIT
Department Coordinator
Date Signed
Approved:
_________________
Date Signed