|
||||||
Table-Level Validation By Richard Rost ![]() ![]() Table-Level Validation Rule, Check Multiple Fields In this video, I'll teach you how you can setup multiple-field validation rules in your Microsoft Access tables so that you can compare different field values before allowing a record to be saved. Natalie from Detroit, Michigan (a Gold Member) asks: When closing out my drawer at the end of each night, I like to enter the total amount of cash counted, and then the total amount taken out for the deposit. The deposit amount cannot be larger than the total count, of course, but once in a while someone types it in wrong and it messes everything up. Is there a way to have Access check this and not let them type in a value that would make the drawer go negative, or below $100, which is the amount I like to leave in the drawer for the next day? MembersMembers will learn how to use a BeforeUpdate event with Dlookup or Dsum functions in order to check values in other records, or even other tables altogether.
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! CoursesTable-Level Validation Rules: https://599cd.com/ACX28 LinksSimple Validation Rules: https://599cd.com/Validation
|
||||||||||||||||||||||||
| |||