Where might I get more information on the differences in the ! or the . (dot) operators in Access expressions?
The Access 2000 help is not very explicit!
Thank you in advance.
Chalmers H. Davis, Jr.
chalmers,
In general, the dot is for built-in Access objects, properties and methods, the bang is for user-defined properties, objects, and methods.
For example,with Forms.count, "count" is a built in propery, while the statement Forms!MyForm, "MyForm" is a user-defined object. And, Forms!MyForm.name --"Name" is a built in property, tho its for a user-defined object, Forms!MyForm!text1, "text1" is a user defined object of that form.
Now, don't be confused because Access 'lets' you use the dot instead of the bang for things like textboxes--Forms!MyForm!Text1 and Forms!MyForm.Text1 will both work, but see thread181-183150 for reasons why you should always use the bang for these objects.
--Jim
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.