Skip to main content
OCLC Support

SaveOnline

Find the syntax, use, parameters, return values, and an example for the SaveOnline macro command in Connexion client.
Syntax nSaveFileNumber = CS.SaveOnline
Use to Save a record, or records selected in a list, in the online save file.

Same as using the Action > Save Record to Online File menu command.
Parameters None
Comments You must be logged on to run this macro.
Return values Save file number(s) the system assigns to the saved record(s).
Example Sub Main()

     Dim CS As Object
     Dim nSaveFileNumber As Integer

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

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

     CS.Search “WC”, “#1”


     nSaveFileNumber = CS.SaveOnline
     MsgBox “The record was added as save file number” + (nSaveFileNumber)
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.
  • Saves record number 1 to the online bibliographic save file.
  • Returns the message: The record was added as save file number [system- supplied number].