Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

If entry is blank, display x

$
0
0
Hi, I'm not sure if this is a VB or an ASP problem but I hope you could help.

I have an asp page which is pulling some data from our SQL database and displaying using some vb script.

Code:

<tr>
 <td width="200"><strong><%=objData.getLabel("HESA/HESA/ClinSub", , Language)%></strong></td>
  <td><%=objData.getPrePostAndValue("HESA/HESA/ClinSub", , Language)%></td></tr>

In some cases, these fields need to be blank and I want to put an explanation against them stating this. What I need is something that says, if "ClinSub" is blank, then display message "This needs to be blank because..."

Can someone offer any suggestions as to how I do this?

Viewing all articles
Browse latest Browse all 13329

Trending Articles