The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



AddNominalID


Unit:SDL_datatable
Class: TDataTable
Declaration: function AddNominalID (Col: integer; MScaleID: TNominalIDStr): integer;

The method AddNominalID adds the nominal identifier MScaleID to the list of nominal identifiers of the column Col and returns its ordinal number if the call to AddNominalID was successful, otherwise a zero value is returned. AddNominalID triggers the OnChangeSetup event.

Please note that AddNominalID automatically sets the measurement scale type of the column Col to stNominal.



Last Update: 2012-Oct-20