In order to use the "Me" reference in Access VBE and to have simpler, cleaner code, I moved some automation button code (Private Sub A1_Form_Re_send_Welcome_E_Mail_Only_Button_Click() ) from a standard module into its object in my main form class module. I saved it. I then removed the old standard module. When I re-entered the VBE, I noticed that my code was now on both the "(General)" object window and the "A1_Form_Re_send_Welcome_E_Mail_Only_Button" object window. When I deleted it from the "(General)" object window, it also deleted it from my button object window! I retrieved it, but...
Does the "(General)" object window show ALL the code in the form class module?
Why was it put in the "(General)" object window in the first place?
Does deleteing code in the "(General)" object window delete the code in the "[My Button Name]" object window?
Thanks for the enlightenment -
Frank
I'd suggest you ask this in the Access / VBA forum where you're likely to find more expertise with VBA.
If the interface is very much like the VB6 editor then you can switch between Procedure View, which shows just the procedure you're looking at (such as Button1_Click) and Full Module View, which shows all of the code in the module. In the latter case, you might get the impression that you're seeing the code in more than one place, because selecting a particular procedure just moves the text cursor there, without changing what's shown.
2 1368
I'd suggest you ask this in the Access / VBA forum where you're likely to find more expertise with VBA.
If the interface is very much like the VB6 editor then you can switch between Procedure View, which shows just the procedure you're looking at (such as Button1_Click) and Full Module View, which shows all of the code in the module. In the latter case, you might get the impression that you're seeing the code in more than one place, because selecting a particular procedure just moves the text cursor there, without changing what's shown.
Thanks, K-42,
I get it. I think I may have also had my cursor in the general declatrations (option explicit, etc.) and actual code sections at different times.
S.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Dave Smithz |
last post by:
Hi,
In summary:
I want to a form to submit information via a HTTP POST, however, when using
Internet Explorer I want to be able to use the back button and all the
information retained....
|
by: Andreas Suurkuusk |
last post by:
Hi,
I just noticed your post in the "C# memory problem: no end for our problem?"
thread.
In the post you implied that I do not how the garbage collector works and
that I mislead people. Since...
|
by: J. Muenchbourg |
last post by:
I cannot find anywhere in vs.net that shows me how to set up a form as a
start up object in my project. I'm trying an exercise in the PrepLogic
Xml manual, which wants me to set my form.vb as a...
|
by: Gufus |
last post by:
Hi Group...
<a name="#top"></a>
----del----
----del----
<img SRC="images/top.gif" USEMAP="#top" BORDER=0>
<map NAME="top">
|
by: spike |
last post by:
Im trying to write a program that should
read through a binary file searching for the character sequence "\name\"
Then it should read the characters following the "\name\" sequence
until a NULL...
|
by: Tolga |
last post by:
As far as I know, Perl is known as "there are many ways to do
something" and Python is known as "there is only one way". Could you
please explain this? How is this possible and is it *really* a...
|
by: Gregory Piñero |
last post by:
Just thought I'd see if you guys had an answer for this. My website
analytics page shows that people come to my site after searching for
"Python drive name" but I don't think I'm offering any help...
|
by: alxasa |
last post by:
Hello, I am hoping someone can help me with this. I need a javascript
function, which sits inside a <input type="text" name="firstname">
line of code. Now, if someone starts typing fine, but when...
|
by: Mac Campbell |
last post by:
For some unknown reason my mdb seemed to drop a module I had named "Utilities". I tried to copy the module back in from a backup copy and got the error message "<<MyProject>> is currently unable to...
|
by: mfglinux |
last post by:
Hello to everybody
I would like to know how to declare in python a "variable name" that
it is in turn a variable
In bash shell I would wrote sthg like:
for x in `seq 1 3`
do
M$i=Material(x)...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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: 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...
|
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,...
|
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...
| |