A
AkAlan via AccessMonster.com
I have a table in sql that was imported from MS Access. One of the feilds was
a memo feild and now is a varchar with a length of 2000. The problem I have
is that there seems to be a lot of trailing spaces which cause problems when
runing reports. I use the Can Grow property and some text boxes grow very
large but with only a few characters in the feild. I know about the Trim
function but don't know how to apply it to a table in sql. I'm thinking
somethind like this which I found in another post:
With TblTest
Do While Not .Eof
.fields("Question").value = trim("Question").value
.update
.movenext
loop
.close
end with
My question is how do I reference the table from code before I run this
snipet. Thanks
a memo feild and now is a varchar with a length of 2000. The problem I have
is that there seems to be a lot of trailing spaces which cause problems when
runing reports. I use the Can Grow property and some text boxes grow very
large but with only a few characters in the feild. I know about the Trim
function but don't know how to apply it to a table in sql. I'm thinking
somethind like this which I found in another post:
With TblTest
Do While Not .Eof
.fields("Question").value = trim("Question").value
.update
.movenext
loop
.close
end with
My question is how do I reference the table from code before I run this
snipet. Thanks