I need to output a query result as a text file. The format need it is the following "000005","12/18/70" (comma delimited)the first field is account # and the next is the Date account open, as you can see both need to be in text format. When I try to import the query result to a text file, when I open the file the date came up like this "000005",12/18/70 00:00:00. The only way I can do to show me the output in that format is by changing the data type from date to text in the table containing the data. I have to do this weekly so I was planning to copy the original table past it with a different name and then change the format of the field. I want to know if there is way to change the format using code so I do not have to do it manually every time. Thanks