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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ms Access - can't delete module

Status
Not open for further replies.

dkaplan

Programmer
Jan 29, 2001
98
US
I somehow accidentally creaded a module named Module2.

When I try to select and delete the module, I see the usual "Do you want to delete" but when I say yes, the module does not go away.

If I try to open the module, I'm told that it does not exist.

Iv'e tried compact and repair, no luck.

I know I can create a blank database and import the objects from the current db, but I'd like to avoid this as there is quite a bit of code in the forms and, in the past, I've had problems with the code comign over.



 
If you had problems bringing the code with your forms while importing then you probably had some corruption in the form. In that case use the undoculented SaveToText from the 1st db and LoadFromText on the 2nd. You obviously currently have some corruption going on.

(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - winXP Pro, Win7 Pro
Please respond to this forum so all may benefit
 
Thanks, RG.

Turns out that in this case I WAS able to bring the form over via Import.

 
Excellent! I take it this issue is resolved.

(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - winXP Pro, Win7 Pro
Please respond to this forum so all may benefit
 
Yes, it is.

And thanks for taking a look at it, RG.
 
You're very welcome.

(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - winXP Pro, Win7 Pro
Please respond to this forum so all may benefit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top