A family of Microsoft relational database management systems designed for ease of use.
One thing that's not obvious is that what looks like empty space in access may not be empty space at all.
When you import from Word, there are characters called non-printing characters that tell the word doc to tab or indent or something else that create what looks like a blank space but is a character that you can't see.
Now access does not make these characters, but you get them when you import from Word.
Trim will remove the space character, but not the other ones.
What I often do under these circumstances is loop through the string, printing it out character by character, to see just what those characters are:
Dim lngLoop As Long
For lngLoop = 1 To Len(strText)
Debug.Print Asc(Mid(strText, lngLoop, 1)) & " (" & Mid(strText,
lngLoop, 1) & ")"
Next lngLoop
The above lets you see those characters and you might want to make an update query that replaces those characters with a space, or just remove them completely.
You can use the Replace function in an update query to do this.
posted Current UTC (or GMT/Zulu)-time used: Friday, 18 November 2011 at 04:16:21