Computer Learning Zone CLZ Access Excel Word Windows

Education is the transmission of civilization.

-Will Durant
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Inventory Courses    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Inventory Dlookup slow
Ester Grande 
    
3 years ago
Hi, I am trying to design an inventory for a shop that sell shoes.
Everything works fine I only have one question, if somebody can help.

I need to have a single form to display the quantity avalabile of a certain line of product, taken from a query. I created the continous form, the filter and everything is fine. Each record though, has to show all the size of a certain product. I used the dlookupfunction that has 2 variables (line and size) to show these records, and works fine. Problem is there are a lots of records so, unless I keep clicking more and more anywhere on the form they don't show.

So my question is

Is there another way I can show the stock in each size, quicker than the lookup, or is there a way I can make datas to show up quicker?

Thanks
Ester Grande OP  @Reply  
    
3 years ago

Kevin Yip  @Reply  
     
3 years ago
You may consider using a crosstab query to show the info, and not having to use DLookup() at all.  Dlookup() is to be used sparingly, as are all the D... functions, because they perform aggregate operations that could be time-consuming.

Richard should have videos on crosstab queries.  They basically work like this:

If your table looks like:

ProductID    Size    Units
P1000     Small     123
P1000     Medium     234
P1000     Large     234
P1000     XLarge     123
P2000     Small     100
P2000     Medium     200
P2000     Large     200
P2000     XLarge     100

A crosstab query made from this table would look like:

ProductID    Small    Medium    Large    XLarge
P1000        123      234       234      123
P2000        100      200       200      100
Ester Grande OP  @Reply  
    
3 years ago
Thanks I ll check that

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

Next Unseen

 
New Feature: Comment Live View
 
 

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: 4/30/2026 2:06:17 PM. PLT: 0s