Results 1 to 10 of 10
  1. #1
    Pro-not is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Posts
    5

    Error Message re: data entry of date





    Hi! First post here and I hope someone can help me. Sorry if this has been put under the wrong topic.

    I have a temp entering data into the database. She cannot enter data from May 2010 because she is getting a window popup that states "date verification (error) - "date entered in older than 30 days". All data is able to be entered except this one column/field that contains the date. The data is being entered in designview and the format is mm/dd/yyyy. I know it must be something under the "properties (?)" that needs to be changed in order to fix the problem.

    Can anyone help me?

    BTW, glad I found this forum. Kudos!

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Check in the properties of that field in the table and see if there's a validation rule set up. If not, presuming the user is entering data through a form, check the textbox for a validation rule.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Pro-not is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Posts
    5
    Thank you, pbaldy. There is not a validation rule set up in the text box or the properties of that field.

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Hmm; how about code in the before update event of the textbox?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Pro-not is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Posts
    5
    I'll check and be back.

    Thanks much!

  6. #6
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Oh, and the before update event of the form too.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    slave138's Avatar
    slave138 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    WI
    Posts
    233
    I'm a little confused by this:
    Quote Originally Posted by Pro-not View Post
    ...
    The data is being entered in designview and the format is mm/dd/yyyy
    ...

  8. #8
    Pro-not is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Posts
    5

    Thank you!



    pbaldy, you fixed the problem. Thank you very much.

    Under properties, under the date field, there was nothing in the "before update", however there was something listed in the "after update". When I took that information out and left it blank, it allowed me to enter ANY date (be it 60 or 90 or 100 days old) without getting an error warning.

    You are a jewel. Thanks much!

    A pro I am not!

  9. #9
    Pro-not is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Posts
    5
    Quote Originally Posted by slave138 View Post
    I'm a little confused by this:
    Most folks do enter data via a created form. I am having the data entered via datasheet view instead of form view. You are correct, my goof. Not design view. Whew....

  10. #10
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Glad we found the issue. Generally the before update event is used for data validation, but you can kludge it with the after update event, which apparently was done here.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Warning Message for Missed Date
    By maintt in forum Access
    Replies: 2
    Last Post: 07-23-2010, 09:05 AM
  2. error message
    By ngeng4 in forum Forms
    Replies: 85
    Last Post: 03-25-2010, 06:47 AM
  3. where do i start with this error message?
    By Student4Life in forum Access
    Replies: 0
    Last Post: 01-09-2009, 04:12 PM
  4. Automatic Data Entry on a Specific Date
    By alanbrai in forum Programming
    Replies: 2
    Last Post: 11-14-2007, 05:15 PM
  5. If / Then Error Message
    By Schwagr in forum Forms
    Replies: 4
    Last Post: 03-30-2006, 06:28 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