I have a table along with a sub-table. I've made a data entry form for the main table, and I am wanting to add a command button on that form which would open the related form(from the sub-table). I made the button and put code behind it but can't seem to figure out what will work. I used "[ID]=" Me![ID] but since it is a data entry form I realized that it wouldn't work since there wouldn't be any related information to open. I just want to make sure my ID's are the same when they are filling out either form. Any suggestions?