Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 tables. Table 1: Model number and the quantity needed every week for that model

Table 2: The parts needed for the different Models and the usage( number of times that part will be used in that model)

Right now, i need to go about getting the number of parts that I need in total for that week.

Which will be to go look through Table 2 and group them by part number(all the same part numbers are together like row 1-4) and then getting the model name.

From there, using table 1 to get the quantity needed for that model. and repeating the above for the other models that use the same part.


Thank you so much!

What I have tried:

Im new to VBA as well as Access as such I dont really know how to go about doing it. and whether this is possible in Access and if a Query will be much better to do it.

Im looking through a couple of Access vba videos but they dont really seem helpful
Posted
Updated 15-Jan-18 9:38am
Comments
CHill60 12-Jan-18 4:00am    
A query is the correct way to go about this. Use the Improve Question link to post some sample data and your expected results

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900