Doorgaan naar de website
OCLC Support

DeleteCurrentField

Find the syntax, use, parameters, return values, and an example for the DeleteCurrentField macro command in Connexion client.
Syntax CS.DeleteCurrentField
Use to Delete the field where the cursor is located.

Same as using the command Edit > Cut Copy Paste Delete Field.
Parameters None
Return values None
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 = 5
          CS.CursorColumn = 1
          CS.DeleteCurrentField
     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.
  • If the result is an open WorldCat record, locates the cursor at the beginning of the fifth field and deletes the entire field.