Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104822

From BetaArchive Wiki

PRA: Text Not Replaced in All Modules with Replace All

Article ID: Q104822
Creation Date: 29-SEP-1993
Revision Date: 19-SEP-1996 The information in this article applies to:

  • Microsoft Access versions 1.0 and 1.1

SYMPTOMS


When you use the Replace All command to replace a text string in all modules of the open database, the text strings in some modules are not replaced. The text strings are replaced only in modules that were opened before you chose the Replace All command.

RESOLUTION


Open all the modules in which you want to replace text strings before choosing the Replace All command.

STATUS


Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.

MORE INFORMATION


Steps to Reproduce Problem


  1. Start Microsoft Access and create a new module.
  2. Type the following in the Declarations section:

          'REPLACETEXT
  3. Save the Module as Module1, and then close it.
  4. Create another new module. Repeat step 2.
  5. From the Edit menu, choose Replace.
  6. Type REPLACETEXT in the Find What field. Type TEST in the Replace With field. Select All Modules in the Search box, and then choose Replace All.
  7. Close the database. Save Module2 when prompted to by Microsoft Access.
  8. Reopen the database and open Module1. Note that 'REPLACETEXT was not changed to 'TEST.



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.

©1997 Microsoft Corporation. All rights reserved. Legal Notices.


Additional reference words: 1.00 1.10 UI changing
KBCategory: kbprg
KBSubcategory: PgmOthr