method InputPeriod(ControlName: String, Prompt: String[, PeriodFrom: Number, PeriodTo: Number, Financial: Boolean])
Define a period combo control on a scripted form that allows input of financial periods.
InputPeriod method syntax has these named arguments:
Parameter |
Description |
|---|---|
Control Name |
Required. Name of the control. Must be a valid MaxBasic identifier. |
Prompt |
Required. Prompt text to display to left of the control. |
Period From |
Optional. Period ID to restrict available periods. First period available in the look-up control. |
Period To |
Optional. Period ID to restrict available periods. Last period available in the look-up control. |
Financial |
Optional. Determines if only Financial periods are included. If True, restricts periods to Financial periods only. If False, includes Financial and Adjustment periods. Defaults to True. |
See also MaxBasic InputPeriod function and Input Grid InputPeriod method.