nonprogrammer
Technical User
hello
I am trying to put an if statement in one of my asp pages. That should redirect me to a link if the field is empty in the database. I tried the following code but it does not seem to work. any suggestions?
I am trying to put an if statement in one of my asp pages. That should redirect me to a link if the field is empty in the database. I tried the following code but it does not seem to work. any suggestions?
Code:
<%if Recordset1.Fields.Item("Pick").Value = "" then response.Redirect("[URL unfurl="true"]http://www.google.com")[/URL] %>
[code]