i am writing a program that is using a database to keep track of stocked items in a business. as a part of the program, i am having a function to count how many items are actually in the database and displaying it in a numerical form within a textbox.
i know how to write this using psuedo code, but im not sure how to go about it using the actual code.
VARIABLE a : string;
COUNT DATABASE ENTRIES
IF ITEM IS THERE, a+1
(continue till to next item in database untill reached the end)
any help would be greatly appreciated