Results 1 to 4 of 4
  1. #1
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Review Date on A Form Warning

    Hi Guys

    I have a form with lots of client data, which the administrator uses for new clients, I have an allocated date, which automatically sets a review date one month in advance by using the DateAdd function, I have a Yes/No button that the administrator will click when review is complete, what i would like is some kind of warning for the administrator so that if the review date is not completed within two weeks of the actual date she will get some kind of warning to chase up the review

    any ideas



    Maintt

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    well if the warning has to be triggered 2 weeks from the review date then use this code:

    Dim dtWarningPeriod as Date
    dtWarningPeriod=DateAdd("w",2,Date())

    if dtWarningPeriod>Date() then
    msgbox "Please Review the case
    End if

  3. #3
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Review Date

    Hey Maximus

    Many thanks for the age range solution, it worked ok, I will try the code for the date warning

    Once again thanks for your help

    Maintt

  4. #4
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    mark the date range proble thread solved please...

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

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2010, 04:22 PM
  2. set date field on form to date variable
    By laavista in forum Access
    Replies: 3
    Last Post: 06-28-2010, 03:03 AM
  3. Access warning message
    By John Southern in forum Access
    Replies: 2
    Last Post: 05-28-2010, 06:01 AM
  4. How to create warning notice
    By bluepowa in forum Programming
    Replies: 3
    Last Post: 09-29-2009, 03:15 AM
  5. Security Warning
    By mojo53777 in forum Security
    Replies: 0
    Last Post: 11-16-2007, 06:23 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