|
||||||
Table-Level Validation By Richard Rost 3 years ago 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 files from class plus get access to the Code Vault. If you're not a member, Join Today!
CoursesTable-Level Validation Rules: https://599cd.com/ACX28 LinksSimple Validation Rules: https://599cd.com/Validation
|
||||||||||||||||||||||||
| |||
Keywords: TechHelp Access Validation rules for multiple fields, table level validation rule, another field, beforeupdate event, before update event, dsum function PermaLink Table-Level Validation in Microsoft Access |