ACC2002: How to Create a Registry Key to Set Number of Times to Undo Operations or Commands (282326)



The information in this article applies to:

  • Microsoft Access 2002

This article was previously published under Q282326
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SUMMARY

You can set the number of times Access is able to undo the previous operation or command for any value between 1 and 20 by editing the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Access\Settings

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To set the number of times Access is able to undo previous operations or commands, follow these steps:
  1. On the taskbar, click Start, and then click Run.
  2. In the Run dialog box, type regedit, and then click OK.
  3. In the Registry Editor, navigate to the following key:

    HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Access\Settings

  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type Number of Undos and then press ENTER.
  6. On the Edit menu, click Modify.
  7. In the Edit DWORD Value dialog box, in the Value data box, type the number of times that you want to allow Access to undo previous commands. You can enter this value in either hexadecimal or decimal values, depending on which base you select. Click OK to confirm your changes.
  8. Quit the Registry Editor.
  9. If Microsoft Access is running, quit Access, and then restart Access for the changes to take effect.

Modification Type:MajorLast Reviewed:11/6/2003
Keywords:kbhowto KB282326