Results 1 to 2 of 2
  1. #1
    Exmark1 is offline Novice
    Windows 8 Access 2007
    Join Date
    Jan 2015
    Location
    Tennessee
    Posts
    7

    Post Auto enter month,Day Current year after another feild has been updated

    I have a data entry form used to enter Lawn Treatment records. I want NSD (Next service date) feild to be updated to 3/15 current year, or 5/1 Current year etc. based on value entered into another feild called app no



    as in If app no=1 then nsd= 3/15/Current year of If app no=2 then nsd=5/1/current year
    I can use If app no=1 Then Nsd=3/15/2015 or If app no=2 Then NSD=5/1/2015, this will only work for current year, I would like for this to change each year.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Maybe:

    ="3/5/" & Year(Date())
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Get first day and month of current year
    By Ruegen in forum Programming
    Replies: 3
    Last Post: 12-01-2014, 06:45 PM
  2. Query for current month and year onward
    By tylerg11 in forum Queries
    Replies: 1
    Last Post: 12-30-2013, 12:10 PM
  3. Current Month/Year Query
    By Roadbeer in forum Queries
    Replies: 3
    Last Post: 06-17-2013, 01:20 PM
  4. Auto fill Current year
    By Bhat59 in forum Forms
    Replies: 3
    Last Post: 10-17-2011, 08:56 PM
  5. Current Month and Year-To-Date
    By DSnipeFunk in forum Access
    Replies: 4
    Last Post: 05-31-2011, 11:38 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