The information in this article applies to:
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
CAUSEMicrosoft Access does not recognize the YYMMDD Date format in text files. RESOLUTION
One workaround is to format the date as MMDDYY.
If the Text field that contains the date has embedded slashes (/), such as 1/5/94, then the starting value in the Mid() function must be 4 rather than 3. In the example above, you would change the Mid() function to look as follows:
MORE INFORMATIONIn Microsoft Access 7.0 and 97, when importing a fixed-width text file with a Date field formatted as YYMMDD, Microsoft Access generates an Import Error log table, but does not import the data for the Date field. If you try to import the text file as delimited, the data is imported, but Microsoft Access changes the format from Date to Number or Text, depending upon the date delimiter. In Microsoft Access 2.0 or earlier, the file will not be imported. Additional query words: convert year month day
Keywords : kb3rdparty IsmTxtfx |
Last Reviewed: March 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |