Results 1 to 2 of 2
  1. #1
    jrock1203 is offline Novice
    Windows 10 Access 2016
    Join Date
    Nov 2015
    Location
    Cincinnati
    Posts
    26

    Angry On Timer event issue

    Morning!

    I've got a splash screen set up to close on a timer.

    It's set to close after 5 seconds and the code is as follows:

    Private Sub Form_Timer()
    DoCmd.Close acForm, “frmStartUp”
    DoCmd.OpenForm “Navigation"
    End Sub




    I get an error each time that shows the following:

    Click image for larger version. 

Name:	timer error.JPG 
Views:	10 
Size:	17.2 KB 
ID:	33826


    What have I got wrong here? Is there a better way to make the splash screen auto close after X amount of time?


    Thank you!

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Try opening the other form before closing the splash form
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Access as event timer?
    By Jennifer Murphy in forum Access
    Replies: 1
    Last Post: 01-31-2014, 08:30 PM
  2. Timed Reminder Box; Event Timer?
    By WEJ in forum Access
    Replies: 6
    Last Post: 05-26-2013, 03:12 PM
  3. Timer Event Code Stops After First Run
    By burrina in forum Forms
    Replies: 3
    Last Post: 02-19-2013, 09:46 AM
  4. Timer event vs. longrunning line: concurrency issue
    By GlistEngineering in forum Programming
    Replies: 1
    Last Post: 07-25-2012, 05:40 PM
  5. Timer Event - Why does this happen
    By Rhino373 in forum Programming
    Replies: 2
    Last Post: 05-26-2011, 07:18 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