1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Trouble updating datetime field

Discussion in 'Business Applications' started by davidkasijo, Feb 10, 2009.

Thread Status:
Not open for further replies.
  1. davidkasijo

    davidkasijo Thread Starter

    Feb 10, 2009

    I need to update all NULL records in a DateofBirth field to 01/01/1950. However, the format needs to be e.g. 05/02/1974 00:00:00. How would I go about accomplishing this?

    Many thanks

  2. OBP


    Mar 8, 2005
    You do know that a Date & time field like that makes Date Calculations harder in your queries, Forms and Reports?
    The Update query does not Like the 00:00:00 part of your Date and neither does the Table, even with the Format set to General Date. However if you use 00:00:01 it will be OK, see the attached database.
    I hope the 1 second won't make that much difference.

    Attached Files:

    • DOB.zip
      File size:
      11.8 KB
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/799335

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice