I have a database that tracks support requests that come in through two different IM clients MS Communicator and Brosix. Each user copies/pastes a conversation history into a memo field named IMLog. What I need to do is extract the first and last time stamp from the message. I can have the users enter these time stamps manually, but I would like to have as much of this automated as possible.
It's not much of an issue that they're from two different IM clients. Since one of them includes the date I can use an If statement with InStr and the Date function.
Here's a couple examples of the message logs I'm working with. This first one is MS Communicator. The main problem with the message log is that the time stamp, name and message run together. Here's an example of a pasted Communicator message.
Here's a sample message log from Brosix.
I just want to be able to have Access know what time the conversations started and what time the conversations ended. I've tried messing with some vba code to get this info but I'm not that great at vba and it wasn't pretty. If anyone has any suggestions, tips or has done anything in the past like this please let me know. I appreciate any help you can give.
It's not much of an issue that they're from two different IM clients. Since one of them includes the date I can use an If statement with InStr and the Date function.
Here's a couple examples of the message logs I'm working with. This first one is MS Communicator. The main problem with the message log is that the time stamp, name and message run together. Here's an example of a pasted Communicator message.
HTML:
4:37 PMSmith, Danielhave a cx with a philips go gear
modelSA4025/37
is it supported?
4:41 PMBrown, Jamesnot supported only the SA29xx and SA52xx
4:42 PMSmith, Danielthx
4:42 PMBrown, Jameswelcome
HTML:
ACS_Kmyles
5/24/2011 4:33:59 PM
Hi guys can anyone confirm if the Nokia C5 is a compatible device. Not listed in Device Center
Jane Goodwin
5/24/2011 4:35:06 PM
No, it won't work. That device can't be activated.
ACS_Kmyles
5/24/2011 4:35:49 PM
K thanks
Jane Goodwin
5/24/2011 4:36:14 PM
You're welcome. Have a great shift!