Results 1 to 4 of 4
  1. #1
    Mik2045 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    30

    Form with time field that ticks until saved


    Is it possible to add a time field to a form and until you save the record it stops? I'd also like that time to be locked in so it can't be changed.

  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,626
    AFAIK, this requires VBA code and Timer event. Why do you need this?
    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
    Mik2045 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    30
    My boss is requesting it for our database. I wish I didn't have to do this...I don't even get paid enough to be doing work like this. I know you have solved quite a few of my problems already with this database and hope you can fix this one too.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I've never coded any timer event. It's my understanding that timer hogs processing power.

    Check out the form OnTimer event and its associated TimerInterval property. http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx
    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. Replies: 2
    Last Post: 10-31-2012, 07:52 PM
  2. counting ticks in reports
    By rumplstilskin in forum Reports
    Replies: 2
    Last Post: 05-03-2012, 10:23 AM
  3. Data disappears on form once saved
    By becks in forum Forms
    Replies: 1
    Last Post: 11-27-2011, 09:04 AM
  4. Losing Records Saved From Form
    By ProgZ in forum Forms
    Replies: 2
    Last Post: 04-17-2011, 11:32 PM
  5. Replies: 9
    Last Post: 02-19-2010, 12:07 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