Skip to main content
OCLC Support

Browse Authority Expanded

Find the syntax, use, parameters, return values, and an example for the Browse Authority Expanded macro command in Connexion client.
Syntax BOOL = CS.BrowseAuthorityExpanded (nRecOffset, sRootIndex, sRootTerm, sExpanded Term)
Use to Options:
  1. Browse the Authority File using an expanded scan. That is, specify a heading and subheading for an Authority File browse.

    Same as entering a heading and an expanded term in the Browse Authority File window (Authorities > Browse > Authority File) (nRecOffset = 0).
     
  2. Expand a scan by specifying a subheading for a specific entry in an Authority File browse results list.

    Same as entering an expanded term for an entry in a Browse Authority File List of results (nRecOffset = 1 - xxx = number of entry in browse list).
Parameters
  • For nRecOffset, enter the number 0 for option 1 described above, or enter 1 - [any browse list record number] for option 2 described above.
  • For sRootIndex, enter the index label for the index you want to browse. Specify for Option 1 only. See Browsing the authority file: Indexes.
  • For sRootTerm, enter a browse string for a heading (in upper- or lowercase), enclosed in quotation marks. Specify for option 1 only.
  • For sExpandedTerm, enter a browse string for a subheading (in upper- or lowercase), enclosed in quotation marks.
Comments You must be logged on to run this macro.
Return values TRUE if the expanded browse 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.Browse “AF”, “sj”, ”jones”
     CS.BrowseAuthorityExpanded “4”, ““, ““, “bible”
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.
  • Browses the Authority File children’s subjects index for Jones.
  • For the fourth entry in the browse results list, expands the browse for the subheading Bible.
Alternative: Do the heading browse and subheading expanded scan at the same time: CS.BrowseAuthorityExpanded "0", "sj", "jones", "bible"