SetCursorFixedField

Find the syntax, use, parameters, return values, and an example for the SetCursorFixedField macro command in Connexion client.
Syntax CS.SetCursorFixedField
Use to Move the cursor to the fixed-field element specified by name and select the value of the fixed field element.
Parameters For the parameter sFieldName, type the name of the fixed-field element you want to select, enclosed in quotation marks (").

 Note: Use the name given in Bibliographic Formats and Standards, Input Standards for Fixed-Field Elements and 006.

Examples:
  • BLvl (Bibliographic Level)
  • Rec stat (Record Status)
  • Type (Type of Record)
Return values None
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”

     If CS.FixedFieldPosition = 1 Then
     CS.SetCursorFixedField “Lang”
     If CS.InsertText(“ita”) = True Then
          MsgBox “Value for fixed field Lang added”
     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 record number 1.
  • If the fixed field displays at the top of the record, adds the value ita to the fixed- field element Lang.
  • Checks how the client displays the fixed field and returns a message.
  • If the value is added successfully, returns the message: Value for fixed field Lang added.