Doorgaan naar de website
OCLC Support

UncontrolHeading

Find the syntax, use, parameters, return values, and an example for the UncontrolHeading macro command in Connexion client.
Syntax BOOL = CS.UncontrolHeading
Use to Uncontrol the controlled heading where the cursor is located to make it available for edit.

Same as using the command Edit > Control Headings > Uncontrol.
Parameters None
Comment You must be logged on to run this macro.
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()
 

     Dim CS As Object
     Set CS = GetObject(“Connex.Client”)

     If CS.IsOnline = False Then
          CS.Logon ““, ““, ““
     End If

     CS.Search “WC”, “#1”

     If ItemType = 0 Then

     CS.CursorRow = 8
     CS.CursorColumn = 6

     If CS.UncontrolHeading() = True Then
          MsgBox “Heading uncontrolled”
     Else
          MsgBox “Uncontrol failed”
     End If
  End If
End Sub

What this example does
  • Logs on to Connexion if not already logged on, using the default authorization and password you selected in Tools > Options > Authorizations tab.
  • Searches WorldCat for record number 1.
  • Places the cursor in the sixth column of the eighth row.
  • Uncontrols the heading where the cursor is located (if the heading is controlled) and either confirms that the heading was uncontrolled by returning the message Heading uncontrolled or returns the message Uncontrol failed.