-----Original Message-----
In response to private e-mail:
Carriage Return and Line Feed are the same in Access 97 as in every other
version of Access: it's an Ascii thing, not an Access thing.
If you're using Access 97, you'll have to write your Replace-equivalent
function. One such function is at
http://www.mvps.org/access/strings/str0004.htm at "The Access Web".
However, if you're going to be calling that from a query, and there's a
chance that some of the fields may be null, you'll need to make a little
tweak:
Function FindAndReplace(ByVal strInString As Variant, _
strFindString As String, _
strReplaceString As String) As String
Dim intPtr As Integer
Dim strWorking As String
strWorking = strInString & vbNullString
If Len(strFindString) > 0 Then 'catch if try to find empty string
Do
intPtr = InStr(strWorking, strFindString)
If intPtr > 0 Then
FindAndReplace = FindAndReplace & left (strWorking, intPtr -
1) & _
strReplaceString
strWorking = Mid(strWorking, intPtr +
Len(strFindString))
End If
Loop While intPtr > 0
End If
FindAndReplace = FindAndReplace & strWorking
End Function
There's no reason it would have deleted your values in Access 2000 unless
you miskeyed something.
--
Doug Steele, Microsoft Access MVP
(Chr$(13)),
.