Results 1 to 5 of 5
  1. #1
    pjstrat00 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2014
    Posts
    5

    Creating Multiple Time Stamps

    Hello,

    I'm trying to have a field update with a timestamp once a form has been submitted. The fields on the table are-



    ManagerApproval - this contains a dropdown box with 3 options. 1. Approved 2. Denied 3. Pending - This is a text box
    ManagerReviewed - this is the timestamp field that I want to populate with a date/time stamp once the form containing the dropdown boxes approved, denied, pending are submitted.

    I have tried creating an after update event with the following code-However, the field "ManagerReviewed" is not appearing in VBA, thus no timestamp is being created.

    Me.ManagerReviewed = Now()

    However, the field ManagerApproval does appear and it replaces the text 1.Approved 2. Denied. 3. Pending with a timestamp

    Help is much appreciated! I've been using access for about a month...yikes

    -PJ

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,642
    These two fields actually exist in the table? They are both included in the form RecordSource?

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  3. #3
    pjstrat00 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2014
    Posts
    5
    They do both exist in the table. One to state whether the request was approved/denied and one to record when the approval/denial occurred.

    The RecordSource only has the table name listed.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,642
    That is odd.

    The ManagerApproval combobox works?

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  5. #5
    pjstrat00 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2014
    Posts
    5
    Yep, the ManagerApproval combo box works and it will update the current record when approved or denied. (working on removing confidential data for db analysis)

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

Similar Threads

  1. Replies: 1
    Last Post: 06-09-2014, 02:04 PM
  2. First time creating a simple db
    By yellowdragon in forum Database Design
    Replies: 16
    Last Post: 07-24-2012, 10:32 AM
  3. Replies: 7
    Last Post: 08-04-2011, 07:49 PM
  4. Replies: 1
    Last Post: 11-05-2010, 03:48 PM
  5. Creating a Time Tracker
    By share knowledge in forum Reports
    Replies: 0
    Last Post: 03-01-2010, 01: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