473,756 Members | 2,383 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot delete forms and modules

Using Access 2002.
I have imported one form and two modules from another database, in order to
compare code.
Having finished the comparison, I cannot delete them.

When I press 'Delete', I get a message asking for confirmation 'Do you want
to permanently delete etc', I respond 'Yes' but the object remains. No error
message is generated.

If I try to open the object in design view, I get a message:
'The form 'formname' is misspelt or refers to a form that doesn't
exist.....'.

I presume the objects have become corrupted??

I have previously imported and deleted objects like this with no problems at
all.
Has anyone else experienced this problem?
And if so, is there a solution other than importing all objects into a new
db?
--
Bob Darlington
Brisbane
Nov 13 '05 #1
3 12021
Decompile a copy of the database by entering something like this at the
command prompt while Access is not running. It is all one line, and include
the quotes:
"c:\Program Files\Microsoft office\office\m saccess.exe" /decompile
"c:\MyPath\MyDa tabase.mdb"

If that still doesn't work you could import everything into a new database,
as described in the first symptom in this article:
Recovering from Corruption
at:
http://members.iinet.net.au/~allenbrowne/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.

"Bob Darlington" <bo*@dpcmanAX.c om.au> wrote in message
news:41******** **************@ news.optusnet.c om.au...
Using Access 2002.
I have imported one form and two modules from another database, in order
to compare code.
Having finished the comparison, I cannot delete them.

When I press 'Delete', I get a message asking for confirmation 'Do you
want to permanently delete etc', I respond 'Yes' but the object remains.
No error message is generated.

If I try to open the object in design view, I get a message:
'The form 'formname' is misspelt or refers to a form that doesn't
exist.....'.

I presume the objects have become corrupted??

I have previously imported and deleted objects like this with no problems
at all.
Has anyone else experienced this problem?
And if so, is there a solution other than importing all objects into a new
db?
--
Bob Darlington
Brisbane

Nov 13 '05 #2
Thanks Allen.
I tried decompile with no luck.

--
Bob Darlington
Brisbane
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:41******** *************** @per-qv1-newsreader-01.iinet.net.au ...
Decompile a copy of the database by entering something like this at the
command prompt while Access is not running. It is all one line, and
include the quotes:
"c:\Program Files\Microsoft office\office\m saccess.exe" /decompile
"c:\MyPath\MyDa tabase.mdb"

If that still doesn't work you could import everything into a new
database, as described in the first symptom in this article:
Recovering from Corruption
at:
http://members.iinet.net.au/~allenbrowne/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.

"Bob Darlington" <bo*@dpcmanAX.c om.au> wrote in message
news:41******** **************@ news.optusnet.c om.au...
Using Access 2002.
I have imported one form and two modules from another database, in order
to compare code.
Having finished the comparison, I cannot delete them.

When I press 'Delete', I get a message asking for confirmation 'Do you
want to permanently delete etc', I respond 'Yes' but the object remains.
No error message is generated.

If I try to open the object in design view, I get a message:
'The form 'formname' is misspelt or refers to a form that doesn't
exist.....'.

I presume the objects have become corrupted??

I have previously imported and deleted objects like this with no problems
at all.
Has anyone else experienced this problem?
And if so, is there a solution other than importing all objects into a
new db?
--
Bob Darlington
Brisbane


Nov 13 '05 #3
Create a new database and import the items one at a time. I know it's a pain
in the backside doing it that way, but one of the items (in my experience,
usually a form) is corrupted. Probably have to do it several times to find
the corrupt item. You may get away with importing all the tables and queries
at one hit.

HTH
Phil

"Bob Darlington" <bo*@dpcmanAX.c om.au> wrote in message
news:41******** *************** @news.optusnet. com.au...
Thanks Allen.
I tried decompile with no luck.

--
Bob Darlington
Brisbane
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:41******** *************** @per-qv1-newsreader-01.iinet.net.au ...
Decompile a copy of the database by entering something like this at the
command prompt while Access is not running. It is all one line, and
include the quotes:
"c:\Program Files\Microsoft office\office\m saccess.exe" /decompile
"c:\MyPath\MyDa tabase.mdb"

If that still doesn't work you could import everything into a new
database, as described in the first symptom in this article:
Recovering from Corruption
at:
http://members.iinet.net.au/~allenbrowne/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.

"Bob Darlington" <bo*@dpcmanAX.c om.au> wrote in message
news:41******** **************@ news.optusnet.c om.au...
Using Access 2002.
I have imported one form and two modules from another database, in order
to compare code.
Having finished the comparison, I cannot delete them.

When I press 'Delete', I get a message asking for confirmation 'Do you
want to permanently delete etc', I respond 'Yes' but the object remains.
No error message is generated.

If I try to open the object in design view, I get a message:
'The form 'formname' is misspelt or refers to a form that doesn't
exist.....'.

I presume the objects have become corrupted??

I have previously imported and deleted objects like this with no
problems at all.
Has anyone else experienced this problem?
And if so, is there a solution other than importing all objects into a
new db?
--
Bob Darlington
Brisbane



Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2628
by: Jelmer | last post by:
Hi I've been trying to create an addin similar to Find & Replace from Rick Fisher that looks thru your tables / queries / forms / modules etc.. for a reference to a string and optionally let's you replace it. In order to get this to work I need to get - the tablenames and columnnames - the queries in plaintext - the properties of a form and the properties of elements contained within it
1
1413
by: Primerov | last post by:
Is it possible to delete all the modules in a form ? For example from the click event of one form to delete all the modules in another form.
4
1855
by: sea | last post by:
I have a database in Access 2002 but I am unable to view code or write any modules when logged in with a limited user account using Windows XP, service pack 2 -- no problems when logging in as administrator, -- any ideas on how a limited user on Windows XP can access code and modules in Access 2002? Thank you very much.
3
5045
by: Ryan Liu | last post by:
Hi there, I got a NullReferenceException when delete last row in a datagrid. I had hard time to solve since it does not occur in my own code. I put a datagrid in my inherited user control, then put this control on a form. I use DataAdaptor to fill the data table and update database.
6
10680
by: Aaron Smith | last post by:
Ok. I have a dataset that has multiple tables in it. In one of the child tables, I have a column that I added to the DataSet (Not in the DataSource). This column does not need to be stored in the data on the datasource. It simply gets the first name and last name of an instructor and displays it in the grid. I have two major problems.... One, it doesn't display in the column until the row is saved, (Even after calling a refresh on the...
4
2259
by: Mark | last post by:
Good morning. I recently made some changes to my Access project, and I introduced some problems that I could not resolve. So I deleted the forms that I had altered and saved the project. Then I opened my backup copy of the project, and exported the affected forms to the working copy. Now when I invoke any event procedures in the affected forms, I receive the following error (this example is for a click event):
6
6579
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots of native code which is wrapped by the managed C++/CLI code A remark to this complicated structure: We are controlling hardware via
0
1954
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see math, mmap and readline modules, that worked fine before, cannot be built anymore.
0
1814
by: M.-A. Lemburg | last post by:
On 2008-10-25 20:19, Akira Kitada wrote: Thanks. The errors you are getting appear to be related to either some missing header files or a missing symbol definition to enable these - looking at the ticket, you seem to have resolved all this already :-)
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9843
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.