Re: converting 3 x number fields to create date field

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: vw (anonymous_at_discussions.microsoft.com)
Date: 08/11/04


Date: Tue, 10 Aug 2004 20:39:21 -0700

thks Ken, that worked a treat...
>-----Original Message-----
>Here's one way:
>
>Format(DateSerial([Yearfield], [Monthfield],
[Dayfield]), "mm/dd/yy")
>
>--
>
> Ken Snell
><MS ACCESS MVP>
>
>"vw" <anonymous@discussions.microsoft.com> wrote in
message
>news:3d3d01c47f50$489e1f50$a501280a@phx.gbl...
>> Is there a simple solution to converting day, month and
>> year fields presently in a number format, to one date
>> field?
>> I'm assuming I need to get each field to two integers
>> first? EG I have DD field which shows 7, MM field which
>> shows 1, YY field which shows 3 (for 03). Together
would
>> read 1/7/3, instead of 01/07/03 on conversion.
>> Sorry, not much cop with access. Do I need to use the
>> substring command to bring in missing 0's first or is
>> there an easier way?
>> Cheers
>>
>
>
>.
>



Relevant Pages

  • converting 3 x number fields to create date field
    ... Is there a simple solution to converting day, ... year fields presently in a number format, ... substring command to bring in missing 0's first or is ...
    (microsoft.public.access.queries)
  • Re: Saltzman Part ?
    ... forward and back movement were missing. ... I got the parts from the local tractor shop, and installed them before noon today, Sunday. ... Perfect fit! ... Converting to US standard in the process. ...
    (rec.photo.darkroom)
  • Re: Dime HELP
    ... and I'm not seeing it working right through itunes ... ... step (converting it to another type of file) or? ... The torrent file itself does not contain the audio / video data (or whatever ...
    (rec.music.artists.springsteen)
  • Re: Saltzman Part ?
    ... and back movement were missing. ... I got the parts from the local tractor shop, and installed them before noon today, Sunday. ... Perfect fit! ... Converting to US standard in the process. ...
    (rec.photo.darkroom)
  • ISO Section 7.6 Converting ..., known Gap?
    ... Converting a term to a clause, ... conversion for these predicates? ... predicates as well missing? ...
    (comp.lang.prolog)