The information in this article applies to:
SYMPTOMSPlacing a NULL in the DATE() function causes the following error:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONThe syntax of the DATE() function is DATE([nYear, nMonth, nDay]). Placing a NULL in any of the parameters causes the error. Steps to Reproduce BehaviorOpen the Command window, and type the following:? DATE(null,3,2)The error listed in the SYMPTOMS section appears. Using the NULL in place of the following parameters also causes the error: ? DATE(1998,null,2)&& should return January for the month ? DATE(1998,3,null)&& should return first dayIf NULL appears in place of the year, Visual FoxPro should substitute the current year or month. If NULL replaces the month, January should be returned for the month. If NULL replaces the day parameter, it should default to the first day of the month. Additional query words:
Keywords : kbservicepack kbVFp500abug kbVFp600 kbVFp600bug kbXBase kbVS600sp2 kbVS600SP1 kbVS600sp3fix kbGrpFox |
Last Reviewed: May 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |