Doorgaan naar de website
OCLC Support

SetMyStatus

Find the syntax, use, parameters, return values, and an example for the SetMyStatus macro command in Connexion client.
Syntax BOOL = CS.SetMyStatus (sStatusName)
Use to Add a customized My Status to the current record.

Same as using the menu command Action > Set Status.
Parameters For sStatusName, enter the My Status text you want to add to the record. Enclose in quotation marks. Use free text limited to 40 characters (enter in lowercase, uppercase or mixed case).
Comments You must be logged on to run this macro.

If you enter more than 40 characters, the data is truncated at 40 characters.
Return values TRUE if the action 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.OpenWorkform “bks”

     CS.SetMyStatus “My workform”
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.
  • Opens a workform with a Books format.
  • Assigns the My Status My workform to the workform.