G
GLT
Hi,
I have a memo field (which is originally an imported email from Outlook).
I would like to scan through each memo field, extract certain information
and add it to new fields, and then delete the memo field.
Contents in the memo field look like this:
Body
"NDMEXFK01: [JobID:168 Group 2] Operation Incomplete.
Number of Error(s)/Warning(s): 7/47
If you have received this email in error, please notify the sender
immediately and erase all copies of the email and any attachments to it. The
information contained in this email and any attachments may be private,
confidential and legally privileged or the subject of copyright. If you are
not the addressee it may be illegal to review, disclose, use, forward, or
distribute this email and/or its contents ... blah blah blah
Unless otherwise specified, the information in the email and any attachments
is intended as a guide only and should not be relied upon as legal or
technical advice or regarded as a substitute for legal or technical advice in
individual cases. Opinions contained in this email or any of its attachments
do not necessarily reflect blah blah blah .....
"
Out of the above message, I’m only interested in:
1) Anything between the first " (quote) and : (colon)
in the example above, this would be:
NDMEXFK01
2) Anything between the square brackets
in the example above, this would be:
JobID: 168 Group 2
3) Operation status
in the example above, this would be:
Operation Incomplete.
4) Number of errors/warnings:
in the example above, this would be:
7/47
All of these values can vary in length. Can anyone advise what the best way
to extract this data (and move to a new field) would be?
Would this be faster being processed by a query or by VBA?
Any help would be greatly appreciated…
Cheers,
GLT.
I have a memo field (which is originally an imported email from Outlook).
I would like to scan through each memo field, extract certain information
and add it to new fields, and then delete the memo field.
Contents in the memo field look like this:
Body
"NDMEXFK01: [JobID:168 Group 2] Operation Incomplete.
Number of Error(s)/Warning(s): 7/47
If you have received this email in error, please notify the sender
immediately and erase all copies of the email and any attachments to it. The
information contained in this email and any attachments may be private,
confidential and legally privileged or the subject of copyright. If you are
not the addressee it may be illegal to review, disclose, use, forward, or
distribute this email and/or its contents ... blah blah blah
Unless otherwise specified, the information in the email and any attachments
is intended as a guide only and should not be relied upon as legal or
technical advice or regarded as a substitute for legal or technical advice in
individual cases. Opinions contained in this email or any of its attachments
do not necessarily reflect blah blah blah .....
"
Out of the above message, I’m only interested in:
1) Anything between the first " (quote) and : (colon)
in the example above, this would be:
NDMEXFK01
2) Anything between the square brackets
in the example above, this would be:
JobID: 168 Group 2
3) Operation status
in the example above, this would be:
Operation Incomplete.
4) Number of errors/warnings:
in the example above, this would be:
7/47
All of these values can vary in length. Can anyone advise what the best way
to extract this data (and move to a new field) would be?
Would this be faster being processed by a query or by VBA?
Any help would be greatly appreciated…
Cheers,
GLT.