I wrote a simple code to check for three values of three different fields in a form and find a record in a table if they match - I did it by using the findfirst method and checking for three criterias connected with "And".
So for example if fieldA = x, fieldB = y and fieldC = w,
open tableA and...