Previous Topic: Execute Method

Next Topic: CaWForm


IsValid Method

Checks if the object is a valid object.

Syntax

object.IsValid()

Owning Class

CaWDemote

Arguments

None

Return Value

A boolean - True if the object is a valid object otherwise False.

Example

Dim objDemote
Set objDemote = objContext.GetDemote()
If objDemote.IsValid() <> 0 Then
msgbox “This is a valid object”, vbOKonly, “Test Demote”
End If