Results 1 to 2 of 2
  1. #1
    SJJ is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    1

    Auto Fill a date in a field


    Hello:

    I am new to using ACCESS and would really appreciate some help. I have a database that has several tables which generate forms for my office to print for client files. I have these forms set to print based on a query that will only pull the ones that have a form printed field not selected, if that makes sense. What I would like to add is a field right next to the form printed field that allows us to enter the date the form was printed. I have added this field but now would like to take it a step further and have the date automatically fill once the form printed field is checked. I hope this makes sense. Thanks in advance for your help.

    SJJ

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Place VBA code in the afterupdate event for your form printed field.

    If me.[form printed field].value = -1 then
    me.NameOfDateField.Value = Date
    end if

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

Similar Threads

  1. Auto-fill one field from another table
    By tasoper in forum Access
    Replies: 3
    Last Post: 06-13-2014, 07:17 AM
  2. Replies: 3
    Last Post: 12-24-2013, 04:20 PM
  3. Lock field after auto date fill
    By DCV0204 in forum Forms
    Replies: 4
    Last Post: 11-25-2013, 08:53 AM
  4. Replies: 10
    Last Post: 11-21-2011, 02:56 AM
  5. Auto fill a due date column in a query
    By Dexter in forum Queries
    Replies: 7
    Last Post: 02-23-2011, 07:00 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