Discussion Locked

MS Access 97

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm importing a text file that has no delimit and it has a raw date field eg 41601 for todays date. I would like to modify that field and add /'s or -'s when I import it so that I can date search the table using that field. How can I add characters to that field?
Thanks,

Brad L. Daley
bdaley@mnwd.com

5 replies

by steved

When faced with this kind of problem I always turn to TextPad, which is a dynamite shareware program available at http://www.textpad.com/. (Disclaimer: I'm not affiliated with the developer. I'm just a very satisfied customer.) TextPad is NotePad onsteroids, and one of its capabilities is search and replace using regular expressions, like in Perl. If you're not familiar with regular expressions, there is a decent explanation of how to use them in the Help file that comes with TextPad. With some cleverness and a close reading of the Help, you should be able to modify your text file with TextPad's search and replace so that the dates are properly delimited and Access's import wizard will convert them correctly.

I hope this helps.

Steve Diamond

This discussion is closed to new replies.