Advertisement

03.20.2008 at 02:05PM PDT, ID: 23258441
[x]
Attachment Details

Help with dlookup

Asked by fh_freese in Microsoft Access Database

Tags: Microsoft, Access, 2003

I have a table tblPerUnitCost. There are 2 fields: PartNumber (text) and UnitCost (currency)

I have another table tblScrapTicket. There are two relevant fields: PartNumberID (Number) and UnitCost (currency).

I have a third table tblPartNumber with four fields: PartNumberID (autonumber), PartNumber (text), PartNumberDescription, ComponentID. Many of the part numbers are alpha-numeric.

I'm thinking I will need to do two lookups. The purpose for the first lookup is to match the PartNumberID I get from my frmScrapTicket control cboPartNumber against my table tblPartNumber and assign the PartNumber (which is text) to a variable.

The second lookup would be to use that variable to lookup the PartNumber from my tblPerUnitCost and assign the UnitCost for that part to my tblScrapTicket. The reason I do this is because unit prices change frequently.

I hope I've been clear and would greatly appreciate help in setting this up.
Start Free Trial
[+][-]03.20.2008 at 02:24PM PDT, ID: 21176021

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.20.2008 at 02:28PM PDT, ID: 21176068

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.20.2008 at 02:37PM PDT, ID: 21176140

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 02:58PM PDT, ID: 21176276

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 03:02PM PDT, ID: 21176316

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628