473,378 Members | 1,388 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,378 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 16239
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.