The practical difference is the Access checks that Me.TotalParcels is valid
at compile time (when you type it), but Me!TotalParcels is not checked until
runtime. Consequently, I prefer to use Me.TotalParcels, so if I misspell a
name I discover my error I discover my error straight away, not later when
some poor user is told I stuffed up.
For a more detailed explanation, see Andy Baron's article:
Cleaner Coding: Bang vs Dot
at:
http://my.advisor.com/articles.nsf/aid/05352
There's one other case that's worth mentioning. Access matches these
expressions to either (a) a control (text box) on the form, or (b) a field
in the form's RecordSource (even if there's no text box with that name.) In
some cases, it stuffs up with (b), so don't every use the dot for (b.) I'd
suggest you don't use (b) at all, i.e. always put a text box on the form
(even if you hide it), as that avoids other problems also associated with
this AccessField type.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
.