Methods are procedures that act on objects. Most DAO objects have associated methods you can use to interact with the object in useful ways. Methods are similar to procedures that you create in your code, with the important distinction that methods are explicitly tied to an object, whereas your procedures can generally be called independent of a specific object.
Like a procedure, a method can return a value or return nothing. If the method returns a value, use the equal sign (=), as shown in the following syntax:
variable=object.method [arglist]
If the method doesn’t return a value, omit the variable, equal sign (=), and the parentheses surrounding the argument list, as follows:
object.method arglist