14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

DataTable Object<br />

AddToStackList(ColumnName As String) As Boolean<br />

Adds the column to the list of columns whose values will be “stacked” into a new column.<br />

AddToSubList(ColumnName As String) As Boolean<br />

Adds the column to the list of columns that will be used for the Subset() As DataTable command.<br />

AddToSummaryGroup(ColumnName As String) As Boolean<br />

Adds the column to the group list for the Summary() As DataTable operation.<br />

AddToSummaryStatList(Stat As Integer)<br />

Adds the statistic as one that should be performed during the Summary() As DataTable operation. The integer<br />

value for a statistic is obtained from the dtSummaryStatConstants definition.<br />

AddToSummarySubGroup(ColumnName As String) As Boolean<br />

Adds the column to the Sub Group list for Summary() As DataTable operation.<br />

AddToTransposeList(Name as String) As Boolean<br />

Adds a column name to the list of columns that will be used during a transpose of the data table. This simulates<br />

the behavior of selecting columns within the Transpose dialog and then clicking Add.<br />

AddToTransposeByList(Name as String) As Boolean<br />

Adds a column name to the list of columns that will be used as the grouping columns during a transpose of the<br />

data table. This simulates the behavior of selecting columns within the Transpose dialog then clicking By.<br />

AddToUpdateMatchList(ColumnName as String) As Boolean<br />

For the new UpdateTable(DataTable2 as DataTable, IgnoreMissingValues As Boolean) method, add a<br />

column for matching column operation. There must be another column added to the second data table using<br />

this same method, similar to the operation of AddToJoinMatchList(ColumnName As String) As Boolean.<br />

ClearRowsSelection()<br />

Clears the current rows selection.<br />

ClearSelectedRowStates() As Boolean<br />

Clears the Row States of the rows that have been selected using SelectRows(StartRow As Integer, EndRow As<br />

Integer).<br />

ColorByColumn(Name as String) As Boolean<br />

Sets the row state color based on the values in the column specified by Name.<br />

Concatenate() As DataTable<br />

Concatenate the columns specified through AddToConcatList(ColumnName As String) As Boolean. Returns a<br />

dispatch pointer to the newly created data table, which can then be automated as well.<br />

Page 55

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

Saved successfully!

Ooh no, something went wrong!