I need to pull specific user entries from a 'work log' field. This field is updated anytime a user adds a comment to the designated ticket, and the entry is tagged with the username and a timestamp. The entries are only available through the work log.
Below is an example of a typical work log:
1/1/2011 15:25:00 user1
this is an example work log entry
1/1/2011 17:25:00 user2
this is example2 work log entry
1/1/2011 15:25:00 user1
this is example3 work log entry
1/1/2011 15:25:00 user13
this is example4 work log entry
I've had problems getting a formula to extract only 'user1' work log entries from this table's field. I've tried using split and desiganted users or time stamps but it returns everything from my target down. There is no max or min text for the field in the DB so the entries are dynamic in their length.
Below is an example of a formula that's returning everything from 'user1' most recent entry down:
stringvar array x := split({HIS_MOD_TRB_Trouble.Work_Log,'user1');
x[ubound(x)]
I can supply more details if necessary.
Below is an example of a typical work log:
1/1/2011 15:25:00 user1
this is an example work log entry
1/1/2011 17:25:00 user2
this is example2 work log entry
1/1/2011 15:25:00 user1
this is example3 work log entry
1/1/2011 15:25:00 user13
this is example4 work log entry
I've had problems getting a formula to extract only 'user1' work log entries from this table's field. I've tried using split and desiganted users or time stamps but it returns everything from my target down. There is no max or min text for the field in the DB so the entries are dynamic in their length.
Below is an example of a formula that's returning everything from 'user1' most recent entry down:
stringvar array x := split({HIS_MOD_TRB_Trouble.Work_Log,'user1');
x[ubound(x)]
I can supply more details if necessary.