I have a master and a sub form with two different tables in each. The tables are common to each other by a key field. The sub form is called by clicking on the appropriate button that I created by the wizard. The problem is that I only want the button to be visible when a record in the master matches a record in the sub form. The subform uses a query to find the matching record. So in short I only want the user to see and click on the button when a matching record resides in the subform table. Thanks!