?
Solved

MS Access Export to TXT Date/Time as Date only without time.

Posted on 2007-03-21
1
Medium Priority
?
1,241 Views
Last Modified: 2010-01-20
In MS Access 2003, How can I limit in table structure the date/time field to just a Date with format of  MM/DDYYYY when I export the table as a Txt file?
It brings the time along and I do not want the time to be brought into the Txt file.

Thanks in advance for you assistance
Lou
0
Comment
Question by:Lou Dufresne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 39

Accepted Solution

by:
stevbe earned 2000 total points
ID: 18763840
make a query with all the fields except your date field, add a calculated field in your query ... and export the query instead of the tbale

this is the calculated field ... type this in the field name cell ... change DateField to the name of tthe field you only want the date of.

MyDate:Format([DateField],  "mm/dd/yyyy")

Steve
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question