A
Anita Taylor
A couple of weeks ago, I posted to this group for help extracting the To and
By data from this field into two separate fields I could query and report on
cs - Assigned Issue To: MARILYN MONROE Assigned by: JOHN KENNEDY
I was given this and it worked GREAT:
To: Mid([action_description],InStr([action_description],"Assigned Issue
To:")+25,(InStrRev([action_description],"Assigned
by:")-1)-(InStr([action_description],"Assigned Issue To:")+19))
I now have an Assigned To field that contains MARILYN MONROE and an Assigned
By that contains ROBERT KENNEDY.
The problem is that I don't understand how the function works and am trying
to modify it to do basically the same thing on another field, as shown below:
cs - Re-assign Issue From: GEORGE JETSON To: JUDY JETSON Re-assigned by:
ELROY JETSON
I need essentially the same thing - the name after TO and the name after
Re-assigned by.
So far, I've worked out this:
To: Mid([action_description],InStr([action_description],"To:")+4)
It gives me
JUDY JETSON Re-assigned by: ELROY JETSON
I need to figure out how to lop off everything from Re-assigned by to the
end. I basically have to figure out where Re-assigned by starts (character
position), then subtract everything that comes after that character position
- but I'm just not getting it and could use a little more help.
Having the complete, working statement would be great. Having someone
explain the original solution to me in "layman's terms" would be even better
and make it possible for me to use this solution in the future.
This group is always very helpful and I appreciate any advice or explanation
you can provide.
By data from this field into two separate fields I could query and report on
cs - Assigned Issue To: MARILYN MONROE Assigned by: JOHN KENNEDY
I was given this and it worked GREAT:
To: Mid([action_description],InStr([action_description],"Assigned Issue
To:")+25,(InStrRev([action_description],"Assigned
by:")-1)-(InStr([action_description],"Assigned Issue To:")+19))
I now have an Assigned To field that contains MARILYN MONROE and an Assigned
By that contains ROBERT KENNEDY.
The problem is that I don't understand how the function works and am trying
to modify it to do basically the same thing on another field, as shown below:
cs - Re-assign Issue From: GEORGE JETSON To: JUDY JETSON Re-assigned by:
ELROY JETSON
I need essentially the same thing - the name after TO and the name after
Re-assigned by.
So far, I've worked out this:
To: Mid([action_description],InStr([action_description],"To:")+4)
It gives me
JUDY JETSON Re-assigned by: ELROY JETSON
I need to figure out how to lop off everything from Re-assigned by to the
end. I basically have to figure out where Re-assigned by starts (character
position), then subtract everything that comes after that character position
- but I'm just not getting it and could use a little more help.
Having the complete, working statement would be great. Having someone
explain the original solution to me in "layman's terms" would be even better
and make it possible for me to use this solution in the future.
This group is always very helpful and I appreciate any advice or explanation
you can provide.