There is a
VB function named REPLACE().
Syntax - Replace(STRING, SEARCH_STRING, REPLACE_STRING)
Code:
Replace(MyString, vbCRLF, "") 'should suit your need
Also you can try using the following, if you are unsure about CARRIAGE RETURN / LINE FEED values. You can use any of these mentioned here that suits your requirement.
Code:
Replace(MyString, chr(13), "")
or
Code:
Replace(MyString, chr(10), "")
Concerning Cross-Posting: If I were you, I would post this under 'Access ASP', as I assume this is related with ACCESS database and looking for a
VB function(ASP/VBSCRIPT) which seems to be the closest match. IMO 'ASP Databases' seems generic where ASP can be used with any kind of databases(mysql, sql server or any). I won't say there are redundant forums, as I could see difference among them. The only reason I wanted you not to cross post is to not confuse the readers of the post and yourself if that was closed/unattended. Also when searching for such threads in future, it should not mislead one to the post that was not actually closed/unfinished.
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection