navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Memo Field Formatting

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Memo Field Formatting
Page: [1]
 
xterradane

 

Posts: 143
From: Mobile, AL USA
Status: offline

 
Memo Field Formatting - 1/2/2002 17:17:16   
I am having problems getting the memo field to look right. If I don't try to format the memo field it all works fine. When I do it won't display anything but the field headers and the word True or False appears at the top before the headers. I don't know what that is from!?!

Here's the code:

Dim rsResume
Set rsResume= Server.CreateObject("ADODB.Recordset")
strSQL= "SELECT * FROM Resume WHERE EMail='" & Session("EMail") & "';"
rsResume.Open strSQL, objConn, adOpenForwardOnly, adLockOptimistic, adCmdText


If Not rsResume.EOF Then
Response.Write "<TABLE ALIGN=""CENTER"" BORDER=""1"" CELLSPACING=""1"" CELLPADDING=""4"">" &_
"<TR><TH>EMail:</TH>" &_
" <TH>Desired Job:</TH>" &_
" <TH>Certifications:</TH>" &_
" <TH>Desired Location</TH>" &_
" <TH>Degree:</TH>" &_
" <TH>Years Experience:</TH></TR>"
Do While Not rsResume.EOF
Response.Write "<TR ALIGN=CENTER>" &_
"<TD> " & rsResume("EMail") &"</TD>" &_
"<TD> " & rsResume("JobTitle") &"</TD>" &_
"<TD> " & rsResume("Certifications") &"</TD>" &_
"<TD> " & rsResume("City") &", "&rsResume("State") &"</TD>" &_
"<TD> " & rsResume("Degree") &"</TD>" &_
"<TD> " & rsResume("CareerLevel") &"</TD></TR>" &_
"<TD COLSPAN=6 CELLPADDING=4> " =replace(rsResume("Resume"), chr(10),"<br>")>"</TD></TR>"
rsResume.MoveNext
Loop
Response.Write "</TABLE>"
Else
Response.Write "No resume was found matching your EMail Address. Please resubmit your resume."
End If
rsResume.Close
Set rsResume = Nothing

Thanks in advanced,
Gail

 
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Memo Field Formatting - 1/2/2002 17:52:20   
Try this line :

"<TD COLSPAN=6 CELLPADDING=4> "& replace(rsResume("Resume"), chr(10)) &"<br>")>"</TD></TR>"


§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login

(in reply to xterradane)
xterradane

 

Posts: 143
From: Mobile, AL USA
Status: offline

 
RE: Memo Field Formatting - 1/2/2002 18:11:47   
I didn't get that to work, but after a few looks this worked:

"<TD COLSPAN=6 CELLPADDING=4> "& replace(rsResume("Resume"),chr(10),"<br>")&"</TD></TR>" &_

Thanks for the help! You are wonderful..

 

(in reply to xterradane)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Memo Field Formatting - 1/2/2002 18:27:50   
Yep, sorry, wrong place for the bracket :)

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login

(in reply to xterradane)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Memo Field Formatting
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts