Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > TechHelp > Directory > Access > DLookup > Dlookup Cheat in a Default Table by Erik Emerson >
Back to DLookup    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Dlookup Cheat in a Default Table
Erik Emerson 
      
5 hours ago
Likely someone has thought about this before…
If you are using Dlookup to find a value from a Default Table and “double double” for text a is  not your thing,  set up the Default Table Fields like this:  Default_ID(autonumber), Default_Value (Text), Default_Title (Text).
Set the Dlookup to point to the Default Table and have access search for the Default_ID number and pull the Default_Value.

Access is picky when using Dlookup. Access is less picky about how you format a table or form.  If you need to text to explain the Default_Value, which is a good idea, build a Default Entry Form and put the Default_Title field before the Default_Value.  
Richard Rost  @Reply  
           
4 hours ago
Yep, that's a perfectly good approach. Using a numeric primary key makes the DLookup criteria much simpler and avoids having to worry about quoting text values.

The Default_Title field also gives you a nice human-readable description of what each setting is for, while Default_Value holds the actual value you want to retrieve.

I always try to keep my DLookups numeric if possible, but every now and then you've got to find something based on an email address or other text value, so you've got to learn that double-double-quote stuff.
Erik Emerson OP  @Reply  
      
4 hours ago
I understand—we need to learn how to use “double double” quotes. With more time and patience, I’d get better at them, but who has enough of either? As always, thank you for your content and your time.
Richard Rost  @Reply  
           
3 hours ago
Oh, I know it's all about time. Trust me, there's lots of stuff that I want to do, just not enough hours in the day. We do what little we can, try to do a little bit every day, and slowly get better. That's how progress is made.

Rome wasn't built in a day.
Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 11/8/2026 7:47:07 PM. PLT: 1s