Doorgaan naar de website
OCLC Support

CloseList

Find the syntax, use, parameters, return values, and an example for the CloseList macro command in Connexion client.
Syntax BOOL = CS.CloseList
Use to Close the current list.
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

     If CS.Search(“WC”, “gon,wi,th,w/bks/1983-2003”) > 0 Then
       If CS.GetFirstItem() = True Then
          CS.CloseList End If
     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 the title Gone with the Wind in Books format only and only items published between 1983 and 2003.
  • If the search retrieves multiple records (a brief list in this case), selects and opens the first item on the list (a record).
  • Closes the list.