Skip to main content
OCLC Support

CopyField

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

Same as using the command Edit > Cut Copy Paste > Copy 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.CopyField
    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.
  • Locates the cursor at the beginning of the fifth field and copies the entire field.