meltingpot
Technical User
The code below writes a name and address but I have a problem with the spaces. As an example If the field "Add3" is missing it leaves a space on the page. How do I make the lines close up if a field is empty ???
Code =======================
<td width="366"><%=(Course_accepted.Fields.Item("Unit").Value)%><br>
<%=(Course_accepted.Fields.Item("Add1").Value)%><br>
<%=(Course_accepted.Fields.Item("Add2").Value)%><br>
<%=(Course_accepted.Fields.Item("Add3").Value)%><br>
<%=(Course_accepted.Fields.Item("add4").Value)%><br>
<%=(Course_accepted.Fields.Item("County").Value)%><br>
<%=(Course_accepted.Fields.Item("postcode").Value)%><br>
<br></td>
Help !
Code =======================
<td width="366"><%=(Course_accepted.Fields.Item("Unit").Value)%><br>
<%=(Course_accepted.Fields.Item("Add1").Value)%><br>
<%=(Course_accepted.Fields.Item("Add2").Value)%><br>
<%=(Course_accepted.Fields.Item("Add3").Value)%><br>
<%=(Course_accepted.Fields.Item("add4").Value)%><br>
<%=(Course_accepted.Fields.Item("County").Value)%><br>
<%=(Course_accepted.Fields.Item("postcode").Value)%><br>
<br></td>
Help !