Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

ClientDataType

Specifies the client data type used when this data type is projected via ActiveX or Java. Applies only to data type classes.

Usage

To specify the client data type to use when this data type is projected via ActiveX or Java, use the following syntax:

Class MyApp.MyString [ ClientDataType = clienttype ]  { //class members }

Where clienttype is one of the following:

  • BIGINT
  • BINARY
  • BINARYSTREAM
  • BOOLEAN
  • CHARACTERSTREAM
  • CURRENCY
  • DATE
  • DECIMAL
  • DOUBLE
  • FDATE
  • FTIMESTAMP
  • HANDLE
  • INTEGER
  • LIST
  • LONGVARCHAR
  • NUMERIC
  • STATUS
  • TIME
  • TIMESTAMP
  • VARCHAR (default)

Details

This keyword specifies the client data type used when this class is projected via the ActiveX or Java bindings. Every data type class must specify a client data type.

Effect on Subclasses

This keyword is inherited from the primary superclass. The subclass can override the value of the keyword.

Default

The default client data type is VARCHAR.

See Also