Ferry, Assuming you meant an object ID and you know the class,
##class(ClassName).%ExistsId(OID) will return true or false depending on whether an object with the specified ID exists. If the class name is also a variable, you can try the usual alternatives with e.g. indirection, XECUTE or the $zobj* methods and their wrappers. HTH, Ram�n
