Results 1 to 5 of 5
  1. #1
    McFly is offline Novice
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Posts
    2

    Current Date Error

    Top of the Mornin Chaps!

    I want to have the current date in my table, so in the default value box i enter "=Date()" and select "Date/Time" for the data type. However, when i go to save this table i keep getting this error message, I have started the table from scratch an still get the same results, the error message is a screenshot in this link



    EDIT : Just letting you know, i would of uploaded it to an image hosting site but the school i am at blocks them all, so the zip file is just an image

  2. #2
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows XP Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    How many Columns/Fields do you have?

  3. #3
    McFly is offline Novice
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Posts
    2
    there ya go

  4. #4
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows XP Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    I am unsure as this does not match the error message you posted.

    So instead of "=Date()"

    try

    Date()

    I am guessing a little here.

  5. #5
    NassauBob's Avatar
    NassauBob is offline Not THAT Green
    Windows XP Access 2003
    Join Date
    Feb 2010
    Location
    Augusta, GA
    Posts
    61
    Question: do you add records to this table via datasheet view, or via a form? Because if you have a form which updates the table, this will be easy.

    If you go into Design view for the table, select the attribute in mind, and set its default value to Date(), as Rainlover suggested, you will be good to go. Note, however, that any existing records will not have a value for this field.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filet Records by Current Year
    By jbarrum in forum Access
    Replies: 6
    Last Post: 11-19-2009, 11:34 AM
  2. Date error on my forms
    By elbob62 in forum Access
    Replies: 1
    Last Post: 12-05-2008, 05:35 PM
  3. Changing a date to the current year
    By fdnyfish in forum Access
    Replies: 1
    Last Post: 03-01-2008, 08:34 AM
  4. Replies: 3
    Last Post: 02-13-2008, 09:55 AM
  5. Mailmerge Current Record...
    By oakleyp2 in forum Programming
    Replies: 0
    Last Post: 02-22-2006, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums - Senior Forums