Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Line Break in SQL Value
We've built a page that allows users to enter items that will ultimately
become a list.  One particular user enters them into the textarea on the
page and for some reason always puts a hard return into the textarea before
she submits.  This goes into SQL as a line break and it's screwing up how
the page renders.

How do I find this via code so that I can replace it?  I've tried looking
for chr(13) + chr(10) and vbCr and vbCrLf and replacing them with "" but it
doesn't seem to work.  Am I missing something?

Thanks,
James



Report this thread to moderator Post Follow-up to this message
Old Post
James
06-06-05 08:55 PM


Re: Line Break in SQL Value
Hello!

chr(13) + Chr(10) is the same as vbCrLf.
Did you allready try vbLf?

regards
b.wurm


"James" <letyoudown@verizon.net> schrieb im Newsbeitrag
news:uQ8yxwpaFHA.2520@TK2MSFTNGP09.phx.gbl...
> We've built a page that allows users to enter items that will ultimately
> become a list.  One particular user enters them into the textarea on the
> page and for some reason always puts a hard return into the textarea
> before
> she submits.  This goes into SQL as a line break and it's screwing up how
> the page renders.
>
> How do I find this via code so that I can replace it?  I've tried looking
> for chr(13) + chr(10) and vbCr and vbCrLf and replacing them with "" but
> it
> doesn't seem to work.  Am I missing something?
>
> Thanks,
> James
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
b.Wurm
06-06-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:44 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.