> IF NOT IsNull("oCustbals")
> oCustbals.Activate
> ENDIFJohn,
Instead of checking to see if oCustbals is null, try checking to see if its variable type is an object:
IF VARTYPE(oCustbals) = "O"
oCustbals.Activate()
ENDIF
Hope that helps.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer