I have an db with 2 tables where I am matching 1 field and displaying the matches in a table by record ID. That table has 10 fields from tableB displayed in it. If the data of the field in tableB matches the data of the field in tableA I response.write "Match" if it doesn't I response.write "Unmatched". I would like to count the number of "Match" and assign a percentage such as 70% for each record displayed. Anyone have an idea as to how to code something like that. I've never done anything like it that I can remember. Any help appreciated. Hope I explained that well.