Hi tek-tippers -
I've got an interesting parsing situation here, and I'm hoping that this group may be able to help me out.
Within Access, I have a text field whose contents look something like this:
I'm trying to (somehow) parse through this text field and:
1) count the number of times the word REJECTED appears, and;
2) when the word REJECTED appears, save the date it is rejected as a string that I can put into a new field. Because something may be rejected several times, but I want to combine all the rejection dates into a single field, I was trying to think of a way where I generate a number of variables = to the number of times REJECTED is found, and then storing the date of each rejection in the variable and concatenating the variables into a single string.
I've spent the better part of several hours trying to figure out a way to accomplish this (looking at code, understanding the Len() function, etc.) but have hit a wall.
Any suggestions?
Thanks!
I've got an interesting parsing situation here, and I'm hoping that this group may be able to help me out.
Within Access, I have a text field whose contents look something like this:
Code:
05/13/2001 21:41:00 GMT - John Doe - REJECTED: Something is not right. 05/05/2002 20:50:29 GMT-Roger Dodger-Looks good, all smiles here.
I'm trying to (somehow) parse through this text field and:
1) count the number of times the word REJECTED appears, and;
2) when the word REJECTED appears, save the date it is rejected as a string that I can put into a new field. Because something may be rejected several times, but I want to combine all the rejection dates into a single field, I was trying to think of a way where I generate a number of variables = to the number of times REJECTED is found, and then storing the date of each rejection in the variable and concatenating the variables into a single string.
I've spent the better part of several hours trying to figure out a way to accomplish this (looking at code, understanding the Len() function, etc.) but have hit a wall.
Any suggestions?
Thanks!