Hi,
1. Place the button in design form
2. Right click on button and go to buttons property
3. Click on Rules button and click Add button
4. Then click on Add action button
5. Select ‘Close the form#%92 option in Action drop down.
6. Click ok and preview the form.
Hope this will help you.