What to do if DLookup is Slow in your Microsoft Access Database

preview_player
Показать описание
In this Microsoft Access tutorial I'm going to teach you a few things to try to speed up lookups (DLookup, DSum, DCount, etc.) in your Microsoft Access database

Lucas from Chino Hills, California (a Platinum Member) asks: I don't know why one of my forms is loading so slowly. It's basically my customer list, but I need to look up their sales rep from the employee table based on their state. The form ran fine before I added the DLookup, but I really want that information on there. What should I do?

BECOME A MEMBER:

LEARN MORE:

PREREQUISITES:

LINKS:

RECOMMENDED COURSES:

CHECKLIST:
Indexing
Network (cache locally)
Does form load fast without DLookup
Multiple records (reports, continuous forms, queries)
Avoid in VBA loops (use recordsets)

FREE TEMPLATE DOWNLOADS:

ADDITIONAL RESOURCES:

KEYWORDS:
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, DLookup too slow, DLookup slow results, DLookup running very slowly, Need something faster than DLookup, domain aggregate functions, dlookup, dsum, dcount, dmax, dmin

QUESTIONS:
Please feel free to post your questions or comments below. Thanks.
Рекомендации по теме
Комментарии
Автор

Richard, thanks for the video! Get well soon!!!

Shadow.Dragon
Автор

Thanks Richard. I have also conditional formatting. Maybe thats why my continuos subform is getting slowe with dlookup inside. I had to use dlookup in query

stanTrX
Автор

I am trying to use your example to decryped a 25 character value called “barcode” . The number of interest is 3G27. 3 is the year + 2010 number, G is equivalent to July and 27 is simply the day. To extract the 4 values I use Mid([barcode], 22, 1), Mid([barcode, 23, 1) and Mid([barcode], 24, 2). I am then constructing then by adding 2010 to the value making it 2013. The G is the real challenge to me as i need to look up the month value which is represented by G. At the end I then need to concatenate them into the date. Here i am stuck.

sorenschuler
Автор

Hi Richard, no matter how much I try, I'm unable to run DLookup function in my file. I keep getting #Error. Please help!

suhasankaninghat
Автор

Hi Richard I sorted out my problem with my access not working after the Microsoft update even though word and excel was working it broke access I reinstall office again all working ok. Grate video I had this problem as well done what you did in your video grate video again all the best steve b

stephenbeswick