473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to delete empty "Microsoft Access Class Object"

Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?

TIA

--
Georges
Nov 12 '05 #1
4 16241
Georges Heinesch <ne**@geohei.lu> wrote in news:40**********@news.vo.lu:
Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?

TIA


Right Click and choose Remove?

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
On Feb 02 2004, 07:19 am, Georges Heinesch <ne**@geohei.lu> wrote in
news:40**********@news.vo.lu:
Hi.

This question might seem trivial, but I didn't find any solution.

By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).

How can I delete the entry in the VBA editor?


Set the HasCode property of the form to False. That will get rid of any
code behind form.

--
(remove a 9 to reply by email)
Nov 12 '05 #3
Lyle Fairfield wrote:
Right Click and choose Remove?


"Remove subfrmTest" ist ghosted.
Not possible to select (why)?

--
Georges
Nov 12 '05 #4
Dimitri Furman wrote:
How can I delete the entry in the VBA editor?


Set the HasCode property of the form to False. That will get rid of any
code behind form.


Yes, that worked! Thanks a lot!
BTW, it's calles "Has Module".

--
Georges
Nov 12 '05 #5

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

Similar topics

24
by: Hung Jung Lu | last post by:
Hi, Does anybody know where this term comes from? "First-class object" means "something passable as an argument in a function call", but I fail to see the connection with "object class" or...
4
by: Jian H. Li | last post by:
Hello, What's the essential differences between the two ways of "class::member" & "object.member"(or object_pointer->member)? class C{ public: void f() {} int i; };
0
by: Gianni Mariani | last post by:
It started out as an ugly hack and it turned out to be very easy to do but I'm concerned about wether I'm not seeing somthing so I'm asking the wise ladies and gents of clc++ as to wether they turn...
5
by: Rob | last post by:
In many articles related to VB.net the word "class" is used... How many meanings are there to this word ? "possible to derived a class from another" "forms are full-fledged classes" "base...
10
by: JD | last post by:
Hi all Is it OK to have empty class attribute values, such as <href="url" class="">link</a> ?
9
by: axs221 | last post by:
I am trying to move some of our large VBA Access front-end file into ActiveX DLL files. I created two DLL files so far, one was a module that contains code to integrate into the QuickBooks...
5
by: Frederick Gotham | last post by:
If we have a simple class such as follows: #include <string> struct MyStruct { std::string member; MyStruct(unsigned const i) {
3
by: M26 | last post by:
I get this message while i'm trying to run Query1, then after I click ok, my previously saves Query1 is deleted. . . .. any ideas?
1
by: Fresno Bob | last post by:
Hi I'm creating a data access layer in which each object maps onto a database table. I will also be creating basic methods that return the object by primaryid and perform insert and update...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.