Re: When to use "." and when to use "!"
- From: "(PeteCresswell)" <x@xxxxxxxxx>
- Date: Mon, 03 Apr 2006 17:50:42 -0400
Per usenet@xxxxxxxxxx:
Why are there dots used in referring to object members in this case
but when referring to controls on forms (for example) one uses "!".
Surely there must be somewhere that helps one understand this basic
syntax.
Dunno about the Good-Right-And-Holy-Path, but what I do is use a dot when doing
so allows auto complete to find the property and bang otherwise.
i.e. I'd use Me.txtWhatever because as soon as I type .t, Access will pop a
list of control names. OTOH, I'd use Forms!frmFund!txtWhatever to refer to
the same control from outside of the form's frame of reference.
--
PeteCresswell
.
- References:
- When to use "." and when to use "!"
- From: usenet
- When to use "." and when to use "!"
- Prev by Date: Re: unknown message recipient(s)
- Next by Date: .enabled feature not available
- Previous by thread: Re: When to use "." and when to use "!"
- Next by thread: Re: When to use "." and when to use "!"
- Index(es):
Relevant Pages
|
Loading