All left joined by the relative IDs and MinOfUnitCost-> VendorXProductT.UnitCost. Then you can just drop the fields you need in the query without the DLOOKUP.
Maybe that would be faster then DLOOKUP with tons of records? Or maybe I'm jumping ahead..
Keep up the great work :)
Reply from Rick Rost:
Brian, that course is over a year old, so I don't remember EXACTLY what the lesson covered, but it is generally faster to work with linked tables than to use DLOOKUP in a query for a large set of data. I'm sure if that's the way I did it in class, however, there must have been a good reason for it. :)
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 11.