Skip to main content
OCLC Support

Holdings

Find the syntax, use, parameters, return values, and an example for the Holdings macro command in Connexion client.
Syntax CS.Holdings
Use to Return a list of all holdings for the current record.

Same as using the menu command View > Holdings > All.
Parameters None
Return values A list of all holding symbols for the current record, separated by commas.
Example Sub Main()

     Dim CS As Object
     Dim sHoldings As String

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

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

     CS.Search “WC”, “#1”

     sHoldings = CS.Holdings

     MsgBox Left(sHoldings, 100)
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.
  • Returns a list of holding symbols, separated by commas, for record number 1. If the list is more than 100 characters, returns only the first 100 characters.