In a large memo type field, how can I enter something, like a carriage
return, after every 80th character?
Thanks for any help with this.
denise
You'll need some VBA code to do this. Here's a function (untested, off
the top of my head); you can use it in a Select query as a calculated
field for export, or if you want to actually store the linebreaks, as
the Update To in an update query.
Public Function Linebreak80(ByVal strIn As String) As String
Dim iPos As Integer
Dim strOut As String
strOut = ""
Do Until Len(strIn) < 81
strOut = Left(strIn, 80) & vbCrLf
strIn = Mid(strIn, 81)
Loop
Linebreak80 = strOut
End Function
Note that this will break lines AT 80, which may well be in the middl
e of a word. Parsing to truly word-wrap will take more work!
John W. Vinson[MVP]