[AccessD] more on early versus late binding

Susan Harkins ssharkins at bellsouth.net
Mon Jul 12 13:55:50 CDT 2004


> 
> My question is -- does checking a reference or modifying a reference 
> using the Reference object and its many properties and methods fall 
> into either category?

No.

>From a Knowledge Base article on Access:

     "Dim objAccess As Access.Application"
     This type of declaration is called early binding, which is fastest.

The article's example of late binding is

          Dim objAccess As Object

"Binding" refers to binding a variable to an object. Setting a reference
tells your code where a predefined class can be found. Of course, you've got
to set a reference to do early binding, so the two tend to get mixed
together.

===========Interesting take -- the terminology's the thing... :) So, the
References collection and Reference objects are just explicit referencing --
nothing to do with binding other than it enables early binding -- OK. 

Susan H. 




More information about the AccessD mailing list