Skip to main content
OCLC Support

GetLabelSpineUnformatted

Find the syntax, use, parameters, return values, and an example for the GetLabelSpineUnformatted macro command in Connexion client.
Syntax BOOL = CS.GetLabelSpineUnformatted (sHoldingCode, sSpine)
Use to Returns unformatted text (no line breaks) for a spine label extracted from the current record, based on the holding library code, so that you can modify it.

Same as using View > Label to open a label for the current record for editing, except that the label text has no line breaks.
Parameters
  • For sHoldingCode, enter the holding library code used to print the label, enclosedin quotation marks (determines the input stamps for the label).
  • Enter the parameter sSpine to return the text of the label spine for editing.
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()

     Dim CS As Object
     Dim sSpine as String
     Dim nResult

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

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

     CS.Search “WC”, “#1”

     nResult = CS.GetLabelSpineUnformatted (“ZMYA”, sSpine)

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 the text of the spine label unformatted (no line breaks) for editing.