Results 1 to 9 of 9
  1. #1
    ecalvert47462 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    17

    message pop up for users when database opens

    All,

    I am currently working with Access 2007...and have end users that open the database to do their daily entries...upon opening a security warning pops up so the user can then click on Options, then Enable This Content and then ok....

    What I'm wanting to do is have a window pop up when the user opens up the database to "remind" them to enable content....

    Does anyone know how to do that?



    I work where the trust center option can not be used for security reasons.

    I say to teach the end user to make a business practice but my manager wants to simplify it for everyone...lol

    Thanks,
    Eric

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Code won't run because the db is not trusted and Macro Settings is set to Disable all?
    You want something more than the automatic 'content has been blocked' message bar?

    Try setting a form as default open in the project settings. This form can have a big textbox with big bold text "ENABLE CONTENT NOW"
    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
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Since code might not be enabled, I'm not sure you can count on a message box appearing. I'm visualizing a startup form that advises the user to enable code. In that form's timer event, you can have code to close that form and open your actual starting form. If/when code is enabled, that form should disappear by itself.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    JeroenMioch's Avatar
    JeroenMioch is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    May 2012
    Location
    Den Haag, Netherlands
    Posts
    368
    The warning your getting, is that an "Unknown publisher" warning ?

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    What you're getting is a warning because of your macro/scripting security settings. In order to get rid of that warning every time you open the database there are a few things you can do.

    1. The most dangerous is to go to: Click Windows Icon in upper right corner>ACCESS OPTIONS (lower right corner)>TRUST CENTER>TRUST CENTER SETTINGS>MACRO SETTINGS>ENABLE ALL MACROS. If your environment is not secure (your users are educated about not opening things automatically and deleting any email with an attachment from a source they don't trust etc) this is not the greatest solution.
    2. A more limited option is to do this: Click Windows Icon in upper right corner>ACCESS OPTIONS (lower right corner)>TRUST CENTER>TRUST CENTER SETTINGS>TRUSTED LOCATIONS click ADD A NEW LOCATION and put in the path where the database resides. As long as nobody copies anything malicious in there you should be good.

    There are other ways as well (you can set the trust settings on individual databases too) but these are the most basic ways.

  6. #6
    ecalvert47462 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    17
    So would this form, that would be a default open, would that be different than the form that I have set up in current database options to appear when it's open? In other words, when the end user opens the database up the main form appears.

  7. #7
    ecalvert47462 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    17
    pbaldy...that sounds exactly like what i would want to do..I found the timer settings but haven't quite figured out how to get that to pop up and then disappear on it's own to then go to my startup form.

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    This is untested, but if it's set as the start form and has the right code in the timer event, I think it will work. The code in the timer event would just open the actual start form and close this one. If code hasn't been enabled, this form would stay open because the code wouldn't run. If code is enabled, it should run the code and close itself. I have to run out right now but if you get stuck I'll test it. Don't forget to set a timer interval too (something short would probably be fine).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    Vetgeorge is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Florida
    Posts
    29
    Quote Originally Posted by ecalvert47462 View Post
    pbaldy...that sounds exactly like what i would want to do..I found the timer settings but haven't quite figured out how to get that to pop up and then disappear on it's own to then go to my startup form.
    I've done something exactly as you describe, I made a form reminding people about security settings, with an "OK" button (control button). Have the reminder form open when the database is first opened. When they click "OK", it closes.
    For the button control, you specify either to close the current form or have your main form open.

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

Similar Threads

  1. new database with multiple users
    By Inter-Tech Communications in forum Database Design
    Replies: 1
    Last Post: 04-19-2012, 04:43 PM
  2. Auto Sort ID Field When DataBase Opens
    By lyndon.pace in forum Reports
    Replies: 1
    Last Post: 04-08-2011, 10:06 AM
  3. Replies: 1
    Last Post: 01-12-2011, 10:11 AM
  4. Replies: 10
    Last Post: 11-12-2010, 05:17 PM
  5. Logfile of what users do in database
    By philipd in forum Security
    Replies: 6
    Last Post: 11-17-2009, 04:10 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