Results 1 to 5 of 5
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pop up form (2000)

    I have a database that when somone opens it, I would like a popup form to open for a set amount of time. I want to use it as a way to inform people using the database of any changes to the database. I have a switchboard that opens when the database is opened but before the switchboard , I would like this Pop up form to open.

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Pop up form (2000)

    This is called a "splash screen", and you can probably find an example of it in Northwinds. In any event, create the form like you want it, and set the form's TimerInterval property to something like 5000 (this is 5000 milliseconds, or 5 seconds). In the OnTimer event, close the form. You could even set the interval higher in case alot of reading is required, but then also provide a "Click to Continue" button so the user can blow past it.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pop up form (2000)

    Most users use whats called a SplashScreen.

    The purpose, to inform users of changes, updates, and basically checking other requirements of the database.
    You can use this form to create Folders in directories and any amount tasks you want to happen before the Switch board Is opened.

    Try the following, Lets say your popup is called "Splash"

    Create a macro,call it "autoexec"
    First Action "Minimise"
    Second Action "OpenForm", Splash. (or your popup name)
    Save the macro.


    Check Tools|Startup, make sure you have no other form loading "Display Form/Page"

    In you popup Timer Event Put the following, you'll have to change any form names etc to your own. :-

    Dim stDocName As String
    stDocName = "Switchboard"
    DoCmd.Close acForm, me.Name
    DoCmd.OpenForm stDocName

    Set the Timer Property to the amount of time you require.

    1000 = 1 second
    10000= 1 minute

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Pop up form (2000)

    Sound advice, with two minor revisions:

    >> Set the Timer Property to the amount of time you require.

    >> 1000 = 1 second
    >> 10000= 1 minute

    The property is named Timer Interval. It is measured in milliseconds, so one minute = 60 * 1000 = 60000 milliseconds.

  5. #5
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pop up form (2000)

    Sorry, I was rushing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •