Microsoft KB Archive/156639

= PRB: Using Date Function Code in @...GET Does Not Work =

Article ID: 156639

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q156639



SYMPTOMS
In Visual FoxPro 3.0, you are allowed to use the Date function code ("D") in the @...GET statement to input a date. However, in Visual FoxPro 5.0, the Date function code is not working any longer.



STATUS
This behavior is by design.



Steps to Reproduce Problem
Execute the following program: dDate = DATE @ 1,1 GET dDate PICTURE "D" READ NOTE: The date will show up in a GET field, but you are only allowed to type in the first character in the date field. If you try to type in the second character, you will receive an "Invalid Date" error.

Additional query words: kbdse VFoxWin

Keywords: KB156639

-

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

© Microsoft Corporation. All rights reserved.