mooAWAttached
mooAWAttached(“ [aw name] “)
Returns TRUE if the specified analytic workspace is attached (open)
Syntax
mooAWAttached("[aw name]")
Return Value
BOOLEAN
Example
Public Sub mooAwAttached()
'Check if an Aw is attached
Dim boo As Boolean
If Not oregistered Then: boo = regQ:
'Check Im connected if not connect
If Not o.connected Then
boo = o.connect
boo = o.connected
Else
boo = True
End If
boo = o.mooAwAttached("EXPRESS")
If boo = False Then
MsgBox "No Not Attached"
Else
MsgBox "Yes Attached"
End If
End Sub