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!

Form losing Class module after importing new form

Status
Not open for further replies.

JoanneM

Programmer
Joined
Apr 8, 2002
Messages
361
Location
GB
Hi guys a poser


I am using Access 2k on Win 2k

I have a simple form which stores data about project records - not hard so far..

this form associates a file thru API dialogs and stores the data in a blob in another database

no difficulty yet...

I then import another form into the database which has a
NEW collection defined which will populate a multi category option form

which in turn will populate a junction table on closing

My question is this why when I import the form does access lose the class module to my first form and give me the error msg

regards

jo

Error accessing file network connection may have been lost

Except it has been developed on a stand alone machine.
When you eventually get to the design of the form and go into one of the events there are just the lines where the subroutines were separated and no code - and blow me! it takes you to the new forms code

Any gems from you guys would be appreciated - I am backing up half hourly & desparate as this has cost me 2 days in rebuilds and retests


 
Erm - that's probably a corruption issue. Check out Corrupt Microsoft Access MDBs FAQ and the link to "Some Corruption Symptoms" within. See also MakeItSo's faq705-4683.

The /decompile option often works on my setups.

Look also at the methods referenced here thread705-834817, and see if they can be of assistance (the original poster there seems to have been able to reduse the work a little, at least using these methods).

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top