C
ChuckW
Hi,
I have a table called Products that has two fields: ProductNumber and
ProductLine. There are about 2000 product numbers. The ProductNumber is
alphnumberic and can be 6,7,8 or 10 characters. The ProductLine field is a
alphanumberic characters.
I also have a transactional table called Sales2008 which gets appended daily
with new transactions. Two of the fields are PartNumber and ProductLine.
PartNumber is the same as ProductNumber except the our main transactional
system which is mainframe based and I cannot do anything about, adds 3-6
extra characters to the PartNumber. These extra numbers represent daily
transaction numbers. There are never two PartNumbers that are ever the same
(Even if they are for the same Product). The ProductLine field is blank
each day. Every morning someone who knows alot about our Product Lines
number, Part Numbers and ProductLines copies the daily transactions from
access to excel, looks through the Part Numbers and assigns them a
ProductLine. His process is entirely mental. He can spot the Product Number
inside of the Part Number and knows what Product Line it belongs to. This
takes 20 minutes a day and if he got hit by a bus, we would be in trouble.
What I want to do is to somehow cycle this Products table through the
Sales2008 table comparing the ProductNumber in the Products table to the
PartNumber in the Sales2008 table (even though they don't match) and then
populate the null values in the ProductLine field in the Sales2008 table with
values from the ProductLine field in the Products table. Can someone help me
with how to do this?
Thanks,
I have a table called Products that has two fields: ProductNumber and
ProductLine. There are about 2000 product numbers. The ProductNumber is
alphnumberic and can be 6,7,8 or 10 characters. The ProductLine field is a
alphanumberic characters.
I also have a transactional table called Sales2008 which gets appended daily
with new transactions. Two of the fields are PartNumber and ProductLine.
PartNumber is the same as ProductNumber except the our main transactional
system which is mainframe based and I cannot do anything about, adds 3-6
extra characters to the PartNumber. These extra numbers represent daily
transaction numbers. There are never two PartNumbers that are ever the same
(Even if they are for the same Product). The ProductLine field is blank
each day. Every morning someone who knows alot about our Product Lines
number, Part Numbers and ProductLines copies the daily transactions from
access to excel, looks through the Part Numbers and assigns them a
ProductLine. His process is entirely mental. He can spot the Product Number
inside of the Part Number and knows what Product Line it belongs to. This
takes 20 minutes a day and if he got hit by a bus, we would be in trouble.
What I want to do is to somehow cycle this Products table through the
Sales2008 table comparing the ProductNumber in the Products table to the
PartNumber in the Sales2008 table (even though they don't match) and then
populate the null values in the ProductLine field in the Sales2008 table with
values from the ProductLine field in the Products table. Can someone help me
with how to do this?
Thanks,