This is a discussion on "help with formatting Access2000 date field" within the Databases section. This forum, and the thread "help with formatting Access2000 date field are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
help with formatting Access2000 date field
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
help with formatting Access2000 date field
Hello
I am new to Access2000 and have a query. The date field is in yyyymmdd format which is fine. But I want to convert the date field to text field and keep the same format. Example 19470520 is in date field and I want it to be exactly the same after conversion.At the moment, when i try to convert the field changes back to 20/05/1947. Please can someone help me, it is quite urgent. many thanks in advance Rav |
|
|
|
|||
|
Re: help with formatting Access2000 date field
Im not sure why you want to do that but here is the answer.
You need to go into design view in the table. Click in the Date Field Name cell click in the DATA TYPE cell and click on the black arrow Select TEXT from the drop down list Look in the Properies section, botom of screen If there is an INPUT MASK remove it. If you then get a box asking if you want to make changes to all data say yes or ok. |
|
|||
|
Re: help with formatting Access2000 date field
are you having problems with accessing the dates using asp quieries? if so you know you should use the # symbol.
like you would use the "' for text and plain " for numbers. |
![]() |
| Tags |
| help, formatting, access2000, date, field |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Formatting Date | Jack Franklin | PHP Forum | 6 | Jan 17th, 2008 00:56 |
| Need javascript to set input field value field | jdadwilson | JavaScript Forum | 3 | May 9th, 2007 04:47 |
| Access date field - update as record is updated | matrixbrawl | Databases | 0 | Jan 10th, 2007 09:58 |
| Changing date format in date picker | AdRock | JavaScript Forum | 1 | Aug 1st, 2006 17:16 |
| validate text field to db field | jtesolin | Classic ASP | 1 | Jul 18th, 2006 17:48 |