AfterUpdate Event & DLookup Function in Microsoft Access - How to Look Up Values from Table to Form

In this Microsoft Access tutorial, I will show you how to look up and auto populate fields in a form using the DLookup function and the AfterUpdate event in VBA (Visual Basic). Don't worry if you've never done any programming before. I'll take it step by step. Chris (Gold Member) asks, "I assign zone numbers to customers based on the state the customer is in. However, this isn’t a rule. There may be exceptions, such as if a sales rep brings in a new customer from out of his zone. Is there a way to automatically fill in the default zone for the customer when I enter his state, but still be able to change it?" LEARN MORE: AfterUpdate Events: https://599cd.com/afterupdate DLookup Function: https://599cd.com/dlookup AutoNumbers: https://599cd.com/autonumber String Concatenation: https://599cd.com/concatenation Excel VLOOKUP: https://599cd.com/vlookup Excel XLOOKUP: https://599cd.com/xxlookup ZIP Code Lookup:    • Microsoft Access ZIP Code Lookup Template ...   BONUS FOR CHANNEL MEMBERS: Silver Members and up get access to an EXTENDED CUT of this video which covers additional examples. That video will show you how how to prompt the user for the Zone number if the State isn't found in the table. We will learn how to use the InputBox, NZ, CInt, and IsNumber functions, and learn about type casting. MEMBERS ONLY VIDEO:    • AfterUpdate Event & DLookup Function in Mi...   BECOME A MEMBER:    / @599cd   MEMBERS TOPICS: InputBox Function: https://599cd.com/inputbox NZ Function: https://599cd.com/nz Type Casting: https://599cd.com/type+conversion CInt Function: https://599cd.com/cint IsNumeric Function: https://599cd.com/isnumeric DoCmd.RunSQL: https://599cd.com/runsql DoCmd.SetWarnings: https://599cd.com/setwarnings SQL Seminar: https://599cd.com/sql RESOURCES: FREE Customer Template Database: https://599cd.com/XCDT FREE Access Level 1: https://599cd.com/Free101 $1 Access Level 2: https://599cd.com/1Dollar Your Questions Answered: https://599cd.com/TechHelp Learning Connection 50% OFF: https://599cd.com/Connection Survey: https://599cd.com/survey Richard's Blog: https://599cd.com/blog Access Forum: https://599cd.com/AccessForum Twitter:   / learningaccess   Email Me: [email protected] https://en.wikipedia.org/wiki/Microso... https://products.office.com/en-us/access https://microsoft.com/en-us/microsoft...

Turn Off Warnings in Microsoft Access: How to Turn Off Warning Messages for Action Queries
▶︎

Turn Off Warnings in Microsoft Access: How to Turn Off Warning Messages for Action Queries

How to use DLOOKUP function + AFTER UPDATE function in Ms Access.
▶︎

How to use DLOOKUP function + AFTER UPDATE function in Ms Access.

How and Why to Split Your Microsoft Access Database - Linked Table, Front End, Back End, Benefits
▶︎

How and Why to Split Your Microsoft Access Database - Linked Table, Front End, Back End, Benefits

Getting Started with MS Access Visual Basic for Applications - VBA Code-Behind and Modules
▶︎

Getting Started with MS Access Visual Basic for Applications - VBA Code-Behind and Modules

Why Microsoft Access Search Key Not Found Errors Happen And How To Fix Them - QQ 96
▶︎

Why Microsoft Access Search Key Not Found Errors Happen And How To Fix Them - QQ 96

Excel 2021 Full Course Tutorial (3+ Hours)
▶︎

Excel 2021 Full Course Tutorial (3+ Hours)

Deep Dive into LLMs like ChatGPT
▶︎

Deep Dive into LLMs like ChatGPT

Fall asleep while I build a zoo (Part 2)
▶︎

Fall asleep while I build a zoo (Part 2)

Mastering the DLookup Function for Form-Level Data
▶︎

Mastering the DLookup Function for Form-Level Data

MsAccess - Update Parent Form with Sub Form Control References
▶︎

MsAccess - Update Parent Form with Sub Form Control References

Free Event: Power BI Beginner to Pro 2026 Edition - Full Hands-On Tutorial
▶︎

Free Event: Power BI Beginner to Pro 2026 Edition - Full Hands-On Tutorial

Working with Forms in Microsoft Access
▶︎

Working with Forms in Microsoft Access

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours
▶︎

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours

Stunning 4K Underwater Wonders + Amazing Fish, Coral Reefs & Sea Animals + Relaxing Music #8
▶︎

Stunning 4K Underwater Wonders + Amazing Fish, Coral Reefs & Sea Animals + Relaxing Music #8

How to Use DLookup in Microsoft Access
▶︎

How to Use DLookup in Microsoft Access

Update a Table with values from another Table in MS Access - Office 365
▶︎

Update a Table with values from another Table in MS Access - Office 365

Integrated SSDs Should Be Illegal, But Why Would They Care!
▶︎

Integrated SSDs Should Be Illegal, But Why Would They Care!

Intermediate Representation | Writing a Compiler in C++ | risc-v toolchain | Day 9
▶︎

Intermediate Representation | Writing a Compiler in C++ | risc-v toolchain | Day 9

How to Create a Main Menu Form in Microsoft Access with Buttons or a List Box
▶︎

How to Create a Main Menu Form in Microsoft Access with Buttons or a List Box

Microsoft Access Search: Find a Record on My Form Based on the Value I Selected in my Combo Box
▶︎

Microsoft Access Search: Find a Record on My Form Based on the Value I Selected in my Combo Box