The code below checks if the string returned by @PRODUCTTYPE contains Windows 2000 or Windows XP and does stuff if this is true and does other stuff when it is not true.


 Code:
If InStr(@PRODUCTTYPE, "Windows 2000") Or InStr(@PRODUCTTYPE, "Windows XP")
	;Do stuff
Else
	;Do other stuff
EndIf 
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.