I've just done a simple test using your suggested code and it will return nothing as to what the $spserver is. I'm using a simple text message box to see what it returns and I just get a blank box. What am I doing wrong? I'm still a newbie at using kixtart. I appologize if my coding seems a little strange. Below is the simple code that I'm trying to use.




Call "isiniprange.udf"

$ipaddress = @IPADDRESS0

Select
Case isiniprange($ipaddress,'10.125.16.0/20')
$spserver='jcboe'
Case isiniprange($ipaddress,'10.125.32.0/20')
$spserver='alt'
EndSelect

$SPAlert = MessageBox($spserver, "Simple Test", 64, 60)