>to all,
>
>if you use: if type('ObjectName.Name') == "C" like bob suggested you don't have to use the ISNULL function.
>
>I use this method in methods which must be as fast as possible.
>
Hi Walter,
I don't mean to pick, but you don't need the double equal sign there since TYPE() only returns a single uppercase character. Further, even if the function returned "OO" for a different data type, TYPE('ObjectName') = "OO" where 'ObjectName' is an object that would return "O", would evaluate to false. If you reversed the order ("OO" = TYPE('ObjectName') in these circumstance, then there would be a problem. Lastly, there might be some additional overhead in resolving the property reference. Whether or not this is as great as the multiple functions, I don't know.
George
Ubi caritas et amor, deus ibi est