Doorgaan naar de website
OCLC Support

CloseRecord

Find the syntax, use, parameters, return values, and an example for the CloseRecord macro command in Connexion client.
Syntax CS.CloseRecord (bSaveRecord)
Use to Close a record.
Parameters For bSaveRecord, enter true to save the record or false to close without saving.
Comments You must enter the bSaveRecord parameter (no default value is provided). If you do not, you get an error message.
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.CloseRecord True
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.
  • Closes record number 1 and saves it to the local bibliographic save file.