If I have a table of part numbers that have been modified such as:
2-1234-001
2-1234-002
2-1234-003
3-444445-009
3-444445-010
How do I turn that into a table that shows:
Part Qty
2-1234 3
3-444445 2
I think its a right trim sort of problem.
Right(PartNo,Len(PartNo - (Number of digits including the first"-" from right))).
The Modifying digits may not always be 3, perhaps 4448-9976, so it may not always be just the last four digits.
Something like that, or am I barking up the wrong tree?
Thanks.
2-1234-001
2-1234-002
2-1234-003
3-444445-009
3-444445-010
How do I turn that into a table that shows:
Part Qty
2-1234 3
3-444445 2
I think its a right trim sort of problem.
Right(PartNo,Len(PartNo - (Number of digits including the first"-" from right))).
The Modifying digits may not always be 3, perhaps 4448-9976, so it may not always be just the last four digits.
Something like that, or am I barking up the wrong tree?
Thanks.