> I have tried with this: > > Function FormatRevStr(String) > on Error resume next > String = Replace(String, "" & vbCr & "", " ") > FormatRevStr = String > End Function > > It will be put lines into 1 line in text file, but when it imported into > access database, it still read multiple lines as before. > Anyone can help me, thank You very much...
Try String = Replace(String, chr(10) chr(13), " ") Each "return" has a carriage return and a line feed. ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
