You should modify the IDs and create a KeyPress event for input2. Should the issue persists, please elaborate what you were trying to achieve ( you can do it by adding screenshots as well).
The reason you see results on Table1 and Table2 is because you created a filter on yout dataset … most likely you connect both tables to that one dataset. By having 2 datasets you can create a filter to 1 only or instead of a filter code you can write a query and tell the code which table to display query results. Here is another example: