I have a data access page and I want to close it using a command button after it updates the database. I tried putting window.close into the onafterupdate and onclick events for the button but nothing happened. I am still testing the Data Access page in the Access environment before I put it onto the web.