FIX: "Invalid Date" Error When Using a Between OperatorID: Q107514 2.50 2.50a WINDOWS The information in this article applies to:
SYMPTOMSInternational date formats produce an "Invalid date" error in the Relational Query By Example (RQBE) tool when the Between operator is used with a date field. STATUSMicrosoft has confirmed this to be a problem in FoxPro 2.5 and 2.5a for Windows. This problem was corrected in FoxPro 2.5b for Windows. MORE INFORMATIONSteps to Reproduce Problem1. In the Command window, set the date format to a foreign format, for example, type the following command: SET DATE TO BRITISH 2. Create a new query in RQBE using the INVOICES database. 3. Set the Selection Criteria to: Idate Between {17/05/90},{19/05/90} 4. Run the query. The results should be incorrect because the first date has been converted to the American date format ("mm/dd/yy") as opposed to the format specified in step 1. To observe this change, choose the See SQL button. 5. Save the query. 6. Modify the query. The error message "Invalid Date: Enter date in the form: dd/mm/yy" appears because 17/05/90 is not a valid American date. Additional reference words: FoxWin buglist2.50 buglist2.50a fixlist2.50b 2.50 2.50a buglist2.50 buglist2.50a fixlist2.50b errmsg err msg KBCategory: KBSubcategory: FxtoolRqbe Keywords : kberrmsg FxtoolRqbe Version : 2.50 2.50a Platform : WINDOWS Solution Type : kbfix |
Last Reviewed: May 22, 1998 |