If you use the Subnet mask such as 255.255.255.128 generate different subnets (1-127) and (129-254) then lookup CalcLogicalSubnet. This UDF will permit you to easily call a subscript based or perform logical branching based on the client subnet.

Also, if you use W2K domains and install the DScLient on your clients. The site property will do this for you.

[ 04 May 2002, 17:09: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/