Ask a Question related to ASP, Design and Development.
-
Jim Plante #1
MS Access Memo Field and ASP
I have a memo field in a MS Access table. The contents of the field may look
like this:
1. This is number one
2. This is number 2
3. Skipping lines is fun if your #3
But when I write it out to my web page using my ASP code {something like:
rsJobs.Fields("notes") }
it looks like this on the web page:
1. This is number one 2. This is number 2 3.Skipping
lines is fun if your #3
How can I make it show up like it is in the memo field - it seems like the
carriage return / line feeds are being ignored or translated into spaces or
something
Can anyone help ?
Thanks,
Jim
Jim Plante Guest
-
#38458 [Com]: Fails to get values of fields following a MEMO type field in MS Access
ID: 38458 Comment by: johnc at inkjetinc dot com Reported By: costas at meezon dot com Status: Assigned Bug... -
Format Access memo field?
Hi all, Just trying to figure out how to format a returned MS Access memo field with Coldfusion. Nothing special. Just want it to retain returns... -
Memo Field with Access
Hopefully someone can help me with this. I have a memo field in Access, I type for example into the text box on the webpage: (ignore the >) *... -
problem displaying MEMO field from ACCESS 2000 on WINDOWS 20003
Hi, I have been using access 2000 for two years on WINDOWS NT to display dynamic aweb page using ASP My ISP has now changed to Windows 2003,... -
How do I get an Access memo field over several lines in HTML?
I'm trying to replace vbCrLf with <BR>, but it doesn't work for some reason. Could someone please correct the code, or tell me of a better... -
Aaron Bertrand - MVP #2
Re: MS Access Memo Field and ASP
HTML doesn't respect white space -- imagine if it did?
<table>
<tr>
<td>foo</td>
</tr>
</table>
There would be a bunch of tabs and carriage returns rendered to the browser!
I'm glad HTML disregards this white space, otherwise we'd go absolutely
nutso maintaining strictly coded (and hence unreadable) HTML pages ... and
presentation would be tied to coding, yuck. The whole beauty of HTML is
that the code doesn't have to look anything like the presentation.
Remember that an ASP page is simply returning HTML to the browser, and that
when your memo column contains
line 1
line 2
This is what gets inserted directly into the HTML. So, to replace white
space, see [url]http://www.aspfaq.com/2188[/url]
"Jim Plante" <jim@repointing.com> wrote in message
news:JE2dncJrjaMcuayiU-KYvw@comcast.com...look> I have a memo field in a MS Access table. The contents of the field mayor> like this:
>
> 1. This is number one
> 2. This is number 2
>
> 3. Skipping lines is fun if your #3
>
> But when I write it out to my web page using my ASP code {something like:
> rsJobs.Fields("notes") }
>
> it looks like this on the web page:
>
> 1. This is number one 2. This is number 2 3.Skipping
> lines is fun if your #3
>
> How can I make it show up like it is in the memo field - it seems like the
> carriage return / line feeds are being ignored or translated into spaces> something
>
> Can anyone help ?
>
> Thanks,
> Jim
>
>
Aaron Bertrand - MVP Guest
-
MePadre #3
MS Access Memo Field and ASP
<%= replace(rs("memoField"),vbcrlf,"<br>") %>
or
<p><%= replace(rs("memoField"),vbcrlf,"</p><p>") %></p>
the field may look>-----Original Message-----
>I have a memo field in a MS Access table. The contents of{something like:>like this:
>
>1. This is number one
>2. This is number 2
>
>3. Skipping lines is fun if your #3
>
>But when I write it out to my web page using my ASP codeit seems like the>rsJobs.Fields("notes") }
>
>it looks like this on the web page:
>
>1. This is number one 2. This is number 2 3.Skipping
>lines is fun if your #3
>
>How can I make it show up like it is in the memo field -translated into spaces or>carriage return / line feeds are being ignored or>something
>
>Can anyone help ?
>
>Thanks,
>Jim
>
>
>.
>MePadre Guest



Reply With Quote

