Change format from text to date in Access table |
![]() ![]() |
Change format from text to date in Access table |
Jan 30 2007, 10:33 AM
Post
#1
|
|
|
New Member ![]() Posts: 9 OS: XP |
Thanks for the help! This post has been edited by non_haiku: Jan 30 2007, 10:33 AM |
|
|
Jan 30 2007, 11:46 AM
Post
#2
|
|
|
Retired Staff Posts: 2,459 From: USA OS: Windows XP |
What version of Access?
How are the dates (or months) entered now? |
|
|
Jan 30 2007, 12:18 PM
Post
#3
|
|
|
New Member ![]() Posts: 9 OS: XP |
I have the most recent version of Access (i.e. before Office 2007)
Right now, the fields for Start Flower and End Flower are in text format. Anyone who enters the info simply selects the month from a drop-down list. For example, if the species starts flowering in March, then the word "March" is selected from the drop down list. This post has been edited by non_haiku: Jan 30 2007, 12:18 PM |
|
|
Jan 30 2007, 01:56 PM
Post
#4
|
|
|
Retired Staff Posts: 2,459 From: USA OS: Windows XP |
There are a couple of options:
1. Leave the original month field alone, and create a query with an expression (iif([start]="Jan",01,iif([start]="Feb",02, and so on). Then use the query as the basis for all reports, etc. 2. Do an Update Query to replace the words with numbers. After you've replaced everything, change the field type to number. If you change the field type to number while there's non-numeric data in the field, you'll lose that data. The trick with the Update Query is you have to do one month at a time. Here's a screen shot. I just saw that I queried "Mar" and replaced it with "01" If you need additional assistance, please post back. Good luck! |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
1 / 203 | 5th March 2006 - 05:56 PM LawrenceFamily99 started - last by SRX660 |
|||||
![]() |
0 / 158 | 19th August 2008 - 12:49 AM suprra started - last by suprra |
|||||
![]() |
2 / 318 | 23rd August 2008 - 03:22 PM termin8or2 started - last by termin8or2 |
|||||
![]() |
4 / 230 | 9th September 2008 - 10:43 AM Kalian started - last by coachwife6 |
|||||
|
Time is now: 5th December 2008 - 04:52 AM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |