Hi

I have the following if then statement but I want to exit when the else
statement is true (if that makes sense) so I get the first record that is not
Bye. Can someone help with the syntax.

Thanks

Greg

If DrawName("TeamTwo") = "Bye" then
'Do nothing
Else
Response.Write DrawName("TeamTwo")
' I want the if statement to end now and exit
end if