Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2K & Visual Studio

Status
Not open for further replies.
Jul 20, 2001
1,153
US
Hey all. Haven't been around for a while.

Anyway.

If you have Visual Studio and Access 2K installed on the same machine, be sure to complile your code routinely. This is especiialy important immediately after you copy code, or any form or other object that has code.

If you fail to do so, Access will give you an error message " Network connection could not be found" and your database will be rendered useless. The only fix I have found once the DB reaches this state is to enter in to all of the modules, copy the code (not the module) and paste it into a new DB. Simply copying all of the objects into a new DB does not suffice, as the error propegates.

Tyrone Lumley
augerinn@gte.net
 
This is a known bug in A2K... searh the MSKB for specifics. It has to do with copying a form and not compiling your database before you save. Are you copying forms and then saving before you compile? This has bit me a couple of times.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top