urielsmemory
Technical User
Greetings,
I am building a forecasting tool and due to the input restrictions imposed by the users have the following problem.
I have a table (tblA) with the fields: ProductID, Qty shipped, Ship date. (Example row: 1, 50, Jul07)
I have another table (tblB) which contains information on the same product, but with the following fields: Product ID, Jun07, Jul07, etc (Example Row: 1, 5, 10, etc).
I need to write a query that draws of both these tables and aggregates. I would like to build table C, with fields: Product ID, sumJun07, sumJul07, etc. (Example Row: 1, 5, 60, etc)
I am not very familiar with SQL or VBA. Is there a way to make access do this without customer writing something? If not, is there a quick clean piece of code that could help me do what I need to?
WJW
I am building a forecasting tool and due to the input restrictions imposed by the users have the following problem.
I have a table (tblA) with the fields: ProductID, Qty shipped, Ship date. (Example row: 1, 50, Jul07)
I have another table (tblB) which contains information on the same product, but with the following fields: Product ID, Jun07, Jul07, etc (Example Row: 1, 5, 10, etc).
I need to write a query that draws of both these tables and aggregates. I would like to build table C, with fields: Product ID, sumJun07, sumJul07, etc. (Example Row: 1, 5, 60, etc)
I am not very familiar with SQL or VBA. Is there a way to make access do this without customer writing something? If not, is there a quick clean piece of code that could help me do what I need to?
WJW