Event Procedures

In Microsoft Access 2.0, forms have procedures associated with events and saved with the form definition. To create a procedure to respond to the OnCurrent event of a form, for example, you simply click the Code Builder button next to the OnCurrent property in the property sheet and write the desired code. The procedure is saved with the form itself. Only global procedures that you share between forms are stored in modules as before. This model makes it much easier to write, update, and keep track of your application's code.