jkfeagle
Codus Confusious
- Local time
- Today, 15:34
- Joined
- Aug 22, 2002
- Messages
- 166
I have a field with data in it that is imported from an external source. I'm trying to trim the data down to the first 9-12 characters. The data will look something like this:
345623985#http:blah blah blah......
What I want is the number at the beginning. Problem is, this number may vary in number of characters. Now, the code to search through the string to find the # and then cut the rest is pretty simple, but how do I apply it to an update query to trim the data in the table? Can code like that even be used in a query? Am I missing a totally obvious solution other than trying to do this with a query???
345623985#http:blah blah blah......
What I want is the number at the beginning. Problem is, this number may vary in number of characters. Now, the code to search through the string to find the # and then cut the rest is pretty simple, but how do I apply it to an update query to trim the data in the table? Can code like that even be used in a query? Am I missing a totally obvious solution other than trying to do this with a query???