Doorgaan naar de website
OCLC Support

OCLC-supplied object class and variables

Find out why and how to use OCLC-supplied object class and variables  in Connexion client.

Overview

OCLC supplies the object class Connex.Client. Commands in OML macros automate Connexion client actions by accessing a subset of client functionality through this object class, which is the interface between the client functionality and OML.

To gain access to the functions provided by Connex.Client, an OML macro contains two lines that do the following:

  • Define the object variable CS by which to reference Connex.Client: Dim CS as Object.
  • Set CS to reference an instance of the object class Connex.Client: Set CS = GetObject(,“Connex.Client”).

Why use an object?

The only way to create a macro that automates Connexion client operations is to use the variable CS as an instance of the class Connex.Client. You can then use the capabilities of that class of object to make the macro work. By using the appropriate object, you can, for example, write a macro to log on to Connexion, automate a search, modify a record, display a record from a list, or take an action on a record.

How to use a client object

The tasks an object can do are called methods or member functions of the object. OML Help uses the term commands for the methods of the client object class.

For a list of commands for use in client macros, see List of Connexion client macro commands.