Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / October 2005

Tip: Looking for answers? Try searching our database.

Export Date to outside system

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sarah - 18 Aug 2005 16:11 GMT
I need to export a date as a mm/dd/yyyy from Access so that I can import this
txt file as a date. Whenever, I format my query, table, or field it comes out
as Date/Time field i.e. mm/dd/yyyy 00:00:00:0. Even when I change my criteria
on the export the date does not go through as I need it to. Any suggestions?
Thanks.
Signature

Sarah

Klatuu - 18 Aug 2005 17:16 GMT
format(Date,"mm/dd/yyyy")

> I need to export a date as a mm/dd/yyyy from Access so that I can import this
> txt file as a date. Whenever, I format my query, table, or field it comes out
> as Date/Time field i.e. mm/dd/yyyy 00:00:00:0. Even when I change my criteria
> on the export the date does not go through as I need it to. Any suggestions?
> Thanks.
Lorraine - 05 Oct 2005 13:58 GMT
Hi,

I also have this problem, however, when I try and use the formula below it
changes to d"ate,"mm/dd/yyyy.  Perhaps I am doing something wrong?

> format(Date,"mm/dd/yyyy")
>
[quoted text clipped - 3 lines]
> > on the export the date does not go through as I need it to. Any suggestions?
> > Thanks.
Klatuu - 05 Oct 2005 14:09 GMT
Interesting.
Format(Date,"mm/dd/yyyy") on today's date should return 10/05/2005
Post back your code so we can see if there is a problem

> Hi,
>
[quoted text clipped - 8 lines]
> > > on the export the date does not go through as I need it to. Any suggestions?
> > > Thanks.
Rick Brandt - 05 Oct 2005 14:15 GMT
> Interesting.
> Format(Date,"mm/dd/yyyy") on today's date should return 10/05/2005
> Post back your code so we can see if there is a problem

Format(Date,"mm/dd/yyyy")

...should work in VBA code.  In a query or ControlSource expression you need
to add the parenthesis.

Format(Date(),"mm/dd/yyyy")

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Klatuu - 05 Oct 2005 14:10 GMT
I forgot to mention you could also try Cstr(Date)

> Hi,
>
[quoted text clipped - 8 lines]
> > > on the export the date does not go through as I need it to. Any suggestions?
> > > Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.