"Richard" <ri************@devenezia.comwrote in
news:11**********************@t69g2000cwt.googlegr oups.com:
What is the difference between
Me.Lastname
Me!Lastname
TIA
In theory, the dot refers to a property of an object, The bang
refers to a member of a collection.
In practice, controls on a form are considered like properties,
even though they are members of the form/report's controls
collection.
Use the dot except when it doesn't work About the only place I
can think of where it doesn't work is in a recordset when
referring to the fields by name.
rs1.fields("myField") and rs1!myfield will work.
rs1.myfield will trigger an error.
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com