ACC97: Some Access Commands Don't Prompt to Check Out VSS Module

Last reviewed: June 4, 1997
Article ID: Q163704
The information in this article applies to:
  • Microsoft Access 97
  • Microsoft Visual SourceSafe, 32-bit, for Windows, versions 4.0, 4.0a, 5.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you open a module from the Debug window, from the Object Browser, or with the Find or Replace commands on the Edit menu, Microsoft Access does not prompt you to check out the module, and you cannot save your changes.

This article assumes that you are familiar with using the client-side capabilities of Visual SourceSafe. For more information about Visual SourceSafe, please refer to the "Visual SourceSafe User's Guide" or the Help topics available from the Visual SourceSafe Help menu.

RESOLUTION

Check out any object in your database before you make changes to it.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new database and add it to Microsoft Visual SourceSafe.

  2. Create a module and type the following procedure:

          Function NoCheckOut()
    
             Msgbox "Hello"
          End Function
    
    

  3. Save the module as VSSTest and add it to SourceSafe.

  4. Press CTRL+G to open the Debug window.

  5. In the Debug window, type NoCheckOut, and then press SHIFT+F2. The VSSTest module opens in Design view, but Microsoft Access does not prompt you to check it out.

  6. Type the following comment in the module:

          ' This is a test.
    

  7. Note that the Save icon on the toolbar and the Save command on the File menu are both dimmed. Close the module and note that you are not prompted to save it.

  8. Open VSSTest in Design view. Whether you check it out or not when prompted, your changes are not there.

The same behavior is exhibited if you open a module from the Object Browser, or if you use the Find or Replace commands on the Edit menu.

REFERENCES

For more information about the Object Browser, search the Help Index for "Object Browser."


Additional query words: ACCSCC VSS SCC source safe
Keywords : kbinterop ssacc ssint
Version : 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb


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.

Last reviewed: June 4, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.