My experience is that ACCESS will import the "date-formatted" dates in the string format corresponding to your Regional Settings for date display. Then, the append query will need to do a proper conversion from the date string to a "date" value. If you're in US, no conversion will be needed. But if you're in a country that uses dd/mm/yyyy format then you'll need to parse the string to get the correct value for the date in the append query -- and this is best done using the DateSerial function with the arguments containing use of Left, Mid, Right, etc. string parsing functions. Not difficult once you set it up.
--
Ken Snell <MS ACCESS MVP>
"Judy Ward" <JudyWard[ at ]discussions.microsoft.com> wrote in message news:02BE2903-3FC2-49BB-A0AF-442D64AA1569[ at ]microsoft.com...
[Quoted Text] > If you happen to check back, I still have a question about the method you > suggested. The data that I am importing has 4000+ rows. What is very odd > to > me is that a block of these rows (approx 300) has the dates stored as > text. > The rest of the rows have the date stored as date. So for each of the > date > columns, I have a mixture of dates stored as dates and dates stored as > text. > > If I do the conversion from text to date in Access, what will happen to > the > values that are already date values? I just realized that I can try this > out > for myself and see what happens, but if you happen to know I would > appreciate > your response. > > Thank you, > Judy > > "Ken Snell (MVP)" wrote: > >> "Judy Ward" <JudyWard[ at ]discussions.microsoft.com> wrote in message >> news:414ADA21-C5CB-404B-8AF9-35E8D9A81E1A[ at ]microsoft.com... >> > Thank you very much for responding. >> > >> > Since I have to do this every day and there are thousands of records, I >> > was >> > looking for the easiest (most automated) way possible. >> >> Doing what I suggested can be done by macro or VBA in ACCESS >> automatically, >> but glad you found a solution that works. >> -- >> >> Ken Snell >> <MS ACCESS MVP> >> >> >>
|