Doorgaan naar de website
OCLC Support

Export

Find the syntax, use, parameters, return values, and an example for the Export macro command in Connexion client.
Syntax BOOL = CS.Export
Use to Export the current record, or records selected in a list, using your default export destination from Tools > Options > Export. You can export bibliographic or authority records.
Or
Marks record(s) for batch export if option is set in Tools > Options > Batch.

Same as using the Action > Export menu command.
Parameters None
Comments Whether you are logged on or offline, records export immediately, unless you set the Perform local actions in batch option for Record Export in Tools > Options > Batch to mark records for batch export.
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()

     Dim CS As Object
     Dim bResult As Integer

     Set CS = GetObject(,“Connex.Client”)

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

     CS.Search “WC”, “#1”

     bResult = CS.Export

     If bResult = True Then
          MsgBox “Export completed successfully”
     Else
          MsgBox “Export did not complete successfully”
     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.
  • Exports the record to your default export destination (Tools > Options > Export).
  • If the action is successful, returns the message: Export completed successfully. If not, returns the message: Export did not complete successfully.