J
James A
Every month the company gets a old price list the overwrites the new
one.
(SiemS5100 table)
The company still has some old items in stock. (StockLevels table)
When a new purchase order is created the user enter in a part number,
eg.
3RK1 322-0HS02-0AA0
I want to be able to scan the stock table incase there is an old item
available in stock and if so prompt the user to use this one.
The difference between an old item & new is only ever one character,
for an old item of that same type as the item listed about has this
part number:
3RK1 322-0HS03-0AA0 (new)
3RK1 322-0HS02-0AA0 (old - as per above)
The only method I've come up with is to read each character one at a
time and have some sort of variable that keeps track of the
differences but this will take too long.
[kind of like when i was trying to manipulate a string but didn't know
about the replace function ( ]
I'm thinking there's some easy way of doing this.
Thanks for the help.
one.
(SiemS5100 table)
The company still has some old items in stock. (StockLevels table)
When a new purchase order is created the user enter in a part number,
eg.
3RK1 322-0HS02-0AA0
I want to be able to scan the stock table incase there is an old item
available in stock and if so prompt the user to use this one.
The difference between an old item & new is only ever one character,
for an old item of that same type as the item listed about has this
part number:
3RK1 322-0HS03-0AA0 (new)
3RK1 322-0HS02-0AA0 (old - as per above)
The only method I've come up with is to read each character one at a
time and have some sort of variable that keeps track of the
differences but this will take too long.
[kind of like when i was trying to manipulate a string but didn't know
about the replace function ( ]
I'm thinking there's some easy way of doing this.
Thanks for the help.