PC Review


Reply
Thread Tools Rate Thread

Convert a Date to Character

 
 
Jasmine
Guest
Posts: n/a
 
      4th Nov 2007
How do I Convert a Date to Character in MsAccess ?

I'm an old Foxpro user and I know there was a command called - DTOC ( date
to character)

Could anyone tell me the equivalent in MsAccess?



 
Reply With Quote
 
 
 
 
=?Utf-8?B?QnJlckdvb3Nl?=
Guest
Posts: n/a
 
      4th Nov 2007
Use CStr(varTest)
--
BrerGoose
Moose-Tech Software:
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


 
Reply With Quote
 
Jasmine
Guest
Posts: n/a
 
      4th Nov 2007
I appreciate this very much

Thanks a million




"BrerGoose" <(E-Mail Removed)> wrote in message
news:29FBB8F7-75CE-4FE1-BED2-(E-Mail Removed)...
> Use CStr(varTest)
> --
> BrerGoose
> Moose-Tech Software:
> http://ourworld.compuserve.com/homep...e/MTS/Home.htm
>
>



 
Reply With Quote
 
John Nurick
Guest
Posts: n/a
 
      5th Nov 2007
I'd use the Format() function to ensure that the date comes out the
way I want, e.g.
Format(MyDate, "yyyy/mm/dd"



On Sun, 4 Nov 2007 12:34:22 -0500, "Jasmine"
<(E-Mail Removed)> wrote:

>How do I Convert a Date to Character in MsAccess ?
>
>I'm an old Foxpro user and I know there was a command called - DTOC ( date
>to character)
>
>Could anyone tell me the equivalent in MsAccess?
>
>

--
John Nurick - Access MVP
 
Reply With Quote
 
Jasmine
Guest
Posts: n/a
 
      5th Nov 2007
Outstanding.




"John Nurick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'd use the Format() function to ensure that the date comes out the
> way I want, e.g.
> Format(MyDate, "yyyy/mm/dd"
>
>
>
> On Sun, 4 Nov 2007 12:34:22 -0500, "Jasmine"
> <(E-Mail Removed)> wrote:
>
>>How do I Convert a Date to Character in MsAccess ?
>>
>>I'm an old Foxpro user and I know there was a command called - DTOC ( date
>>to character)
>>
>>Could anyone tell me the equivalent in MsAccess?
>>
>>

> --
> John Nurick - Access MVP



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert UTF-8 character to ISO8859-1 character moonhkt Windows XP General 5 8th Oct 2009 09:11 AM
Convert a Date to Character Jasmine Microsoft Access Forms 4 5th Nov 2007 04:15 PM
Convert a Date to Character Jasmine Microsoft Access Queries 4 5th Nov 2007 04:15 PM
Convert a Date to Character Jasmine Microsoft Access Getting Started 4 5th Nov 2007 04:15 PM
How to Convert a Chinese Character to HEX =?Utf-8?B?c2VuZ2tvaw==?= Microsoft C# .NET 1 15th Mar 2005 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 AM.