Personally I use a Replace() function.
As the older Access versions don't support this in a query, but do support userdefined functions (from the modules section), I tend to use this simple function:
-
function fncReplace(strInput as String) as String
-
-
' Replace the single LF (linefeed) with the DOS CRLF (CarriageReturn + LineFeed)
-
fncReplace = Replace(strInput,chr(10),chr(13)&chr(10))
-
-
end function
-
Now in an Update query use:
-
UPDATE tblX Set FieldText = fncReplace(FieldText)
-
Getting the idea?
Ofcource the Replace "from" and "to" parameters, being chr(10) and chr(13)&chr(10) can be replaced with any value needed.
Nic;o)