Next / Previous / Contents / TCC Help System / NM Tech homepage

29.3. Row.nPhysCols(): How many physical columns?

The number of physical columns required is either the number of physical columns plus the number of suffix columns, or the maximum number of physical columns, whichever is smaller.

cbchistlib.py
# - - -   R o w . n P h y s C o l s

    def nPhysCols(self, maxPhysCols):
        '''How many physical columns will the table have?
        '''
        return min(self.cbcHist.nCols + Row.N_SUFFIX_COLS,
                   maxPhysCols)