Pull Text From String

jeudi 2 avril 2015

Hi All - lots of info in here but am hoping to see if this can be done someplace in Access - thinking a query most likely. I have a text field in a Table and on a Query called "Notes" In that field that has data like below:



[04/02/2015:BD] Project is to be assessed by Solutions Planning

[03/27/2015:BD] Project prioritized

[03/14/15:BR] Entered to system



Im trying to find a way to pull just the most recent line of text, in this case



[04/02/2015:BD] Project is to be assessed by Solutions Planning



into the field next to "Notes" or wherever - an empty field in the query. I searched around, found some stuff and I was thinking of having the code look at the first "[" and count the length to the next "[" and pull out whats in between. Looks like the bracket causes issues in the module.



Any thoughts out there?

Pull Text From String

0 commentaires:

Enregistrer un commentaire

Labels