473,386 Members | 1,846 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,386 software developers and data experts.

What is Me! and how is it used?

What is Me! and how is it used? I am trying to convert an Access db to
an OpenOffice.org Base. I am new to programming and do not know what
the 'Me' operator is for or how it is used let alone what it's
equivalent in OOo.org Base is. Can anyone shed some light for me?
Thanks

Jan 16 '07 #1
7 1963
<ne*******@swva.netwrote
What is Me! and how is it used? I am trying to convert an Access db to
an OpenOffice.org Base. I am new to programming and do not know what
the 'Me' operator is for or how it is used let alone what it's
equivalent in OOo.org Base is. Can anyone shed some light for me?
"Me" refers to the currently active object in VBA class module code (a
Form's code or a Report's code is a class module), thus for a Form named
frmYours, with a TextBox named txtYours, "Me.txtYours" in the form's module
is equivalent to "Forms!frmYours.txtYours".

Larry Linson
Microsoft Access MVP
Jan 16 '07 #2
Thanks - that is helpful

Jan 16 '07 #3
"Larry Linson" <bo*****@localhost.notwrote in
news:Nb8rh.2712$hi7.1795@trnddc08:
"Me" refers to the currently active object in VBA class module
code
I see my campaign to get everybody to answer this question correctly
has worked. ;)

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jan 17 '07 #4
"David W. Fenton" <XX*******@dfenton.com.invalidwrote in message
news:Xn**********************************@127.0.0. 1...
"Larry Linson" <bo*****@localhost.notwrote in
news:Nb8rh.2712$hi7.1795@trnddc08:
>"Me" refers to the currently active object in VBA class module
code

I see my campaign to get everybody to answer this question correctly
has worked. ;)
Was there ever any other answer? ;-)

Keith.
Jan 17 '07 #5

"Keith Wilby" <he**@there.comwrote in message
news:45**********@glkas0286.greenlnk.net...
"David W. Fenton" <XX*******@dfenton.com.invalidwrote in message
news:Xn**********************************@127.0.0. 1...
>"Larry Linson" <bo*****@localhost.notwrote in
news:Nb8rh.2712$hi7.1795@trnddc08:
>>"Me" refers to the currently active object in VBA class module
code

I see my campaign to get everybody to answer this question correctly
has worked. ;)

Was there ever any other answer? ;-)
Yes, the most practical answer for most posters: "Me refers to the Form or
Report in whose module this shortcut is used." <;-) <Note the dunce cap
on my smiley>

I know there are situations where class modules can be helpful, but I have
never written a class module in Access other than as an experiment or demo.
David and others find them more useful than I do, and he is absolutely
correct that it is "class modules" rather than "Forms and Reports" only. If
I were "immersed in the object view", I'd probably be more interested in
DotNet and some other platforms than I am.

Larry
Jan 18 '07 #6
"Larry Linson" <bo*****@localhost.notwrote in
news:PSArh.3788$E35.2745@trnddc02:
I know there are situations where class modules can be helpful,
but I have never written a class module in Access other than as an
experiment or demo. David and others find them more useful than I
do, and he is absolutely correct that it is "class modules" rather
than "Forms and Reports" only. If I were "immersed in the object
view", I'd probably be more interested in DotNet and some other
platforms than I am.
But the VBE changed the presentation model, in that the form and
report class modules show up in the list in the VBE, not just
modules and class modules. This makes it easier to see that these
are variations of the same thing, and it's something that most
anyone who is using "Me" would be exposed to.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jan 18 '07 #7
Per ne*******@swva.net:
'Me' operator
Maybe I'm not getting all the posts in the thread, but from here it looks like
nobody has taken up the diff between Me! and Me. yet.

Or did I just miss that part?
--
PeteCresswell
Jan 19 '07 #8

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

Similar topics

0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
6
by: Zhang Weiwu | last post by:
Hello. I am working with a php software project, in it (www.egroupware.org) Chinese simplified locate is "zh" while Traditional Chinese "tw". I wish to send correct language attribute in http...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
2
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
4
by: Charles Law | last post by:
I've been using monitors a bit lately (some of you may have heard ;-) ) and then up pop Manual and AutoResetEvents , and they look for all the world like the same thing. Are they...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
11
by: Paul Brady | last post by:
Apparently, I have been living on the wrong planet. I have written 15 databases in Microsoft Access in the past 10 years, some of which are split, one uses ODBC interface with a SQL server, one...
89
by: Tubular Technician | last post by:
Hello, World! Reading this group for some time I came to the conclusion that people here are split into several fractions regarding size_t, including, but not limited to, * size_t is the...
32
by: Stephen Horne | last post by:
I've been using Visual C++ 2003 for some time, and recently started working on making my code compile in GCC and MinGW. I hit on lots of unexpected problems which boil down to the same template...
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: 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...
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...
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
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.