Previous Topic

Next Topic

MakePeriodID - MaxBasic Function

MakePeriodID(YearNo: Number, PeriodNo: Number): Number

Create a period ID from the given Year and Period numbers. Returns zero if YearNo or PeriodNo are outside valid range.

MakePeriodID function syntax has these named arguments:

Parameter

Description

YearNo

Required. YearNo to use to create the Period ID. Valid range integers 1-99.

PeriodNo

Required. PeriodNo to use to create the Period ID. Valid range integers 1-99.

For example:

  MakePeriodID(2,1)

Returns: 201.

See Also

Period Functions

Book Contents

Book Index