Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X11 > < X10 | X12 >
Back to Access Expert 11    Comments List
Xp11Ln4 Why not add PrdXVndT Upload Images   Link   Email  
Ian Brandt      
6 months ago
In Xp11Ln:4 Why not add ProductXVendorT? Instead of using DLookup, why not link the ProductID and the prices in the new query using an innerjoin ProductXVendorT.  As you said the Dlookup is slow... thousands of products would slow the DB down, no?
Richard Rost             
2 months ago
It's been a while since I recorded this class, so I have to rewatch the video to tell you for sure, but generally, if you can get it to work with a query, then definitely use a query. A "DLOOKUP" or any kind of lookup is much, much slower, so if it works for you, good catch! Did you try it? If it doesn't work, I don't remember my exact reasoning. Like I said, I recorded this several years ago. I don't have time right now to go back and rewatch it, but it could be that I wasn't thinking at the time. Sometimes I fall into the bad habit of relying on a "DLOOKUP" when a more complicated query would definitely be better. Sometimes I like to get it working first, and then I'll go back and optimize it. So, I don't know what I was thinking at the time. Give it a try, and let me know if it works.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 11.
 

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/22/2024 10:45:39 AM. PLT: 1s