Click to See Complete Forum and Search --> : Recordset to Fill Table Cell


CincyRed33
April 23rd, 2003, 01:16 PM
I'm trying to figure out why my text is getting cut off in a table cell I have in HTML. I'm filling it with a Memo field from a database record, and it's cutting the text off about midway through the second line in the cell. I have the colspan spanning all columns (3), shouldn't the cell just accept the input? or is there a property I am missing?

Satishpp
April 23rd, 2003, 01:59 PM
Any answer would be guesswork without looking at the code.
Can you post the relavant lines of code?

Satish

CincyRed33
April 23rd, 2003, 02:04 PM
"<table border='2' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#000000' width='100%' id='AutoNumber1' height='123'>" & _
"<tr><td width='15%' height='20'><b>" & spacer(2,0) & "TTID:</b></td><td width='20%' height='20'>" & spacer(5,0) & oRst("TTID") & "</td><td width='45%' height='20' colspan='2'>&nbsp;</td>" & _
"<td width='20%' height='20'><b>" & spacer(2,0) & "Date Received:</b></td></tr>" & _
"<tr><td width='40%' height='19' colspan='2'><p align='center'>" & oRst("ShortDescription") & "</td><td width='40%' height='19' colspan='2'>&nbsp;</td>" & _
"<td width='20%' height='19'>" & spacer(5,0) & oRst("DateReceived") & "</td></tr>" & _
"<tr><td width='100%' colspan='5'><b>" & spacer(2,0) & "Long Description:</b></td></tr>" & _
"<tr><td width='100%' colspan='5'>" & spacer(5,0) & oRst("LongDescription") & "</td></tr>" & _
"<tr><td width='15%' bgcolor='#FFFFCC' height='19'><b>" & spacer(2,0) & "Product:</b></td><td width='19%' height='19'><b>" & spacer(2,0) & "Version:</b></td>" & _
"<td width='26%' height='19'><b>" & spacer(2,0) & "Reported By:</b></td><td width='20%' height='19'><b>" & spacer(2,0) & "Priority:</b></td>" & _
"<td width='20%' height='19'><b>" & spacer(2,0) & "Status:</b></td></tr>" & _
"<tr><td width='15%' bgcolor='#FFFFCC' height='19'>" & spacer(5,0) & oRst("Product") & "</td><td width='19%' height='19'>" & spacer(5,0) & oRst("Version") & "</td>" & _
"<td width='26%' height='19'>" & spacer(5,0) & oRst("ReportedBy") & "</td><td width='20%' height='19'>" & spacer(5,0) & oRst("SeverityDescription") & "</td>" & _
"<td width='20%' height='19'>" & spacer(5,0) & oRst("StatusDescription") & "</td></tr></table>"

Satishpp
April 23rd, 2003, 02:46 PM
Everything seems to be fine with the HTML.

Try writing the field onto the page, outside the table.

i.e. before starting the table, and after the recordset is opened,

response.write(oRst("LongDescription")
I am assuming this is the field causing the problem

Check if the entire line is being printed here.

Satish