if all fo these are seperate subnets, there a couple of UDF's to id if a computer is a member of a subnet ot not.

the UDF's are

SubNET()
you will also need BinaryIP()


an example of using these udf's

code:

select
case subnet("@ipaddress0","192.168.1.0","255.255.255.0") = 1
$site = "BC Gas Center TOKEN RING 1 ..10th floor"

case subnet("@ipaddress0","192.168.2.0","255.255.255.0") = 1
$site = "BC Gas Center TOKEN RING 2"

case subnet("@ipaddress0","192.168.3.0","255.255.255.0") = 1
$site = "BC Gas Center TOKEN RING 3.. 9th floor"

;and so on......
endselect


if you need more help just ask