By Richard Rost 2 months ago
Using the On Unload Event in Microsoft Access
In this Microsoft Access tutorial, I'm going to teach you how to use the On Unload event to perform data validation across multiple records and provide a friendly error message when you go to close a form in Microsoft Access.
Freya from Oslo, Norway (a Platinum Member) asks: I have a form where my employees enter a number of job codes for a particular project. Each job code is on a separate record. They have to enter at least five job codes but no more than eight. Is there any way I can check that before they're allowed to close the form?
There is no Extended Cut, but here's the database for the Gold members.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, On Unload Event, Data Validation, Form Closing, Error Messages, Multiple Records, Validation Rules, Friendly Error Message, Form Controls, Records Validation, form close, on close, on unload
Subscribe to On Unload
Get notifications when this page is updated