DOCERR: How to Create a Blank DateTime Documented Incorrectly (141084)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q141084 SUMMARY
Page 32 of the "Developers Guide" states "To assign blank DateTime values,
use braces with a colon." Based on the documentation, the following uses
should generate blank datetime values, but they do not.
Method One
tBlankDate1 = {:}
tBlankDate1 = { } &&blank space between brackets
-or-
STORE {:} TO tBlankDate1
STORE { } TO tBlankDate1
The result is "12/30/1899 12:00:00 AM" -- Not a blank DateTime.
Method Two
tBlankDate1 = {} && no blank spaces between brackets
tBlankDate1 = {/}
-or-
STORE {} TO tBlankDate1
STORE {/} TO tBlankDate1
The result is " / / " -- A blank date, but time is not showing.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | KB141084 |
---|
|