Microsoft KB Archive/132864

= FIX: SET CENTURY OFF Turns 02/29/2000 into Invalid Date =

Article ID: 132864

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q132864



SYMPTOMS
Issuing the command SET CENTURY OFF causes the date 02/29/2000 to be invalid if it is stored to a date field in a table.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Problem
  In the Command window, type: SET CENTURY ON  CREATE TABLE test (date d)   APPEND  Type 02/29/2000 into the new record. Press CTRL+W to save the record.  In the Command window, type: SET CENTURY OFF BROWSE  Select the record that shows the 02/29/00 date, and press ENTER

An "Invalid Date" error message appears in a WAIT WINDOW at the top right of the Visual FoxPro desktop.

This problem does not occur in Microsoft FoxPro version 2.x.

Additional query words: VFoxWin fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB132864

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.