N
Neil
Hello everyone,
I have an issue i cant seem to figure out. I thought it would be easier
to do it through queries but i'm open to any coding suggestions that
may be involved. Just a little background, the best and most accessible
tool I have is MS Access so if programming would be an easier route,
please keep it to VBA. I also have access to vb 6.0 as well as VB.net
but i'm trying to steer away from it as I do not have too much
experience with it and I'm looking for results on an urgency basis.
Anyways to the problem. I have two tables, one is a Conversion Table
(with an ever growing PARTNO list) and the Other our Customer Table.
Here is an example of what they look like:
Conversion Tbl:
PARTNO DESC ALIAS DESC
1111 PEN PE PEN (BLACK INK)
1112 PENCIL PC PENCIL 2.0
1113 ERASER ER ERASER
1114 CLIPS CL PAPER CLIPS BOXES
Customer Tbl:
BILL FNAME BILL_LNAME PARTNO1 QTY1 PARTNO2 QTY2 PARTNO3 QTY3
JOE SMITH 1111 2 1112 1
JACK JOHNSON 1112 1 1113 1 1111 1
BILLY BOB 1114 1 1112 3 1111 3
What I need to do is convert it to 1 table which will look something
like this:
Customer Tbl:
FNAME LNAME PARTNO1 QTY1 PARTNO2 QTY2 PARTNO3 QTY3
JOE SMITH PE 2 PC 1
JACK JOHNSON PC 1 ER 1 PE 1
BILLY BOB CL 1 PC 3 PE 3
I'm planning to do this because it is hard to keep tracking of our ever
growing list of our Product List. Converting it to a common Code is
easier to keep track of and creating reports. Using this conversion
table, we'll be able to easily count how many items were shipped
through our remote warehouse and so on. Again if queries is not the way
to go, I'm open to VBA suggestions.
Thank you in advance for your help.
I have an issue i cant seem to figure out. I thought it would be easier
to do it through queries but i'm open to any coding suggestions that
may be involved. Just a little background, the best and most accessible
tool I have is MS Access so if programming would be an easier route,
please keep it to VBA. I also have access to vb 6.0 as well as VB.net
but i'm trying to steer away from it as I do not have too much
experience with it and I'm looking for results on an urgency basis.
Anyways to the problem. I have two tables, one is a Conversion Table
(with an ever growing PARTNO list) and the Other our Customer Table.
Here is an example of what they look like:
Conversion Tbl:
PARTNO DESC ALIAS DESC
1111 PEN PE PEN (BLACK INK)
1112 PENCIL PC PENCIL 2.0
1113 ERASER ER ERASER
1114 CLIPS CL PAPER CLIPS BOXES
Customer Tbl:
BILL FNAME BILL_LNAME PARTNO1 QTY1 PARTNO2 QTY2 PARTNO3 QTY3
JOE SMITH 1111 2 1112 1
JACK JOHNSON 1112 1 1113 1 1111 1
BILLY BOB 1114 1 1112 3 1111 3
What I need to do is convert it to 1 table which will look something
like this:
Customer Tbl:
FNAME LNAME PARTNO1 QTY1 PARTNO2 QTY2 PARTNO3 QTY3
JOE SMITH PE 2 PC 1
JACK JOHNSON PC 1 ER 1 PE 1
BILLY BOB CL 1 PC 3 PE 3
I'm planning to do this because it is hard to keep tracking of our ever
growing list of our Product List. Converting it to a common Code is
easier to keep track of and creating reports. Using this conversion
table, we'll be able to easily count how many items were shipped
through our remote warehouse and so on. Again if queries is not the way
to go, I'm open to VBA suggestions.
Thank you in advance for your help.