ACC: Preventing Use of CTRL+BREAK to Interrupt Access Basic (145577)



The information in this article applies to:

  • Microsoft Access 1.0
  • Microsoft Access 1.1
  • Microsoft Access 2.0

This article was previously published under Q145577
Moderate: Requires basic macro, coding, and interoperability skills.

SUMMARY

To prevent users from interrupting the Access Basic code or a macro that is running by pressing CTRL+BREAK, you can revoke the users' or group's Read Design permissions on the Security menu. Once you revoke the Read Design permissions of the appropriate users and groups, the users cannot interrupt the execution of the macro or module in which the code exists by pressing CTRL+BREAK.

NOTE: This technique will not prevent users from interrupting query execution by pressing CTRL+BREAK.

NOTE: In Microsoft Access version 1.x, Read Design permissions are called Read Definitions.

REFERENCES

For more information about assigning permissions, search for "Permissions: assigning," and then "Assigning and Removing Permissions" using the Microsoft Access Help menu.

Modification Type:MinorLast Reviewed:1/26/2005
Keywords:kbhowto kbProgramming KB145577