Hi there
I am displaying a database table on a form, however even if the database field data is on several lines they are all displayed on one line on the page. Does anyone knoe why this is? This is my code
//connect to the database and get all data
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) %>
<tr><td height="22" colspan="2" valign="top" class="FormTextTitle"><%=(Recordset1.Fields.Item("Title").Value)%></td>
</tr>
<tr>
<td width="75" height="26"></td>
<td width="425" valign="top" class="FormText"><%=(Recordset1.Fields.Item("Info").Value)%></td>
</tr>
<tr>
<td height="14" colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="20" colspan="2" valign="top"><img src="Assests/Graphics/DividerBlue.png" width="500" height="5"></td>
</tr>
<% Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend %>
thanks
I am displaying a database table on a form, however even if the database field data is on several lines they are all displayed on one line on the page. Does anyone knoe why this is? This is my code
//connect to the database and get all data
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) %>
<tr><td height="22" colspan="2" valign="top" class="FormTextTitle"><%=(Recordset1.Fields.Item("Title").Value)%></td>
</tr>
<tr>
<td width="75" height="26"></td>
<td width="425" valign="top" class="FormText"><%=(Recordset1.Fields.Item("Info").Value)%></td>
</tr>
<tr>
<td height="14" colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="20" colspan="2" valign="top"><img src="Assests/Graphics/DividerBlue.png" width="500" height="5"></td>
</tr>
<% Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend %>
thanks