Re: Display multiple lines
From: JStrauss (subs_at_strausselec.com)
Date: 07/21/04
- Next message: hs234: "Re: ASP weather services"
- Previous message: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- In reply to: Aaron [SQL Server MVP]: "Re: Display multiple lines"
- Next in thread: Larry Bud: "Re: Display multiple lines"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 17:05:21 -0600
Aaron,
Thanks for your comments. The data is collected in a ASP form "textarea"
field (with wrap=physical) and stored in a vbscript variable when the form
is submitted. The data is then displayed in an HTML form. There is no
database involved. When the data is input into the first form, the lines
wrap automatically in the textarea box. I have not seen any carriage return
or line feed characters in the text (but I may be missing them), and have
also tries several replace statements to change vbcrlf and   to html
acceptable characters. If I manually put a hard return in the data entry
form, the second form formats the display correctly, but that method is less
than friendly.
Here are a few snippets...
Data collection process:
<TABLE BORDER=0>
<tr><td>Work Requested / Problem Condition</td><td><TEXTAREA NAME="WorkReq"
COLS=40 ROWS=3 WRAP=Physical></TEXTAREA></td></tr>
<tr><td>Services Performed</td><td><TEXTAREA NAME="ServicePerf" COLS=40
ROWS=6 WRAP=Physical></TEXTAREA></td></tr>
</TABLE>
Data display process:
<html>
<style>
.info
{
width: 300px;
}
</style>
...
...
Work Requested / Problem Condition<br>
<span class='info'><%= Replace(strWorkReq,vbCrlf,"<br>") %></span>
<br>
Thanks for looking at this. I appreciate the help.
Joe
"Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
news:%23cEX1PzbEHA.2408@tk2msftngp13.phx.gbl...
> Then you're going to have to show us exactly what is going into the
> database, so we know what characters are assumed to be carriage returns
but
> probably aren't.
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
>
>
>
>
> "JStrauss" <subs@strausselec.com> wrote in message
> news:eFjedLzbEHA.2816@TK2MSFTNGP11.phx.gbl...
> > No change from this tip either.
> >
> > Joe
>
>
- Next message: hs234: "Re: ASP weather services"
- Previous message: Bob Lehmann: "Re: can ASP check if an object is an integer?"
- In reply to: Aaron [SQL Server MVP]: "Re: Display multiple lines"
- Next in thread: Larry Bud: "Re: Display multiple lines"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|