[AccessD] Poll: Late vs. Early Binding

Charlotte Foust cfoust at infostatsystems.com
Wed Apr 9 11:29:58 CDT 2003


Sometimes late binding is necessary to handle possible reference
problems, but it's always easier to write code using early binding,
regardless of your level of expertise.

Charlotte Foust

-----Original Message-----
From: Mitsules, Mark [mailto:mitsules_ms at nns.com] 
Sent: Wednesday, April 09, 2003 8:16 AM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] Poll: Late vs. Early Binding


Bryan,

Perhaps I could have said re-code rather than re-write, but your
response more closely answers the question I was NOT asking, which
was... Do the members of this group utilize the IDE advantages of early
binding whenever possible while coding or is the expertise at a level
where the advantages are negligible.

Thank you,

Mark


-----Original Message-----
From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] 
Sent: Wednesday, April 09, 2003 12:05 PM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Poll: Late vs. Early Binding


I don't know if it is common practice, but I usually write code using
early binding, If I am writing for a specific application version, then
I leave it as early bound. Otherwise I switch to late binding.

You shouldn't have to rewrite any code when switching. All you should
have to do is switch your DIMs to objects and derefernce the libraries.

You may also have to create your own constants for some of the built in
constants from the referenced libraries, but a wholesale rewrite
shouldn't be necessary.

Right or wrong, this is what works for me.

Bryan Carbonnell
bryan_carbonnell at cbc.ca

>>> mitsules_ms at nns.com 09-Apr-03 11:43:13 AM >>>
Is it a common practice to first code using early binding, then, after
debugging is complete, re-write using late binding?


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list