INF: SetWarnings Action Overrides Save ArgumentArticle ID: Q137120Creation Date: 20-SEP-1995 Revision Date: 01-DEC-1996
The information in this article applies to:
SUMMARY
Moderate: Requires basic macro, coding, and interoperability skills.
When you set the WarningsOn argument of the SetWarnings action to No in a
macro, it bypasses the Save argument of a Close action and forces the
object to be saved automatically.
MORE INFORMATION
The Save argument of the Close action has three settings:
closing. If you set the WarningsOn argument of the SetWarnings action to No, the Save argument on the Close action is overridden. No prompt dialog box is displayed; the object is automatically saved.
REFERENCES For more information about the SetWarnings action, search the Help Index for "SetWarnings action," or ask the Microsoft Access 97 Office Assistant. For more information about the Close action, search the Help Index for "Close action," or ask the Microsoft Access 97 Office Assistant. |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.