14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Application Object <strong>Reference</strong> for Automating <strong>JMP</strong><br />

Column Object<br />

Column Object<br />

The Column object exposes an individual data table column to manipulation via automation. A column object<br />

pointer must first be obtained from the DataTable object with one of the GetColumn calls.<br />

Properties<br />

DataType<br />

Property that indicates if the column data type is Character, Numeric, RowState or unknown. The value is part of<br />

the colDataTypeConstants definition. This value is for retrieval only.<br />

FieldWidth<br />

Property that indicates the width of the column field as an integer. For retrieval only.<br />

InputFormat<br />

Integer property that indicates the input format for the data. This is typically Best for numeric data, or one of<br />

the date/time formats for date/time data. The value is part of the colFormatConstants definition. The formats<br />

Long (Long date/time) and Abbrev (Abbreviated date/time) are invalid for input, and will generate an error.<br />

OutputFormat<br />

Integer property that indicates the output format for the data. This is typically Best for numeric data, or one of<br />

the date/time formats for date/time data. The value is part of the colFormatConstants definition.<br />

Note:<br />

If you set the Column.OutputFormat property to <strong>JMP</strong>.colFormatConstants.colFormatCurrency, the number of<br />

decimal places is set to 2 (for US dollars). If at any time you set the Column.NumDecPlaces to a number, the<br />

OutputFormat property is overridden, and Column.OutputFormat is set to colFormatFixedDecimal. This means<br />

that there is no way to set currency to have a different number of decimal places through automation, since each<br />

overrides the other.<br />

Locked<br />

A boolean (True/False) property that indicates if the column is locked. For retrieval only.<br />

ModelType<br />

Integer property that indicates whether the column model type is Continuous, Nominal or Ordinal. The value<br />

is part of the colModelTypeConstants definition, and is for retrieval only.<br />

Name<br />

String property that gives the column name. For retrieval only.<br />

NumberRows<br />

Integer property that indicates the current number of rows in the column. For retrieval only.<br />

Page 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!