version 2003
PA_Dial4DSetMaxDate (dialog; variable; day; month; year)
Parameter | Type | Description | |
dialog | PA_Dial4D | Dialog reference | |
variable | char* | Variable name to access | |
day | short | Day of the maximum date | |
month | short | Month of the maximum date | |
year | short | Year of the maximum date |
Description
The routine PA_Dial4DSetMaxDate allows you to dynamically change the maximum value allowed for a date variable. If the user enters a value greater than this value, an alert will prompt him to enter a correct value.