Solved

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

Posted on 2007-03-21
1
1,188 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
1 Comment
 
LVL 39

Accepted Solution

by:
stevbe earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now