Microsoft KB Archive/107514: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 1: | Line 1: | ||
{| | {| | ||
|width="100%"| | |width="100%"| | ||
= FIX: | = FIX: "Invalid Date" Error When Using a Between Operator = | ||
'''ID: Q107514''' | '''ID: Q107514''' | ||
Line 13: | Line 13: | ||
== SYMPTOMS == | == SYMPTOMS == | ||
International date formats produce an | International 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. | ||
== STATUS == | == STATUS == | ||
Line 36: | Line 36: | ||
4. Run the query. | 4. Run the query. | ||
<pre> The results should be incorrect because the first date has been | <pre> The results should be incorrect because the first date has been | ||
converted to the American date format ( | 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 | format specified in step 1. To observe this change, choose the See SQL | ||
button. | button. | ||
Line 43: | Line 43: | ||
6. Modify the query. | 6. Modify the query. | ||
The error message | 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 | 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 |
Latest revision as of 10:22, 20 July 2020
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 |