Access2000
Query called: pilotdetails
Basically what I want to do - is if one cell called fldHideEmail says Yes - I want the word "Hidden" to be displayed, if it says anything other than yes I want it to display the email address in cell email.
heres the code
any ideas?
<%
If (rsUsers.Fields.Item("fldHideEmail"
.Value) = "YES" Then
response.write("Hidden"
Else
response.write(rsUsers.Fields.Item("email"
.Value)
End If
%>
Thank you in advance.
Query called: pilotdetails
Basically what I want to do - is if one cell called fldHideEmail says Yes - I want the word "Hidden" to be displayed, if it says anything other than yes I want it to display the email address in cell email.
heres the code
any ideas?
<%
If (rsUsers.Fields.Item("fldHideEmail"
response.write("Hidden"
Else
response.write(rsUsers.Fields.Item("email"
End If
%>
Thank you in advance.