Previous Topic

Next Topic

InputPeriod - MaxBasic Function

InputPeriod(Prompt: String[, Title: String, Default: String, PeriodFrom: Number, PeriodTo: Number, Financial: Boolean]): Number

Displays a message, User must select a financial period or click a button, returns a number containing the PeriodID for the selected period.

InputPeriod function syntax has these named arguments:

Parameter

Description

Prompt

Required. String expression displayed as a message.

Title

Optional. String expression displayed in the title bar. If you omit title, the application name is placed in the title bar.

Default

Optional period ID. Period displayed in the look-up control as the default response if no other input is provided. If you omit default, the look-up control is displayed empty.

Period From

Optional period ID to restrict available periods. First period available in the look-up control.

PeriodTo

Optional period ID to restrict available periods. Last period available in the look-up control.

Financial

Optional, defaults to True. Determines if only Financial periods are included. If True, restricts periods to Financial periods only. If False, includes Financial and Adjustment periods.

See also Scripted Form InputPeriod method and Input Grid InputPeriod method.

See Also

Input Functions

Book Contents

Book Index