Results 1 to 6 of 6
  1. #1
    klacuna's Avatar
    klacuna is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2016
    Location
    Phoenis, Az
    Posts
    3

    DateAdd issues for a Newbie

    Hello All!

    Newbie here!



    I have a very simple database and I am trying to track deadlines. I have a meeting date and I need to calculate 90 days out in the critical date field. I used the following in the critical date field:

    =DateAdd("d",90,[MeetingDate])

    However nothing is calculated on the form. I have used this before and it worked just fine. I thought my database was corrupted so I deleted it and started over. I re-typed from scratch all my records. Fortunately only 46 of them.

    I have read everything I can find and if the answer is out there, I missed it.

    What am I doing wrong?? Thanks for any and all help!

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    How about doing the calculation in a Query, and then base your Form on the Query (instead of the Table directly, if that is what you are doing now)?

  3. #3
    klacuna's Avatar
    klacuna is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2016
    Location
    Phoenis, Az
    Posts
    3
    Thanks for the quick response, unfortunately that did not work either.

  4. #4
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    How is it not working?
    What does the calculated field in your query return?
    What is the data type of the "MeetingDate" field?
    Can you post some example of what the data is in "MeetingDate" that do not work?

  5. #5
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Where did you put =DateAdd("d",90,[MeetingDate])? Is that in the Control Source box for field CriticalDate on your Form? I did quick test and it seems to work ok.

  6. #6
    klacuna's Avatar
    klacuna is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2016
    Location
    Phoenis, Az
    Posts
    3
    Thank you Bulzie!

    I was having one of probably many blonde moments today. I was putting my formula in the wrong place! Thank you!!!

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

Similar Threads

  1. DateADD Question
    By jeepjenn in forum Queries
    Replies: 18
    Last Post: 08-10-2015, 11:59 AM
  2. DateAdd Function?
    By zburns in forum Reports
    Replies: 7
    Last Post: 06-23-2015, 01:55 PM
  3. the DateAdd
    By azhar2006 in forum Queries
    Replies: 1
    Last Post: 04-20-2014, 03:18 PM
  4. DateAdd()
    By cbrsix in forum Programming
    Replies: 3
    Last Post: 11-22-2011, 02:20 PM
  5. dateadd help
    By dubsdj in forum Queries
    Replies: 3
    Last Post: 03-03-2011, 07:22 PM

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