Doorgaan naar de website
OCLC Support

DeleteFieldLine

Find the syntax, use, parameters, return values, and an example for the DeleteFieldLine macro command in Connexion client.
Syntax BOOL = CS.DeleteFieldLine (nLineNumber)
Use to Delete a field in a field position specified by line number, with each field representing one line.
Parameters For nLineNumber, enter the field position (line number) of the field you want to delete.
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”

     CS.DeleteFieldLine 1

     If CS.DeleteFieldLine(1) = True Then
          MsgBox “The first line was deleted”
     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.
  • Deletes the first variable field in the record (line number 1). No confirmation message.
  • Deletes the next variable field in the record and, if successful, returns the message: The first line was deleted.