PC Review


Reply
Thread Tools Rate Thread

creating a date from numbers in a field

 
 
=?Utf-8?B?c2ltb24=?=
Guest
Posts: n/a
 
      13th Jul 2007
Hi,

i have several fields which i need to combine to create a date field.

any suggestions as to how to do this are most welcome.

many thanks,

S
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFkaGFu?=
Guest
Posts: n/a
 
      13th Jul 2007
You need atleast 3 (Day, Month and Year) fields to create a date. Do you have
them ? If so, concatenate them into a string 'dateString' and call the method
Date( dateString ).

"simon" wrote:

> Hi,
>
> i have several fields which i need to combine to create a date field.
>
> any suggestions as to how to do this are most welcome.
>
> many thanks,
>
> S

 
Reply With Quote
 
Wolfgang Kais
Guest
Posts: n/a
 
      13th Jul 2007
Hi simon.

"simon" wrote:
> i have several fields which i need to combine to create a date field.
> any suggestions as to how to do this are most welcome.


Try to use the DateSerial function. It creates a date from three separate
values: year, month an day.

--
Regards,
Wolfgang


 
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
Re: Creating a Month field from a date field Bill Mosca, MS Access MVP Microsoft Access 0 12th Dec 2006 04:27 PM
Re: Creating a Month field from a date field fredg Microsoft Access 0 12th Dec 2006 04:22 PM
Creating simple batch numbers from selected date.... Blippy Microsoft VB .NET 2 22nd Aug 2005 10:37 AM
Creating a custom date field =?Utf-8?B?VmlrYXMgQXJ5YQ==?= Microsoft Access VBA Modules 2 29th Jul 2005 06:00 PM
Creating date field =?Utf-8?B?S2VpdGggTWVpZXIsIE1DU0E=?= Microsoft Access Forms 5 15th Jun 2005 04:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:38 PM.