 | 
28-Jul-2006, 08:29 AM
|  | Guest | | | | | | | | | | Convert Number Field to Date in Table Another Department created an Access Database. Rather than using a Date Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12449-convert-number-field-to-date-table.html
field in their table to hold date information for records, they set the data
type of the field to number. They have over a 1000 records in the table Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
already and now want to run queries against the data based on dates--which
are stored as numbers. Is there an easy way to convert this number field to
a date field without losing data. I tried just changing the data type on a
copy of the table, but then the date information gets fouled up. Any help is
appreciated. * Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh! | 
28-Jul-2006, 08:29 AM
|  | Guest | | | | | | | | | | Re: Convert Number Field to Date in Table Janna,
This will probably be possible, but can't advise specifically without
knowing the numbering system being used. Can you give some example of
the numbers that are in the table, and the dates they represent?
--
Steve Schapel, Microsoft Access MVP
Janna wrote:
> Another Department created an Access Database. Rather than using a Date
> field in their table to hold date information for records, they set the data Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
> type of the field to number. They have over a 1000 records in the table
> already and now want to run queries against the data based on dates--which Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
> are stored as numbers. Is there an easy way to convert this number field to
> a date field without losing data. I tried just changing the data type on a
> copy of the table, but then the date information gets fouled up. Any help is
> appreciated. | 
28-Jul-2006, 08:29 AM
|  | Guest | | | | | | | | | | RE: Convert Number Field to Date in Table What do you mean by number?
Store
1/1/2006
As
112006
Or, something else?
--
Good Luck
BS"D
"Janna" wrote:
> Another Department created an Access Database. Rather than using a Date
> field in their table to hold date information for records, they set the data
> type of the field to number. They have over a 1000 records in the table
> already and now want to run queries against the data based on dates--which Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449 Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
> are stored as numbers. Is there an easy way to convert this number field to
> a date field without losing data. I tried just changing the data type on a
> copy of the table, but then the date information gets fouled up. Any help is
> appreciated. | 
28-Jul-2006, 08:29 AM
|  | Guest | | | | | | | | | | Re: Convert Number Field to Date in Table Example: June 26, 2006 is currently being stored in a number data type field
as 62606
"Steve Schapel" wrote:
> Janna,
>
> This will probably be possible, but can't advise specifically without
> knowing the numbering system being used. Can you give some example of
> the numbers that are in the table, and the dates they represent?
>
> --
> Steve Schapel, Microsoft Access MVP Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
>
> Janna wrote:
> > Another Department created an Access Database. Rather than using a Date
> > field in their table to hold date information for records, they set the data Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12449
> > type of the field to number. They have over a 1000 records in the table
> > already and now want to run queries against the data based on dates--which
> > are stored as numbers. Is there an easy way to convert this number field to
> > a date field without losing data. I tried just changing the data type on a
> > copy of the table, but then the date information gets fouled up. Any help is
> > appreciated.
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Active Discussions | | | | | | | | | | | | | | | | | | | Amrit Yesterday 23:38 PM 4 Replies, 345 Views | | | | | | | | | | | » Books You Should Read... | | | |