Set the lower display index of the Dataset.
BOOL SetLowerBound( int nLower )
Returns TRUE on successful exit and FALSE on failure.
// a Worksheet with at least 1 column must exist prior to execution
Dataset dsA(wks, 0);
for(int ii = 0; ii < 10; ii++)
dsA[ii] = ii;
ASSERT( bsStatVal.min == 2 );
ASSERT( bsStatVal.max == 7 );
ASSERT( bsStatVal.min == 0 );
ASSERT( bsStatVal.max == 9 );
Set the lower display index of the Dataset range. Index values are 0 based offsets. SetLowerBound is supported only for Datasets (not vectors) while GetLowerBound is supported for all vectorbase derived objects. This allows for creation of more general purpose functions that can take vectorbase objects as arguments in place of Dataset objects. Essentially, the lower bound can be read but not written for vectors. SetLowerIndex is a synonym for SetLowerBound.
vectorbase::GetLowerBound, vectorbase::GetSize, vectorbase::SetSize, vectorbase::GetUpperBound, Dataset::SetUpperBound