I have a db with 9 different forms all very similar. Each of the similar forms has a log bet button on the bottom of each page. When i open the db up and go to click log bet it returns a event procedure error. When i open vb up it has the code open for 2 forms; line and under. If i close both of these forms in vb and close vb the log bet button works perfectly how do i get these pages not to be open when i open the db.