Hi,
I'm trying to extract a portion of a field. The fields value might be "0123456-PO-555556666 SOMETEXT OR NUMBERS" .
I just want to extract the PO number portion, which would be 555556666. I've been playing with a MID({TABLE.FIELD},InStr({TABLE.FIELD},'PO-')+3) formula, which seems to work to exclude the 0123456-PO- portion which is great. I'm still struggling on how to remove the stuff after the 555556666 (need to eliminate the space and the SOMETEXT OR NUMBERS. Any ideas on how to do that in one formula?
I'm trying to extract a portion of a field. The fields value might be "0123456-PO-555556666 SOMETEXT OR NUMBERS" .
I just want to extract the PO number portion, which would be 555556666. I've been playing with a MID({TABLE.FIELD},InStr({TABLE.FIELD},'PO-')+3) formula, which seems to work to exclude the 0123456-PO- portion which is great. I'm still struggling on how to remove the stuff after the 555556666 (need to eliminate the space and the SOMETEXT OR NUMBERS. Any ideas on how to do that in one formula?