Hi there,
I’m sorry if this has already been asked but I’ve been struggling to know what to search. I want to separate out parts of a Lot Batch Number in my database.
I have a field called ‘Lot Batch Number’ and their styles are as follows;
O123456-1-0-00001
O123456-12-0-00001
I want to create two fields that capture the Shop Order and the Release Number.
Shop Order = O123456
Release = 1 (can go up to 100)
Sequence = 0
Specimen = 00001
I have created an LEFT expression to capture the O123456 of the Lot Batch Number, but I need an expression to capture the ‘Release’ part of the Lot Batch Number (highlighted in BOLD above). It’s not as simple as doing a basic MID as it can be 1 to 3 characters long.
Hopefully what I’ve explained makes sense and hopefully someone might be able to help me
Kind Regards
Stuart
I’m sorry if this has already been asked but I’ve been struggling to know what to search. I want to separate out parts of a Lot Batch Number in my database.
I have a field called ‘Lot Batch Number’ and their styles are as follows;
O123456-1-0-00001
O123456-12-0-00001
I want to create two fields that capture the Shop Order and the Release Number.
Shop Order = O123456
Release = 1 (can go up to 100)
Sequence = 0
Specimen = 00001
I have created an LEFT expression to capture the O123456 of the Lot Batch Number, but I need an expression to capture the ‘Release’ part of the Lot Batch Number (highlighted in BOLD above). It’s not as simple as doing a basic MID as it can be 1 to 3 characters long.
Hopefully what I’ve explained makes sense and hopefully someone might be able to help me
Kind Regards
Stuart