I have a data entry form with 2 subforms based on a master table and 2 many to one tables. THe key field on the master table is an autonumber field called ID. I have added ID fields as long int on the related tables. These fields are linked as master and child on the subform properties. I am getting the following error when I open main form: "TheLinkMasterFields property setting has produced this error: procedure declaration does not match description of event or procedure having the same name". Any idea what is causing this error?