Skip to main content
OCLC Support

CursorColumn

Find the syntax, use, parameters, return values, and an example for the CursorColumn macro command in Connexion client.
Syntax CS.CursorColumn
Use to Indicate or change the column where the cursor is located in a record.
Parameters None
Comments The leftmost column is column 1 (that is, the first character of the MARC tag). CursorColumn moves the cursor exactly one data point to the right. A data point can be a character or a space. CursorColumn 1, 2, and 3 are always tag characters; 4 and 5 are always indicators, even if blank; and 6 is the start of actual data in the field.
 

 Note: 

  • CursorColumn works differently than CursorPosition. When writing macros, use CursorColumn to place the cursor by an exact number of data points in a field. CursorPosition is generally useful only for the macro recorder to record the position of the cursor when you manually click to place it in a record.
  • See comments in the description of CursorPosition for more details.
Return values An integer representing the column number where the cursor is located.
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”

     CS.CursorRow = 1
     CS.CursorColumn = 4
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.
  • Moves the cursor to the fourth column of the first row of the record (the position of the first indicator in the first field).