Table As' value X,Y,Z can be changed from form A depending on the sure.
Form B is more like a searching purpose. It takes in user's input of value X and Y, in order to search table A and displaying value Z. At the same time, table B will be keeping the records of the input X, Y and the output Z.