I have a database with many forms, when I added a button with an onClick event to one of them it just doesn't work. The onClick event code is very simple: 

```
Private Sub button_Click()
  DoCmd.Close
End Sub

```

Doesn't matter how I click it, the event is not firing. I put a break point in front of the sub, and realized that when I clicked the button the event is not even firing. I create buttons in other forms they work fine, its just this one specific form that doesn't work. 

I did some testing, and realized that when I make the form into a split form, the button stops working. 

Any Idea why? 

Thanks