Doorgaan naar de website
OCLC Support

FixedFieldPosition

Find the syntax, use, parameters, return values, and an example for the FixedFieldPosition macro command in Connexion client.
Syntax CS.FixedFieldPosition
Use to Return or specify how the fixed field displays in a record.
Parameters None
Return values Returns an integer indicating the way the fixed field displays:
  • 0 - Fixed field displays as variable fields
  • 1 - Fixed field displays at the top of the record
  • 2 - Fixed field displays at the bottom of the record
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 = 0 Then
     CS.FixedFieldPosition = 1

     Select Case CS.FixedFieldPosition()
     Case 0
          MsgBox “Fixed field displays as variable fields”
     Case 1
          MsgBox “Fixed field displays at the top of the record”
     Case 3
          MsgBox “Fixed field displays at the bottom of the record”
     End Select
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 as variable fields, changes display to fixed-field elements positioned at the top of the record and returns the integer 1.
  • Checks how the client displays the fixed field and returns a message:
    • If the fixed field displays as variable fields (Case 0), returns a message Fixed field displays as variable fields.
    • If the fixed-field elements display at the top of the record (Case 1), returns a message Fixed field displays at the top of the record.
    • If the fixed-field elements display at the bottom of the record (Case 2), returns a message Fixed field displays at the bottom of the record. 

    In this case, returns the second message above.