Else fails

Else fails

Hi,

I don't understand why the following ELSE statement doesn't work :

oClients  =  Client_Progress  [Client_name == input.Last_Name];
if (oClients.ID  !=  null)
{
    openUrl((((("http://creator.zoho.com/" + zoho.adminuser) + "/") + zoho.appname) + "/view-perma/Client_Progress_Report/?Client=") + oClients.Client_name, "same window");
}
else
{
    alert("Unknown, please re-enter");
}

When the Name is found, it opens the URL, but when not, there is no alertbox.

The form is a stateless form.

I must be missing something, but I don't get it.