When programming in VBA, it is good practice to use the period (.) when referring to object Properties or Methods, and the bang (!) when referring to members of a collection. A collection might be all open forms (e.g. Forms!Myform!....), all the controls on a form (e.g. Forms!Myform!txtFirstName or Me!FirstName), or all the fields in a recordset (e.g. rstCompany!Address1).Please explain in more detail this statement. It went right over my head.
MS Access can always interpret the ! correctly, and it usually can figure out what you are referring to if you use the period to refer to a form control or collection member, but not always, and you get an error that appears not to make sense (from personal experience!!).
You will find that if you adhere to that convention of the period for properties and methods, vs the bang for collection members, you can reduce errors. Not only that, when reading your code you will know what you are referring to.