ACC2000: Using Format() and Month() Returns Incorrect Month (209191)
The information in this article applies to:
This article was previously published under Q209191 SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers.
If you use the Format() function on the result of a Month() function, Microsoft Access returns an incorrect result.
CAUSE
The Month() function converts a date to an integer. The Format() function is expecting a date serial number as an argument, but instead receives an integer.
REFERENCESFor more information about the MonthName() function, click Microsoft Access Help on the Help menu, type MonthName function in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the Format() function, click Microsoft Access Help on the Help menu, type format property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 12/12/2002 |
---|
Keywords: | kbdta kbprb KB209191 |
---|
|