Access 2003 runtime mode-can't turn off warning messages for macro

MS Office Access


  • 1. Function results displayed in queries
    Hi, I've written a function that calculates a quantity of a product sold in a dynamically entered number of days. It works fine, but for some reason it seems to calculate all the lines twice, starting at the first record and calculating all the way down the screen, then going back to the top, and doing it all again. Does anyone know why, or how to stop it doing the job twice ? thanks Jon
  • 2. setup configuration process always runs on startup
    When I start Access 2007, the "configuring MIcrosoft Access 2007" windows always pops up. Is there a fix for this? Thanks.
  • 3. Group Footer and Page Footer
    I am new at Access. For a report, on pages that there is a group footer I do not need a page footer. How do I suppress the page footer when there is a group footer?
  • 4. Entering Records
    This question was posed to me, Is there a way we can tell when a record was entered? Thanks -- thomp
  • 5. Carrying a value between 2 tables
    I have two tables. Equipment has ID, Machine, Hourly rate. Jobs has ID, Start Time, End Time, Machine, Hourly Rate, Total Job. I have set up a lookup on Jobs so that I can select the type of machine from the Equipment table. That works well. But for love nor money can I work out how to bring across the appropriate Hourly Rate from Equipment so that I can calculate the End Time - Start Time * Hourly Rate on the Jobs table. If I set up another lookup I end up selecting from a list again and all I want is the hourly rate of the machine I have already selected.

Access 2003 runtime mode-can't turn off warning messages for macro

Postby Qml0c3k » Mon, 07 Feb 2005 02:53:05 GMT

In Access 2003 I turn off all the warning messages in the Edit/Find tab under 
Tools + Options for my data base.  I then package it with the Access 2003 
Developer Extensions Tools Wizard into a  .dme runtime package.  When I run 
it on another computer other than mine, a computer with Access on it or one 
without Access on it, I get all the warning messages for macros and queries, 
as if I never turned off the Warning messages in the Edit/Find tab.  Any 

Re: Access 2003 runtime mode-can't turn off warning messages for macro

Postby Rick Brandt » Mon, 07 Feb 2005 03:06:17 GMT

Yeah, those options are for "your installation of Access" Only a few of the 
options in Tools - Options are "for this particular file" and they are labeled 
as such.

If you're far enough along in Access development to be packaging solutions with 
the Developer's Extensions you should not be using macros (especially in the 
Runtime). Action queries can avoid the prompts by using either...

DoCmd.SetWarnings False
DoCmd.OpenQuery    (or DoCmd.RunSQL)
DoCmd.SetWarnings True

or (even better)

CurrentDB.Execute "QueryName", dbFailOnError

The latter does not produce the prompts in the first place.

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com 

Re: Access 2003 runtime mode-can't turn off warning messages for macro

Postby Albert D. Kallal » Mon, 07 Feb 2005 05:08:52 GMT

Simply add the following keys to your runtime packing (the package wizard 
does have provision for adding regs keys).

ROOT:Local Machine
Key: SOFTWARE\Microsoft\Jet\4.0\Engines

ROOT:Local Machine
Key: Software\Microsoft\Office\11.0\Access\Security

If you add both tof the above, then you get no security prompts at 
all...even if the later jet sp8 is NOT installed. It is clean...and no 

Albert D. Kallal   (Access MVP)
Edmonton, Alberta Canada

Similar Threads:

1.Turning off warning messages in Access Runtime

Insert into your macro as the first step:
    Action: SetWarnings
        Expression:  No

Then insert after the queries are run:
        Action: SetWarnings
        Expression:  Yes

       Ken Snell

"Doug Hart" < XXXX@XXXXX.COM > wrote in message
news:02bb01c34578$e6cafa80$ XXXX@XXXXX.COM ...
> I have an application that uses Access Runtime.  How do I
> turn off the warning messages when queries are executed?
> The screen comes up and offers a "Help" button, but then
> displays nothing when I click on it.  I cannot find any
> settings file that is packaged with the application to
> make the change.  The macro needs to run without any user
> interaction as part of an unattended overnight process.
> Any help would be greatly appreciated!

2.Turn off warnings in Access 2003 runtime

    The MSDN people have refused to send me the Windows Component Update for
Office XP Developer, or let me download it. So I've moved onto Office 2003
and left the database in Access 2000 format. However, I get the warning
everytime "file may not be safe", then the user must click Open or Cancel.
If they had the full version of Access, I could select Tools/Macro/Security
and set it to low. How can I get around this on machines with only the
runtime version?
    Also, some PCs get the warning about unsafe expresssions, even after
I've installed Jet 8. Any ideas on this?

3.Access 2003, turn off macro warnings - help please

4.Office 2003 - Turn off macro disabled message

I know there is an option in Office 2007, however is there an Option
in Office 2003 not to show the message that macros have been
disabled?  I have thousands of documents I'm trying to print to PDF
and as part of it the documents are launched to print.  I do not want
it to use macros when printing (even though there are some in the
documents), and do not want it asking me.  I set it to high and very
high security and both of those physically tell me the macros have
been disabled and want me to hit OK.  Office 2007 has a disable and
don't inform me option, but do not see this option in 2003.  Any
assistance?  Would hate to have to sit there and click OK several
ten's of thousands of time.



5.warning message Access 2000 cant turn off

I am running a docmd "openhyperlink" and when the 
hyperlink is about to be loaded a message appears 

"Some files can contain viruses or otherwise harmful to 
your computer, it is important to be certain that the file 
is from a trustworthy source" Would you like to open the 

I have spent hours trying to turn this message off, does 
anyone know how to disable this message. I have 
tried "Setwarnings" with no luck.

6. Turn off data access web component warning messages

7. How do I turn off prompts for security warnings in Access 2003

8. How turn off security warning in Access 2003

Return to MS Office Access


Who is online

Users browsing this forum: No registered users and 92 guest